pinweaver: Export files for ti50 bazel build.
BUG=b:292140485
TEST=bazel build -c opt --platforms=//platform/ti50/common/platforms:dauntless
--verbose_failures //platform/ti50/common/libs/pinweaver-sys
Change-Id: Ie431ab127d0edcb0c8126cd34a5465ce88aec834
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pinweaver/+/4704215
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Howard Yang <hcyang@google.com>
Tested-by: Brian Granaghan <granaghan@google.com>
Commit-Queue: Brian Granaghan <granaghan@google.com>
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..c83a280
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,28 @@
+# Copyright 2023 The ChromiumOS Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+package(default_visibility = ["//visibility:public"])
+
+filegroup(
+ name = "pinweaver_srcs",
+ srcs = [
+ ":pinweaver.c",
+ ],
+)
+
+filegroup(
+ name = "pinweaver_api",
+ srcs = [
+ ":pinweaver.h",
+ ],
+)
+
+filegroup(
+ name = "pinweaver_hdrs",
+ srcs = [
+ ":pinweaver_api",
+ ":pinweaver_eal.h",
+ ":pinweaver_types.h",
+ ],
+)
diff --git a/pinweaver.h b/pinweaver.h
index da76a76..4355fa6 100644
--- a/pinweaver.h
+++ b/pinweaver.h
@@ -18,7 +18,7 @@
#define __packed __attribute__((packed))
#endif
-#include <pinweaver_types.h>
+#include "pinweaver_types.h"
#ifdef __cplusplus
extern "C" {