summaryrefslogtreecommitdiff
path: root/tests/TouchLatency
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-02-20 16:52:48 -0800
committerSasha Smundak <asmundak@google.com>2019-03-07 16:14:00 -0800
commitb6aca11e8078b4a93da1c09c94b4d0d7ba0befef (patch)
tree5e9ad0c8f23a127ff116cbd4adf1b72d1fe1bbe5 /tests/TouchLatency
parent10c573ff852309894b383ae9aa13dca0d64f8d3e (diff)
Convert tests/**/Android.mk files to Android.bp
See build/soong/README.md for more information. Note: tests/ImfTest/Android.mk causes conflict as it hasn't been yet ported to internal master. Do it later. Note: the conversion in the following directories has to be done in the internal master first because of the conflicts: * tests/ActivityManagerPerfTests * tests/AppLaunch * tests/AppLaunchWear * tests/BackgroundDexOptServiceIntegrationTests * tests/Camera2Tests/CameraToo * tests/Camera2Tests/SmartCamera/SimpleCamera * tests/Compatibility * tests/Internal * tests/RcsTests * tests/ServiceCrashTest * tests/UsbTests Bug: 122332340 Test: treehugger Change-Id: Ie17590c6a96aee5caa80d38092a3de5c1b6efe8d
Diffstat (limited to 'tests/TouchLatency')
-rw-r--r--tests/TouchLatency/Android.bp10
-rw-r--r--tests/TouchLatency/Android.mk22
2 files changed, 10 insertions, 22 deletions
diff --git a/tests/TouchLatency/Android.bp b/tests/TouchLatency/Android.bp
new file mode 100644
index 000000000000..1174bcb0d4d6
--- /dev/null
+++ b/tests/TouchLatency/Android.bp
@@ -0,0 +1,10 @@
+android_test {
+ name: "TouchLatency",
+ manifest: "app/src/main/AndroidManifest.xml",
+ // omit gradle 'build' dir
+ srcs: ["app/src/main/java/**/*.java"],
+ resource_dirs: ["app/src/main/res"],
+ aaptflags: ["--auto-add-overlay"],
+ sdk_version: "current",
+ test_suites: ["device-tests"],
+}
diff --git a/tests/TouchLatency/Android.mk b/tests/TouchLatency/Android.mk
deleted file mode 100644
index 2334bd84c1f2..000000000000
--- a/tests/TouchLatency/Android.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_MODULE_TAGS := tests
-
-LOCAL_MANIFEST_FILE := app/src/main/AndroidManifest.xml
-
-# omit gradle 'build' dir
-LOCAL_SRC_FILES := $(call all-java-files-under,app/src/main/java)
-
-LOCAL_RESOURCE_DIR := \
- $(LOCAL_PATH)/app/src/main/res
-
-LOCAL_AAPT_FLAGS := \
- --auto-add-overlay
-
-LOCAL_PACKAGE_NAME := TouchLatency
-LOCAL_SDK_VERSION := current
-
-LOCAL_COMPATIBILITY_SUITE := device-tests
-
-include $(BUILD_PACKAGE)