1cc_library_shared {
2    name: "android.hardware.boot@1.0-impl",
3    defaults: ["hidl_defaults"],
4    relative_install_path: "hw",
5    vendor: true,
6    recovery_available: true,
7    srcs: ["BootControl.cpp"],
8
9    shared_libs: [
10        "liblog",
11        "libhidlbase",
12        "libhardware",
13        "libutils",
14        "android.hardware.boot@1.0",
15    ],
16
17}
18
19cc_binary {
20    name: "android.hardware.boot@1.0-service",
21    defaults: ["hidl_defaults"],
22    relative_install_path: "hw",
23    vendor: true,
24    init_rc: ["android.hardware.boot@1.0-service.rc"],
25    srcs: ["service.cpp"],
26
27    shared_libs: [
28        "liblog",
29        "libhardware",
30        "libhidlbase",
31        "libutils",
32        "android.hardware.boot@1.0",
33    ],
34
35}
36