summaryrefslogtreecommitdiff
path: root/BUILD.bazel
blob: 59aafec02fa758f6afed7581bd767e3678462487 (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
31
32
# 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.slider",
    srcs = glob([
        "**/*.c",
        "**/*.h",
        "Kbuild",
    ]) + [
        "//gs/google-modules/bms:headers",
        "//gs/google-modules/soc-modules:gs101_soc_headers",
    ],
    outs = [
        "exynos-reboot.ko",
    ],
    kernel_build = "//gs/google-modules/soc-modules:slider",
    kernel_module_deps = [
        "//gs/google-modules/bms:bms.slider",
        "//gs/google-modules/soc-modules:gs101_soc",
    ],
    visibility = [
        "//gs/google-modules/soc-modules:__pkg__",
    ],
)