diff options
author | Yuntao Xu <yuntaoxu@google.com> | 2021-04-29 14:07:12 -0700 |
---|---|---|
committer | Yuntao Xu <yuntaoxu@google.com> | 2021-04-29 14:33:35 -0700 |
commit | 9502a0d62cc1957567f0e755c254c987f3cb888e (patch) | |
tree | 8bdc863b28b542a22fe6171d228d8d71b9045345 | |
parent | 238bd31090bc14101cb7150c843563102fc61f13 (diff) | |
download | Mtp-9502a0d62cc1957567f0e755c254c987f3cb888e.tar.gz |
Convert perf_tests/Android.mk to Android.bp
Convert the Make file to a Soong one
Bug: 186778349
Test: compared the two apk files built by Make and Soong
Test: TreeHugger
Change-Id: I63ebfd17430d04a76181d8c9634d24600fa9787b
Merged-In: Iec5408453710332c51929a02151112c52939a9a1
-rw-r--r-- | perf_tests/Android.bp | 14 | ||||
-rw-r--r-- | perf_tests/Android.mk | 15 |
2 files changed, 14 insertions, 15 deletions
diff --git a/perf_tests/Android.bp b/perf_tests/Android.bp new file mode 100644 index 0000000..e25a0ca --- /dev/null +++ b/perf_tests/Android.bp @@ -0,0 +1,14 @@ +package { + // See: http://go/android-license-faq + default_applicable_licenses: ["Android-Apache-2.0"], +} + +android_test { + name: "MtpServicePerfTests", + srcs: ["src/**/*.java"], + static_libs: ["androidx.test.rules"], + platform_apis: true, + instrumentation_for: "MtpService", + certificate: "media", + test_suites: ["device-tests"], +} diff --git a/perf_tests/Android.mk b/perf_tests/Android.mk deleted file mode 100644 index 10b5465..0000000 --- a/perf_tests/Android.mk +++ /dev/null @@ -1,15 +0,0 @@ -LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_MODULE_TAGS := tests -LOCAL_SRC_FILES := $(call all-java-files-under, src) -LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules -LOCAL_PACKAGE_NAME := MtpServicePerfTests -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 -LOCAL_LICENSE_CONDITIONS := notice -LOCAL_PRIVATE_PLATFORM_APIS := true -LOCAL_INSTRUMENTATION_FOR := MtpService -LOCAL_CERTIFICATE := media -LOCAL_COMPATIBILITY_SUITE += device-tests - -include $(BUILD_PACKAGE) |