summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2019-02-04 19:42:31 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-04 19:42:31 -0800
commit53068026d10da0bc3f0be2bac30ce89238ef3daa (patch)
tree9a0a63c11e209206c4f54a00526bd96d80a173d3
parentda84ea052bd161754461371106b187e83782b6c0 (diff)
parentb9599c61dd616e18fc1be4f2321996046598db60 (diff)
downloadlibhardware_legacy-53068026d10da0bc3f0be2bac30ce89238ef3daa.tar.gz
Merge "libpower: add TEST_MAPPING" am: 6827114793
am: b9599c61dd Change-Id: Ie2fddbcba958e77f7e76012a99efae9942b75056
-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"
+ }
+ ]
+}