xref: /aosp_15_r20/hardware/interfaces/boot/1.0/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10cc_library_shared {
11    name: "[email protected]",
12    defaults: ["hidl_defaults"],
13    relative_install_path: "hw",
14    vendor: true,
15    recovery_available: true,
16    srcs: ["BootControl.cpp"],
17
18    shared_libs: [
19        "liblog",
20        "libhidlbase",
21        "libhardware",
22        "libutils",
23        "[email protected]",
24    ],
25
26}
27
28cc_binary {
29    name: "[email protected]",
30    defaults: ["hidl_defaults"],
31    relative_install_path: "hw",
32    vendor: true,
33    init_rc: ["[email protected]"],
34    srcs: ["service.cpp"],
35
36    shared_libs: [
37        "liblog",
38        "libhardware",
39        "libhidlbase",
40        "libutils",
41        "[email protected]",
42    ],
43
44}
45