summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-07-01 19:57:01 -0700
committerYifan Hong <elsk@google.com>2021-09-03 13:17:39 -0700
commit4c5cb689ab259e1bc6251077a63b938856c8caa9 (patch)
tree140c7da9b1917d5d088c194858b57abe2d6169b0
parent1f88df31f141efe1857c96b1dd28d527691013cf (diff)
downloadnfc-4c5cb689ab259e1bc6251077a63b938856c8caa9.tar.gz
Kleaf: build NFC kernel module for cloudripper
Bug: 192617687 Test: builds Change-Id: I519912919c8f169a8424bdc8072cbe03961bfc22
-rw-r--r--BUILD.bazel22
1 files changed, 22 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..fe1f593
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,22 @@
+# NOTE: THIS FILE IS EXPERIMENTAL FOR THE BAZEL MIGRATION AND NOT USED FOR
+# YOUR BUILDS CURRENTLY.
+#
+# It is not yet the source of truth for your build. If you're looking to modify
+# the build file, modify the Android.bp file instead. Do *not* modify this file
+# unless you have coordinated with the team managing the Soong to Bazel
+# migration.
+
+load("//build/kleaf:kernel.bzl", "kernel_module")
+
+kernel_module(
+ name = "nfc.cloudripper",
+ outs = [
+ "ese/st33spi.ko",
+ "ese/st54spi.ko",
+ "st21nfc.ko",
+ ],
+ kernel_build = "//private/gs-google:cloudripper",
+ visibility = [
+ "//private/gs-google:__pkg__",
+ ],
+)