Merge "don't include liblog to APEXes" into rvc-dev

This commit is contained in:
Jiyong Park 2020-03-12 04:10:15 +00:00 committed by Android (Google) Code Review
commit c2a354be68
3 changed files with 8 additions and 2 deletions

View File

@ -576,7 +576,6 @@ cc_binary {
"libcrypto_utils",
"libcutils_sockets",
"libdiagnose_usb",
"liblog",
"libmdnssd",
"libminijail",
"libselinux",
@ -589,6 +588,7 @@ cc_binary {
"libadbd_auth",
"libadbd_fs",
"libcrypto",
"liblog",
],
target: {

View File

@ -117,8 +117,12 @@ cc_library {
logtags: ["event.logtags"],
compile_multilib: "both",
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
// liblog is exceptionally available to the runtime APEX
// because the dynamic linker has to use it statically.
// See b/151051671
"com.android.runtime",
// DO NOT add more apex names here
],
}

View File

@ -35,6 +35,8 @@ cc_defaults {
header_libs: ["libstatssocket_headers"],
static_libs: [
"libbase",
],
shared_libs: [
"liblog",
],
}