Merge "Convert tests/**/Android.mk files to Android.bp" am: 40ff4f7d83 am: c33506ce2f

am: c15ff15587

Change-Id: I55c5f273e09a2a0ad53fdd8cb4860f04207c4241
This commit is contained in:
Sasha Smundak
2019-03-09 08:25:50 -08:00
committed by android-build-merger
140 changed files with 931 additions and 1386 deletions

View File

@@ -0,0 +1,12 @@
android_test {
name: "MemoryUsage",
// Only compile source java files in this apk.
srcs: ["src/**/*.java"],
platform_apis: true,
certificate: "platform",
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: ["junit"],
}

View File

@@ -1,19 +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 := MemoryUsage
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_JAVA_LIBRARIES := android.test.runner android.test.base
LOCAL_STATIC_JAVA_LIBRARIES := junit
include $(BUILD_PACKAGE)
# Use the following include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))