xref: /aosp_15_r20/system/extras/boot_control_copy/Android.bp (revision 288bf5226967eb3dac5cce6c939ccc2a7f2b4fe5)
1*288bf522SAndroid Build Coastguard Worker// Copyright 2015 The Android Open Source Project
2*288bf522SAndroid Build Coastguard Worker
3*288bf522SAndroid Build Coastguard Workerpackage {
4*288bf522SAndroid Build Coastguard Worker    default_applicable_licenses: ["system_extras_boot_control_copy_license"],
5*288bf522SAndroid Build Coastguard Worker}
6*288bf522SAndroid Build Coastguard Worker
7*288bf522SAndroid Build Coastguard Worker// Added automatically by a large-scale-change
8*288bf522SAndroid Build Coastguard Worker// See: http://go/android-license-faq
9*288bf522SAndroid Build Coastguard Workerlicense {
10*288bf522SAndroid Build Coastguard Worker    name: "system_extras_boot_control_copy_license",
11*288bf522SAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
12*288bf522SAndroid Build Coastguard Worker    license_kinds: [
13*288bf522SAndroid Build Coastguard Worker        "SPDX-license-identifier-Apache-2.0",
14*288bf522SAndroid Build Coastguard Worker    ],
15*288bf522SAndroid Build Coastguard Worker    license_text: [
16*288bf522SAndroid Build Coastguard Worker        "NOTICE",
17*288bf522SAndroid Build Coastguard Worker    ],
18*288bf522SAndroid Build Coastguard Worker}
19*288bf522SAndroid Build Coastguard Worker
20*288bf522SAndroid Build Coastguard Workercc_library_shared {
21*288bf522SAndroid Build Coastguard Worker    name: "bootctrl.copy",
22*288bf522SAndroid Build Coastguard Worker    relative_install_path: "hw",
23*288bf522SAndroid Build Coastguard Worker
24*288bf522SAndroid Build Coastguard Worker    srcs: [
25*288bf522SAndroid Build Coastguard Worker        "boot_control_copy.cpp",
26*288bf522SAndroid Build Coastguard Worker        "bootinfo.cpp",
27*288bf522SAndroid Build Coastguard Worker    ],
28*288bf522SAndroid Build Coastguard Worker    cflags: [
29*288bf522SAndroid Build Coastguard Worker        "-Wall",
30*288bf522SAndroid Build Coastguard Worker        "-Werror",
31*288bf522SAndroid Build Coastguard Worker        "-Wno-missing-field-initializers",
32*288bf522SAndroid Build Coastguard Worker        "-Wno-unused-parameter",
33*288bf522SAndroid Build Coastguard Worker    ],
34*288bf522SAndroid Build Coastguard Worker    header_libs: ["bootimg_headers"],
35*288bf522SAndroid Build Coastguard Worker    shared_libs: [
36*288bf522SAndroid Build Coastguard Worker        "libbase",
37*288bf522SAndroid Build Coastguard Worker        "libcutils",
38*288bf522SAndroid Build Coastguard Worker    ],
39*288bf522SAndroid Build Coastguard Worker    static_libs: [
40*288bf522SAndroid Build Coastguard Worker        "libfs_mgr",
41*288bf522SAndroid Build Coastguard Worker    ],
42*288bf522SAndroid Build Coastguard Worker}
43