summaryrefslogtreecommitdiff
path: root/BUILD.bazel
blob: 04b71d5baab91bbeb8797af963da2232fb74e1b7 (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
33
34
35
36
37
38
39
40
41
42
# 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/kernel/kleaf:kernel.bzl", "kernel_module")

filegroup(
    name = "reset.kconfig",
    srcs = glob([
        "Kconfig",
    ]),
    visibility = [
        "//private/google-modules/soc/gs:__pkg__",
    ],
)

kernel_module(
    name = "reset.slider",
    srcs = glob([
        "**/*.c",
        "**/*.h",
        "Kbuild",
    ]) + [
        "//private/google-modules/bms:headers",
        "//private/google-modules/soc/gs:gs101_soc_headers",
    ],
    outs = [
        "exynos-reboot.ko",
    ],
    kernel_build = "//private/google-modules/soc/gs:slider",
    visibility = [
        "//private/google-modules/soc/gs:__pkg__",
    ],
    deps = [
        "//private/google-modules/bms:bms.slider",
        "//private/google-modules/soc/gs:gs101_soc",
    ],
)