summaryrefslogtreecommitdiff
path: root/BUILD.bazel
blob: d5418ca1bb0b21e8cab3cb698b8d1d636dd6f46a (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
43
44
45
# 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")

filegroup(
    name = "headers",
    srcs = glob([
        "*.h",
    ]),
    visibility = [
        "//private/google-modules/power/reset:__subpackages__",
    ],
)

kernel_module(
    name = "bms.cloudripper",
    outs = [
        "google-battery.ko",
        "google-bms.ko",
        "google-charger.ko",
        "google-cpm.ko",
        "google_dock.ko",
        "google_dual_batt_gauge.ko",
        "max1720x-battery.ko",
        "max20339.ko",
        "max77729-pmic.ko",
        "max77729_charger.ko",
        "max77729_uic.ko",
        "max77759_charger.ko",
        "overheat_mitigation.ko",
        "p9221.ko",
        "pca9468.ko",
    ],
    kernel_build = "//private/gs-google:cloudripper",
    visibility = [
        "//private/google-modules/power/reset:__subpackages__",
        "//private/gs-google:__pkg__",
    ],
)