xref: /aosp_15_r20/hardware/interfaces/boot/1.2/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    stem: "[email protected]",
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        "libbase",
24        "liblog",
25        "libhidlbase",
26        "libhardware",
27        "libutils",
28        "[email protected]",
29        "[email protected]",
30        "[email protected]",
31    ],
32    static_libs: [
33        "libboot_control",
34        "libfstab",
35    ],
36}
37
38cc_binary {
39    name: "[email protected]",
40    defaults: ["hidl_defaults"],
41    relative_install_path: "hw",
42    vendor: true,
43    init_rc: ["[email protected]"],
44    srcs: ["service.cpp"],
45
46    vintf_fragments: [
47        "[email protected]",
48    ],
49
50    shared_libs: [
51        "liblog",
52        "libhardware",
53        "libhidlbase",
54        "libutils",
55        "[email protected]",
56        "[email protected]",
57        "[email protected]",
58    ],
59
60}
61