summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeffrey Huang <jeffreyhuang@google.com> 2020-04-15 11:16:20 -0700
committer Jeffrey Huang <jeffreyhuang@google.com> 2020-04-15 16:06:40 -0700
commitc6b2830e8105ff71619dba08275a16eb6ba70c07 (patch)
treec30f796b4e0b6b7f9c3c0045d4cf103f32f4fc72
parent0935694b5a04377d3022fc9bce65a21b46e9b42e (diff)
Add statsd device tests as mts target
Added multilib to cc_test as a workaround to the build system being unable to separate 32 and 64bit architectures. Bug: 153035538 Test: m -j Change-Id: Ib7f3b01816d7cbd69b3dbf4dbf63ccb22b0c5b6a
-rw-r--r--cmds/statsd/Android.bp9
1 files changed, 8 insertions, 1 deletions
diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp
index 65061d0c9bda..56c213b08d51 100644
--- a/cmds/statsd/Android.bp
+++ b/cmds/statsd/Android.bp
@@ -290,7 +290,14 @@ cc_binary {
cc_test {
name: "statsd_test",
defaults: ["statsd_defaults"],
- test_suites: ["device-tests"],
+ test_suites: ["device-tests", "mts"],
+
+ //TODO(b/153588990): Remove when the build system properly separates
+ //32bit and 64bit architectures.
+ multilib: {
+ lib32: { suffix: "32", },
+ lib64: { suffix: "64", },
+ },
cflags: [
"-Wall",