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: "android.hardware.boot@1.0-impl",
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        "android.hardware.boot@1.0",
24    ],
25
26}
27
28cc_binary {
29    name: "android.hardware.boot@1.0-service",
30    defaults: ["hidl_defaults"],
31    relative_install_path: "hw",
32    vendor: true,
33    init_rc: ["android.hardware.boot@1.0-service.rc"],
34    srcs: ["service.cpp"],
35
36    shared_libs: [
37        "liblog",
38        "libhardware",
39        "libhidlbase",
40        "libutils",
41        "android.hardware.boot@1.0",
42    ],
43
44}
45