Merge "Move proto, c++, and test libs to static" into rvc-dev

This commit is contained in:
Tej Singh
2020-04-08 00:37:49 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 3 deletions

View File

@@ -67,7 +67,6 @@ cc_library_shared {
"liblog", // Has a stable abi - should not be copied into apex. "liblog", // Has a stable abi - should not be copied into apex.
"libstatssocket", "libstatssocket",
], ],
//TODO: is libc++_static correct?
stl: "libc++_static", stl: "libc++_static",
cflags: [ cflags: [
"-Wall", "-Wall",

View File

@@ -113,17 +113,18 @@ cc_defaults {
static_libs: [ static_libs: [
"libbase", "libbase",
"libcutils", "libcutils",
"libgtest_prod",
"libprotoutil", "libprotoutil",
"libstatsmetadata", "libstatsmetadata",
"libstatslog_statsd", "libstatslog_statsd",
"libsysutils", "libsysutils",
"libutils", "libutils",
"statsd-aidl-ndk_platform",
], ],
shared_libs: [ shared_libs: [
"libbinder_ndk", "libbinder_ndk",
"libincident", "libincident",
"liblog", "liblog",
"statsd-aidl-ndk_platform",
], ],
} }
@@ -268,10 +269,11 @@ cc_binary {
proto: { proto: {
type: "lite", type: "lite",
static: true,
}, },
stl: "libc++_static",
shared_libs: [ shared_libs: [
"libgtest_prod",
"libstatssocket", "libstatssocket",
], ],