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.
"libstatssocket",
],
//TODO: is libc++_static correct?
stl: "libc++_static",
cflags: [
"-Wall",

View File

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