diff options
author | Will McVicker <willmcvicker@google.com> | 2022-11-03 16:28:32 -0700 |
---|---|---|
committer | Will McVicker <willmcvicker@google.com> | 2022-12-19 13:46:17 -0800 |
commit | 3df759796c36d683f65f9ddcecbe8f68bae11852 (patch) | |
tree | d41e2708a0be0bcfb6165895a04383c5b1d12f68 | |
parent | 929042f4a335a497a88c3f97785749f5e8d6817d (diff) | |
download | nfc-android-gs-shusky-5.15-android14-qpr2.tar.gz |
kleaf: switch to generic label_flagsandroid-u-qpr2-beta-3_r0.8android-u-qpr2-beta-3.1_r0.8android-u-qpr2-beta-2_r0.8android-u-qpr2-beta-1_r0.7android-u-qpr1-beta-2_r0.8android-u-qpr1-beta-2.2_r0.7android-u-qpr1-beta-2.1_r0.8android-14.0.0_r0.81android-14.0.0_r0.80android-14.0.0_r0.8android-14.0.0_r0.77android-14.0.0_r0.67android-14.0.0_r0.57android-14.0.0_r0.45android-14.0.0_r0.38android-14.0.0_r0.26android-14.0.0_r0.18main-16k-gs-shusky-5.15android-gs-shusky-udc-d1android-gs-shusky-5.15-u-qpr1-beta2android-gs-shusky-5.15-android14-qpr2-betaandroid-gs-shusky-5.15-android14-qpr2android-gs-shusky-5.15-android14-qpr1-betaandroid-gs-shusky-5.15-android14-qpr1android-gs-shusky-5.15-android14-d1android-gs-akita-5.15-android14-d2
To allow for this project to be shared by multiple devices, let's switch
to generic labels for the kernel_build, SoC module, and SoC headers. The
flags are defined by the specific flags in their top-level bazel build
file.
Bug: 257343887
Change-Id: Ie1a50cda044813e7328a260158801b270341be72
Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r-- | BUILD.bazel | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index c7324fc..0160167 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,33 +1,28 @@ -# 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 load("//build/kernel/kleaf:kernel.bzl", "kernel_module") kernel_module( - name = "nfc.slider", + name = "nfc", srcs = glob([ "**/*.c", "**/*.h", "Kbuild", "ese/Kbuild", ]) + [ - "//private/google-modules/soc/gs:gs101_soc_headers", + "//private/google-modules/soc/gs:gs_soc_headers", ], outs = [ "ese/st33spi.ko", "ese/st54spi.ko", "st21nfc.ko", ], - kernel_build = "//private/google-modules/soc/gs:slider", - kernel_module_deps = [ - "//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/soc/gs:gs_soc_module", + ], ) |