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.1-impl",
12    stem: "android.hardware.boot@1.0-impl-1.1",
13    defaults: [
14        "hidl_defaults",
15        "libboot_control_defaults",
16    ],
17    relative_install_path: "hw",
18    vendor: true,
19    recovery_available: true,
20    srcs: ["BootControl.cpp"],
21
22    shared_libs: [
23        "liblog",
24        "libhidlbase",
25        "libhardware",
26        "libutils",
27        "android.hardware.boot@1.0",
28        "android.hardware.boot@1.1",
29    ],
30    static_libs: [
31        "libboot_control",
32        "libfstab",
33    ],
34}
35
36cc_binary {
37    name: "android.hardware.boot@1.1-service",
38    defaults: ["hidl_defaults"],
39    relative_install_path: "hw",
40    vendor: true,
41    init_rc: ["android.hardware.boot@1.1-service.rc"],
42    srcs: ["service.cpp"],
43
44    vintf_fragments: [
45        "android.hardware.boot@1.1.xml",
46    ],
47
48    shared_libs: [
49        "liblog",
50        "libhardware",
51        "libhidlbase",
52        "libutils",
53        "android.hardware.boot@1.0",
54        "android.hardware.boot@1.1",
55    ],
56
57}
58