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
Merged-In: I10796e3fa8f61a307dbb7edace537a96ec83bea7
Change-Id: I10796e3fa8f61a307dbb7edace537a96ec83bea7
(cherry picked from commit
0b19836cea7ee60ac370df2bf0500ee049d38256)
"-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",
+ ],
+
+}