3ba7298e95
* Remove unused local variable or suppress the warning. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I4d7b4f2e9e7e6c60d8bfc209f47e6f1d33720165
62 lines
1.1 KiB
Text
62 lines
1.1 KiB
Text
// Copyright 2006 The Android Open Source Project
|
|
|
|
subdirs = [
|
|
"audio",
|
|
]
|
|
|
|
cc_library_headers {
|
|
name: "libhardware_legacy_headers",
|
|
vendor_available: true,
|
|
export_include_dirs: ["include"],
|
|
|
|
header_libs: ["libcutils_headers"],
|
|
export_header_lib_headers: ["libcutils_headers"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libpower",
|
|
|
|
srcs: ["power.c"],
|
|
cflags: ["-Wall", "-Werror"],
|
|
export_include_dirs: ["include"],
|
|
shared_libs: ["libcutils", "liblog"],
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libhardware_legacy",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
|
|
shared_libs: [
|
|
"libbase",
|
|
"libdl",
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
|
|
header_libs: [
|
|
"libhardware_legacy_headers",
|
|
],
|
|
export_header_lib_headers: ["libhardware_legacy_headers"],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
cflags: [
|
|
"-DQEMU_HARDWARE",
|
|
"-Wall",
|
|
"-Werror",
|
|
"-Wno-unused-parameter",
|
|
"-Wno-gnu-designator",
|
|
],
|
|
|
|
srcs: [
|
|
"power.c",
|
|
"uevent.c",
|
|
],
|
|
}
|