diff options
author | Will McVicker <willmcvicker@google.com> | 2023-04-03 14:22:00 -0700 |
---|---|---|
committer | Will McVicker <willmcvicker@google.com> | 2023-04-03 14:22:00 -0700 |
commit | bbb96712b839f850f155b82c69dc41f257b42823 (patch) | |
tree | 7ff58d2bf2dc36d167f202db128aa8b16464dd5a | |
parent | 9b48d96646560cd4de9664af493b163d7fdf251a (diff) | |
download | broadcom-android14-gs-pixel-6.1.tar.gz |
kleaf: add support for generic build labelsandroid14-gs-pixel-6.1
Switch to using generic build labels so that this module can be built
with multiple different device variants.
Change-Id: I463ed045702f874edeeaa4f28960b4448dfcfc5a
Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r-- | BUILD.bazel | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 7cbd40b..284adfd 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,30 +1,24 @@ -# 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") kernel_module( - name = "broadcom.slider", + name = "bluetooth.broadcom", srcs = glob([ "**/*.c", "**/*.h", "Kbuild", ]) + [ - "//private/google-modules/soc/gs:gs101_soc_headers", + "//private/google-modules/soc/gs:gs_soc_headers", ], outs = [ "nitrous.ko", ], - kernel_build = "//private/google-modules/soc/gs:slider", + kernel_build = "//private/google-modules/soc/gs:gs_kernel_build", visibility = [ "//private/google-modules/soc/gs:__pkg__", ], deps = [ - "//private/google-modules/soc/gs:gs101_soc", + "//private/google-modules/soc/gs:gs_soc_module", ], ) |