summaryrefslogtreecommitdiff
path: root/BUILD.bazel
blob: b93162eb001b1cfb80a0e07176d109422cfee9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 = "broadcom.slider",
    srcs = glob([
        "**/*.c",
        "**/*.h",
        "Kbuild",
    ]) + [
        "//gs/google-modules/soc-modules:gs101_soc_headers",
    ],
    outs = [
        "nitrous.ko",
    ],
    kernel_build = "//gs/google-modules/soc-modules:slider",
    kernel_module_deps = [
        "//gs/google-modules/soc-modules:gs101_soc",
    ],
    visibility = [
        "//gs/google-modules/soc-modules:__pkg__",
    ],
)