2aa19dcb59
The marked library(ies) were available to the APEXes via the hand-written whitelist in build/soong/apex/apex.go. Trying to remove the whitelist by adding apex_available property to the Android.bp of the libraries. Bug: 150999716 Test: m Change-Id: I6ea7fee2a135298085d3965d3578d9ecd53ee405
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
// ========================================================
|
|
// libasync_safe.a
|
|
// ========================================================
|
|
cc_library_static {
|
|
defaults: ["libc_defaults"],
|
|
srcs: [
|
|
"async_safe_log.cpp",
|
|
],
|
|
|
|
name: "libasync_safe",
|
|
vendor_available: true,
|
|
recovery_available: true,
|
|
native_bridge_supported: true,
|
|
|
|
include_dirs: ["bionic/libc"],
|
|
header_libs: ["libc_headers", "liblog_headers"],
|
|
|
|
export_include_dirs: ["include"],
|
|
export_header_lib_headers: ["liblog_headers"],
|
|
stl: "none",
|
|
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.runtime",
|
|
"com.android.art.debug",
|
|
"com.android.art.release",
|
|
"com.android.media",
|
|
"com.android.media.swcodec",
|
|
],
|
|
}
|
|
|
|
cc_library_headers {
|
|
name: "libasync_safe_headers",
|
|
ramdisk_available: true,
|
|
recovery_available: true,
|
|
native_bridge_supported: true,
|
|
defaults: ["linux_bionic_supported"],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
system_shared_libs: [],
|
|
stl: "none",
|
|
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.runtime",
|
|
],
|
|
}
|