diff options
-rw-r--r-- | BUILD.bazel | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 1e2e93f..ce3305e 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,10 +1,4 @@ -# 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. +# SPDX-License-Identifier: GPL-2.0-or-later load("//build/kernel/kleaf:kernel.bzl", "kernel_module") @@ -14,12 +8,13 @@ filegroup( "Kconfig", ]), visibility = [ + "//private/devices/google:__subpackages__", "//private/google-modules/soc/gs:__pkg__", ], ) kernel_module( - name = "reset.slider", + name = "reset", srcs = glob([ "**/*.c", "**/*.h", @@ -27,17 +22,18 @@ kernel_module( ]) + [ "//private/google-modules/bms/misc:headers", "//private/google-modules/bms:headers", - "//private/google-modules/soc/gs:gs101_soc_headers", + "//private/google-modules/soc/gs:gs_soc_headers", ], outs = [ "exynos-reboot.ko", ], - kernel_build = "//private/google-modules/soc/gs:slider", - kernel_module_deps = [ - "//private/google-modules/bms:bms.slider", - "//private/google-modules/soc/gs:gs101_soc", - ], + kernel_build = "//private/google-modules/soc/gs:gs_kernel_build", visibility = [ + "//private/devices/google:__subpackages__", "//private/google-modules/soc/gs:__pkg__", ], + deps = [ + "//private/google-modules/bms", + "//private/google-modules/soc/gs:gs_soc_module", + ], ) |