Merge "Add vendor_available to liblog_headers."
This commit is contained in:
commit
f42d02830d
2 changed files with 23 additions and 5 deletions
|
@ -42,6 +42,24 @@ liblog_target_sources = [
|
|||
"logd_writer.c",
|
||||
]
|
||||
|
||||
cc_library_headers {
|
||||
name: "liblog_headers",
|
||||
host_supported: true,
|
||||
vendor_available: true,
|
||||
export_include_dirs: ["include"],
|
||||
target: {
|
||||
windows: {
|
||||
enabled: true,
|
||||
},
|
||||
linux_bionic: {
|
||||
enabled: true,
|
||||
},
|
||||
vendor: {
|
||||
export_include_dirs: ["include_vndk"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
// Shared and static library for host and device
|
||||
// ========================================================
|
||||
cc_library {
|
||||
|
@ -81,7 +99,8 @@ cc_library {
|
|||
},
|
||||
},
|
||||
|
||||
export_include_dirs: ["include"],
|
||||
header_libs: ["liblog_headers"],
|
||||
export_header_lib_headers: ["liblog_headers"],
|
||||
|
||||
cflags: [
|
||||
"-Werror",
|
||||
|
@ -100,7 +119,7 @@ cc_library {
|
|||
}
|
||||
|
||||
ndk_headers {
|
||||
name: "liblog_headers",
|
||||
name: "liblog_ndk_headers",
|
||||
from: "include/android",
|
||||
to: "android",
|
||||
srcs: ["include/android/log.h"],
|
||||
|
|
|
@ -18,10 +18,12 @@ cc_library_headers {
|
|||
host_supported: true,
|
||||
|
||||
header_libs: [
|
||||
"liblog_headers",
|
||||
"libsystem_headers",
|
||||
"libcutils_headers"
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
"liblog_headers",
|
||||
"libsystem_headers",
|
||||
"libcutils_headers"
|
||||
],
|
||||
|
@ -79,9 +81,6 @@ cc_library {
|
|||
shared_libs: [
|
||||
"liblog",
|
||||
],
|
||||
export_shared_lib_headers: [
|
||||
"liblog",
|
||||
],
|
||||
|
||||
arch: {
|
||||
mips: {
|
||||
|
|
Loading…
Reference in a new issue