551e1f7bd9
The default boot ctrl implementation depends on libhardware. Bug: 78793464 Test: Compiles, can load bootctrl in recovery Change-Id: I9c8aa8b00b9b81f11736de13c85973e113056e69
62 lines
1.3 KiB
Text
62 lines
1.3 KiB
Text
// Copyright 2006 The Android Open Source Project
|
|
|
|
cc_library_headers {
|
|
name: "libhardware_headers",
|
|
header_libs: [
|
|
"libaudio_system_headers",
|
|
"libsystem_headers",
|
|
"libcutils_headers",
|
|
"libbluetooth-types-header",
|
|
],
|
|
export_header_lib_headers: [
|
|
"libaudio_system_headers",
|
|
"libsystem_headers",
|
|
"libcutils_headers",
|
|
"libbluetooth-types-header",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
recovery_available: true,
|
|
vendor_available: true,
|
|
target: {
|
|
recovery: {
|
|
exclude_header_libs: [
|
|
"libaudio_system_headers",
|
|
"libbluetooth-types-header",
|
|
],
|
|
},
|
|
},
|
|
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libhardware",
|
|
|
|
srcs: ["hardware.c"],
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
"libdl",
|
|
"libvndksupport",
|
|
],
|
|
cflags: [
|
|
"-DQEMU_HARDWARE",
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
|
|
header_libs: ["libhardware_headers"],
|
|
export_header_lib_headers: ["libhardware_headers"],
|
|
|
|
recovery_available: true,
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
support_system_process: true,
|
|
},
|
|
target: {
|
|
recovery: {
|
|
exclude_shared_libs: ["libvndksupport"],
|
|
},
|
|
},
|
|
}
|