summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tej Singh <singhtejinder@google.com> 2020-04-08 00:37:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-04-08 00:37:49 +0000
commitfa49ff93f97f13e377ff726722cdbd808c82fb7f (patch)
treec34dd71975e52f85cbfd021427a2fd0ad341758e
parent07fb4f88181975ed6e838490799f3b91eadf6f0b (diff)
parent1d4b4653cde2e7058f443647b9aa8fceced5160e (diff)
Merge "Move proto, c++, and test libs to static" into rvc-dev
-rw-r--r--apex/statsd/Android.bp1
-rw-r--r--cmds/statsd/Android.bp6
2 files changed, 4 insertions, 3 deletions
diff --git a/apex/statsd/Android.bp b/apex/statsd/Android.bp
index 32e13e31eebe..15d74951019d 100644
--- a/apex/statsd/Android.bp
+++ b/apex/statsd/Android.bp
@@ -67,7 +67,6 @@ cc_library_shared {
"liblog", // Has a stable abi - should not be copied into apex.
"libstatssocket",
],
- //TODO: is libc++_static correct?
stl: "libc++_static",
cflags: [
"-Wall",
diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp
index d3d7e1d483e8..65061d0c9bda 100644
--- a/cmds/statsd/Android.bp
+++ b/cmds/statsd/Android.bp
@@ -113,17 +113,18 @@ cc_defaults {
static_libs: [
"libbase",
"libcutils",
+ "libgtest_prod",
"libprotoutil",
"libstatsmetadata",
"libstatslog_statsd",
"libsysutils",
"libutils",
+ "statsd-aidl-ndk_platform",
],
shared_libs: [
"libbinder_ndk",
"libincident",
"liblog",
- "statsd-aidl-ndk_platform",
],
}
@@ -268,10 +269,11 @@ cc_binary {
proto: {
type: "lite",
+ static: true,
},
+ stl: "libc++_static",
shared_libs: [
- "libgtest_prod",
"libstatssocket",
],