summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.bazel30
1 files changed, 30 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..3c29912
--- /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.cloudripper",
+ srcs = glob([
+ "**/*.c",
+ "**/*.h",
+ "Kbuild",
+ ]) + [
+ "//private/google-modules/bms:headers",
+ ],
+ outs = [
+ "exynos-reboot.ko",
+ ],
+ kernel_build = "//private/gs-google:cloudripper",
+ kernel_module_deps = [
+ "//private/google-modules/bms:bms.cloudripper",
+ ],
+ visibility = [
+ "//private/gs-google:__pkg__",
+ ],
+)