Merge "Prepare for removal of junit and android.test classes from Android API (step 1)"
am: b2ac85e76d
Change-Id: I2c06dbace44b4578a6cd94cb62a3ae67e558aaaa
This commit is contained in:
@@ -22,6 +22,7 @@ LOCAL_MODULE_TAGS := tests
|
|||||||
LOCAL_SRC_FILES := $(call all-java-files-under, testrunner-src) \
|
LOCAL_SRC_FILES := $(call all-java-files-under, testrunner-src) \
|
||||||
$(call all-java-files-under, ../library/core-src)
|
$(call all-java-files-under, ../library/core-src)
|
||||||
LOCAL_JAVA_LIBRARIES := android.test.runner
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
|
||||||
LOCAL_MODULE := uiautomator-instrumentation
|
LOCAL_MODULE := uiautomator-instrumentation
|
||||||
# TODO: change this to 18 when it's available
|
# TODO: change this to 18 when it's available
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := junit
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := ExternalLocAllPermsTestApp
|
LOCAL_PACKAGE_NAME := ExternalLocAllPermsTestApp
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ LOCAL_MODULE_TAGS := tests
|
|||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := ExternalSharedPermsTestApp
|
LOCAL_PACKAGE_NAME := ExternalSharedPermsTestApp
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ LOCAL_MODULE_TAGS := tests
|
|||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := ExternalSharedPermsBTTestApp
|
LOCAL_PACKAGE_NAME := ExternalSharedPermsBTTestApp
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ LOCAL_MODULE_TAGS := tests
|
|||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := ExternalSharedPermsDiffKeyTestApp
|
LOCAL_PACKAGE_NAME := ExternalSharedPermsDiffKeyTestApp
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ LOCAL_MODULE_TAGS := tests
|
|||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := ExternalSharedPermsFLTestApp
|
LOCAL_PACKAGE_NAME := ExternalSharedPermsFLTestApp
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ LOCAL_SRC_FILES := \
|
|||||||
$(call all-java-files-under, src)
|
$(call all-java-files-under, src)
|
||||||
|
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||||
mockito-target
|
mockito-target \
|
||||||
|
legacy-android-test
|
||||||
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ LOCAL_PROGUARD_ENABLED := disabled
|
|||||||
|
|
||||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||||
|
|
||||||
|
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test junit
|
||||||
|
|
||||||
LOCAL_PACKAGE_NAME := SurfaceComposition
|
LOCAL_PACKAGE_NAME := SurfaceComposition
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|||||||
@@ -24,7 +24,11 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|||||||
|
|
||||||
LOCAL_PACKAGE_NAME := WindowAnimationJank
|
LOCAL_PACKAGE_NAME := WindowAnimationJank
|
||||||
|
|
||||||
LOCAL_STATIC_JAVA_LIBRARIES := ub-uiautomator ub-janktesthelper
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||||
|
ub-uiautomator \
|
||||||
|
ub-janktesthelper \
|
||||||
|
legacy-android-test \
|
||||||
|
junit
|
||||||
|
|
||||||
LOCAL_SDK_VERSION := current
|
LOCAL_SDK_VERSION := current
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user