diff options
| author | 2020-04-08 00:37:49 +0000 | |
|---|---|---|
| committer | 2020-04-08 00:37:49 +0000 | |
| commit | fa49ff93f97f13e377ff726722cdbd808c82fb7f (patch) | |
| tree | c34dd71975e52f85cbfd021427a2fd0ad341758e | |
| parent | 07fb4f88181975ed6e838490799f3b91eadf6f0b (diff) | |
| parent | 1d4b4653cde2e7058f443647b9aa8fceced5160e (diff) | |
Merge "Move proto, c++, and test libs to static" into rvc-dev
| -rw-r--r-- | apex/statsd/Android.bp | 1 | ||||
| -rw-r--r-- | cmds/statsd/Android.bp | 6 |
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", ], |