summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2019-02-05 03:15:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-02-05 03:15:26 +0000
commit68271147938aac550384fe6361d713925f16bd18 (patch)
tree9a0a63c11e209206c4f54a00526bd96d80a173d3
parent899b195ce798fd957bccd224b3c252285e3d3017 (diff)
parent850ab7e2a092d6fb891e15b2d3a87293fbf9997e (diff)
downloadlibhardware_legacy-68271147938aac550384fe6361d713925f16bd18.tar.gz
Merge "libpower: add TEST_MAPPING"
-rw-r--r--Android.bp1
-rw-r--r--TEST_MAPPING7
2 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 60f2468..133073d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -36,6 +36,7 @@ cc_test {
srcs: ["power_test.cpp"],
static_libs: ["libpower"],
shared_libs: ["android.system.suspend@1.0"],
+ test_suites: ["device-tests"],
}
cc_library_shared {
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..c20fbd7
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "presubmit": [
+ {
+ "name": "libpower_test"
+ }
+ ]
+}