235942389f
* Remove unused local variables and function. * Fix unused return value warning. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I269eca76cda2222c7a0176e85e92df0bb0924a0e
51 lines
1,008 B
Text
51 lines
1,008 B
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"],
|
|
vendor_available: true,
|
|
}
|
|
|
|
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"],
|
|
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
support_system_process: true,
|
|
},
|
|
}
|
|
|
|
subdirs = [
|
|
"modules/*",
|
|
"tests/*",
|
|
]
|