Merge "Move android.test classes from core/java to legacy-test/src"

This commit is contained in:
Paul Duffin
2016-12-09 14:56:37 +00:00
committed by Gerrit Code Review
15 changed files with 7 additions and 5 deletions

View File

@@ -503,7 +503,7 @@ framework_res_R_stamp := \
LOCAL_ADDITIONAL_DEPENDENCIES := $(framework_res_R_stamp)
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp legacy-test bouncycastle ext
LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp bouncycastle ext
LOCAL_STATIC_JAVA_LIBRARIES := framework-protos
LOCAL_MODULE := framework
@@ -730,6 +730,7 @@ packages_to_document := \
# Search through the base framework dirs for these packages.
# The result will be relative to frameworks/base.
fwbase_dirs_to_document := \
legacy-test/src \
test-runner/src \
$(patsubst $(LOCAL_PATH)/%,%, \
$(wildcard \

View File

@@ -21,10 +21,11 @@ LOCAL_PATH:= $(call my-dir)
# This contains the junit.framework classes that were in Android API level 25.
include $(CLEAR_VARS)
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_STATIC_JAVA_LIBRARIES := core-junit-static
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_MODULE := legacy-test
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj core-libart framework
LOCAL_STATIC_JAVA_LIBRARIES := core-junit-static
include $(BUILD_JAVA_LIBRARY)
@@ -34,7 +35,7 @@ ifeq ($(HOST_OS),linux)
# This contains the android.test.PerformanceTestCase class only
include $(CLEAR_VARS)
LOCAL_SRC_FILES := ../core/java/android/test/PerformanceTestCase.java
LOCAL_SRC_FILES := src/android/test/PerformanceTestCase.java
LOCAL_MODULE := legacy-performance-test-hostdex
include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)