Add cc_defaults VtsHalTargetTestDefaults

Makes it easier to control how vts tests link to system libs.
Also, removes a lot of redundant lines in test make rules.

Bug: 64040096
Test: compiles
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
This commit is contained in:
Tri Vo
2017-08-01 13:12:35 -07:00
parent 49dad304a5
commit 0b19836cea

View File

@@ -9,3 +9,26 @@ cc_defaults {
"-Werror",
],
}
cc_defaults {
name: "VtsHalTargetTestDefaults",
defaults: ["hidl_defaults"],
static_libs: [
"VtsHalHidlTargetTestBase",
],
group_static_libs: true,
shared_libs: [
"libbase",
"libcutils",
"liblog",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
],
cflags: [
"-O0",
"-g",
],
}