Merge "Add apex_available to libs"

This commit is contained in:
Jeffrey Huang 2020-02-13 19:10:41 +00:00 committed by Android (Google) Code Review
commit 47a79db9c9
2 changed files with 15 additions and 3 deletions

View file

@ -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",
],
}

View file

@ -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 {