diff options
author | Sasha Smundak <asmundak@google.com> | 2019-03-10 19:48:23 -0700 |
---|---|---|
committer | Sasha Smundak <asmundak@google.com> | 2019-03-12 09:37:32 -0700 |
commit | 89414e1ed5a0d22869ac71b9c9b99421f67ab83d (patch) | |
tree | ac7ef18cb08e6c1b45aba23cf271b10c4d034399 /tests/AppLaunchWear | |
parent | e756f460d028794a265494e0619db02e6905676a (diff) |
Convert tests/**/Android.mk files to Android.bp, part II
See build/soong/README.md for more information.
Bug: 122332340
Test: treehugger
Change-Id: I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865
Diffstat (limited to 'tests/AppLaunchWear')
-rw-r--r-- | tests/AppLaunchWear/Android.bp | 13 | ||||
-rw-r--r-- | tests/AppLaunchWear/Android.mk | 22 |
2 files changed, 13 insertions, 22 deletions
diff --git a/tests/AppLaunchWear/Android.bp b/tests/AppLaunchWear/Android.bp new file mode 100644 index 000000000000..8d34b6eb9c0f --- /dev/null +++ b/tests/AppLaunchWear/Android.bp @@ -0,0 +1,13 @@ +android_test { + name: "AppLaunchWear", + // Only compile source java files in this apk. + srcs: ["src/**/*.java"], + platform_apis: true, + certificate: "platform", + libs: [ + "android.test.base", + "android.test.runner", + ], + static_libs: ["androidx.test.rules"], + test_suites: ["device-tests"], +} diff --git a/tests/AppLaunchWear/Android.mk b/tests/AppLaunchWear/Android.mk deleted file mode 100644 index 332b6808ace8..000000000000 --- a/tests/AppLaunchWear/Android.mk +++ /dev/null @@ -1,22 +0,0 @@ -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_MODULE_TAGS := tests - -# Only compile source java files in this apk. -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_PACKAGE_NAME := AppLaunchWear -LOCAL_PRIVATE_PLATFORM_APIS := true - -LOCAL_CERTIFICATE := platform -LOCAL_JAVA_LIBRARIES := android.test.base android.test.runner - -LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules - -LOCAL_COMPATIBILITY_SUITE := device-tests - -include $(BUILD_PACKAGE) - -# Use the following include to make our test apk. -include $(call all-makefiles-under,$(LOCAL_PATH)) |