summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2017-08-01 13:12:35 -0700
committerTri Vo <trong@google.com>2017-08-01 14:29:43 -0700
commit0b19836cea7ee60ac370df2bf0500ee049d38256 (patch)
tree5e24b31fe8bd1f5be51a12c9c8ca6027e0887c5b /Android.bp
parent49dad304a518b162838cc4d930973698eb76a7c3 (diff)
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
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp23
1 files changed, 23 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 79e860993e..6c9bdd348d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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",
+ ],
+
+}