Merge "Add apex_available to libs"
This commit is contained in:
commit
47a79db9c9
2 changed files with 15 additions and 3 deletions
|
@ -29,12 +29,14 @@ cc_library_shared {
|
|||
export_include_dirs: ["include"],
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"libstatssocket",
|
||||
"liblog",
|
||||
"statsd-aidl-ndk_platform",
|
||||
],
|
||||
static_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
// TODO(b/149340100): Clean this up when libstatssocket is moved to the apex.
|
||||
"libstatssocket",
|
||||
"libcutils",
|
||||
],
|
||||
// enumerate stable entry points for APEX use
|
||||
stubs: {
|
||||
|
@ -43,4 +45,8 @@ cc_library_shared {
|
|||
"30",
|
||||
],
|
||||
},
|
||||
apex_available: [
|
||||
"com.android.os.statsd",
|
||||
"test_com.android.os.statsd",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -47,7 +47,13 @@ cc_library {
|
|||
versions: [
|
||||
"30",
|
||||
],
|
||||
}
|
||||
},
|
||||
apex_available: [
|
||||
"com.android.os.statsd",
|
||||
"test_com.android.os.statsd",
|
||||
//TODO(b/149340100): Remove this once libstatssocket is only linked as shared.
|
||||
"//apex_available:platform",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
|
|
Loading…
Reference in a new issue