upload android base code part4
This commit is contained in:
parent
b9e30e05b1
commit
78ea2404cd
23455 changed files with 5250148 additions and 0 deletions
45
android/hardware/libhardware/Android.bp
Normal file
45
android/hardware/libhardware/Android.bp
Normal file
|
@ -0,0 +1,45 @@
|
|||
// Copyright 2006 The Android Open Source Project
|
||||
|
||||
cc_library_headers {
|
||||
name: "libhardware_headers",
|
||||
header_libs: [
|
||||
"libaudio_system_headers",
|
||||
"libsystem_headers",
|
||||
"libcutils_headers",
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
"libaudio_system_headers",
|
||||
"libsystem_headers",
|
||||
"libcutils_headers",
|
||||
],
|
||||
|
||||
export_include_dirs: ["include"],
|
||||
vendor_available: true,
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libhardware",
|
||||
|
||||
srcs: ["hardware.c"],
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"liblog",
|
||||
"libdl",
|
||||
"libvndksupport",
|
||||
],
|
||||
cflags: ["-DQEMU_HARDWARE"],
|
||||
|
||||
header_libs: ["libhardware_headers"],
|
||||
export_header_lib_headers: ["libhardware_headers"],
|
||||
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
support_system_process: true,
|
||||
},
|
||||
}
|
||||
|
||||
subdirs = [
|
||||
"modules/*",
|
||||
"tests/*",
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue