diff options
author | Yifan Hong <elsk@google.com> | 2021-07-01 19:58:15 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2021-09-17 15:54:56 -0700 |
commit | f0f54c02834c5515014659794cbb13dd8ad331d4 (patch) | |
tree | da304cbd7fa3f6a333d78b0c8c34f68d9fc3d4b6 | |
parent | cabb3d043ac6ea5e6e65e91ac6a6f38b4a155602 (diff) | |
download | reset-f0f54c02834c5515014659794cbb13dd8ad331d4.tar.gz |
Kleaf: add power_reset kernel module.
Bug: 192617687
Test: builds
Bug: 197995714
Change-Id: I1cc5fdfd51b628e96e8b8da92bfd3bbb99731cba
-rw-r--r-- | BUILD.bazel | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 0000000..b15a433 --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,30 @@ +# 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 = "reset.slider", + srcs = glob([ + "**/*.c", + "**/*.h", + "Kbuild", + ]) + [ + "//private/google-modules/bms:headers", + ], + outs = [ + "exynos-reboot.ko", + ], + kernel_build = "//private/gs-google:slider", + kernel_module_deps = [ + "//private/google-modules/bms:bms.slider", + ], + visibility = [ + "//private/gs-google:__pkg__", + ], +) |