summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-07-01 19:58:40 -0700
committerYifan Hong <elsk@google.com>2021-09-17 15:54:56 -0700
commit6af35b8a35404ce4b49812a8f1b2f59b1f683942 (patch)
tree091c6daa6ec7526479a14ac2a0330d491a01922b
parentfe46d087fd6d4d9aa1e1bb366ea088aaa1622f6d (diff)
downloadsec_touch-6af35b8a35404ce4b49812a8f1b2f59b1f683942.tar.gz
Kleaf: add touch sec kernel module
Bug: 192617687 Test: builds Bug: 197995714 Change-Id: I7e043507e2bd3dd90a913eeb282a389eb1c566e0
-rw-r--r--BUILD.bazel31
1 files changed, 31 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..9c04525
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,31 @@
+# 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 = "sec.slider",
+ srcs = glob([
+ "**/*.c",
+ "**/*.h",
+ "Kbuild",
+ ]) + [
+ "//private/google-modules/touch/common:headers",
+ "//private/google-modules/display/samsung:headers",
+ ],
+ outs = [
+ "sec_touch.ko",
+ ],
+ kernel_build = "//private/gs-google:slider",
+ kernel_module_deps = [
+ "//private/google-modules/touch/common:common.slider",
+ ],
+ visibility = [
+ "//private/gs-google:__pkg__",
+ ],
+)