Make libstatspull host supported

Test: Ran `m` and completed successfully
Change-Id: I069792c0edfbc3a3d648fc060d1437cee581b948
This commit is contained in:
Salud Lemus 2020-07-09 18:45:40 +00:00
parent 5c253bb633
commit 6b92f75c60

View file

@ -30,18 +30,39 @@ cc_defaults {
shared_libs: [
"libbinder_ndk",
"liblog",
"libstatssocket",
],
static_libs: [
"libutils",
"statsd-aidl-ndk_platform",
],
target: {
android: {
shared_libs: ["libstatssocket"],
},
host: {
static_libs: ["libstatssocket"],
},
},
}
cc_library_shared {
cc_library {
name: "libstatspull",
defaults: [
"libstatspull_defaults"
"libstatspull_defaults",
"libbinder_ndk_host_user",
],
host_supported: true,
target: {
android: {
static: {
enabled: false,
},
},
host: {
shared: {
enabled: false,
},
},
},
// enumerate stable entry points for APEX use
stubs: {
symbol_file: "libstatspull.map.txt",