summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2019-02-04 19:48:39 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-04 19:48:39 -0800
commit6a565cd7f3c1a0f58481be82869bdbf6ee46aaf5 (patch)
tree6e81fd2f86e7058b2ed3d873d7b323341034fe9e
parent630281abbfdcb8fe683ffd1c733d4172179b9dd5 (diff)
parent53068026d10da0bc3f0be2bac30ce89238ef3daa (diff)
downloadlibhardware_legacy-6a565cd7f3c1a0f58481be82869bdbf6ee46aaf5.tar.gz
Merge "libpower: add TEST_MAPPING" am: 6827114793 am: b9599c61dd
am: 53068026d1 Change-Id: I0b030150d0004b0b63bdf9353c63b5d53dbbdd00
-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"
+ }
+ ]
+}