1soong_namespace {
2}
3
4package {
5    default_applicable_licenses: ["hardware_qcom_bootctrl_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11    name: "hardware_qcom_bootctrl_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-BSD",
15    ],
16    license_text: [
17        "NOTICE",
18    ],
19}
20
21filegroup {
22    name: "bootctrl_hal_src",
23    srcs: [
24        "boot_control.cpp",
25    ],
26}
27
28cc_defaults {
29    name: "bootctrl_hal_defaults",
30    proprietary: true,
31    recovery_available: true,
32    header_libs: [
33        "libhardware_headers",
34        "libsystem_headers",
35    ],
36    shared_libs: [
37        "libcutils",
38        "liblog",
39        "libz",
40    ],
41    owner: "qti",
42    relative_install_path: "hw",
43    cflags: [
44        "-Wall",
45        "-Werror",
46    ],
47    srcs: [
48        ":bootctrl_hal_src",
49    ],
50
51}
52