Merge "Moved c.a.i.u.Predicate[s] into legacy-test" into oc-dev-plus-aosp
This commit is contained in:
@@ -17,7 +17,8 @@ LOCAL_JNI_SHARED_LIBRARIES := libmemoryintarraytest libcutils libc++
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||
android-support-test \
|
||||
frameworks-base-testutils \
|
||||
mockito-target-minus-junit4
|
||||
mockito-target-minus-junit4 \
|
||||
legacy-android-tests
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||
|
||||
@@ -28,3 +29,4 @@ LOCAL_CERTIFICATE := platform
|
||||
LOCAL_COMPATIBILITY_SUITE := device-tests
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
|
||||
@@ -20,9 +20,11 @@ LOCAL_PATH:= $(call my-dir)
|
||||
# =============================
|
||||
# This contains the junit.framework and android.test classes that were in
|
||||
# Android API level 25 excluding those from android.test.runner.
|
||||
# Also contains the com.android.internal.util.Predicate[s] classes.
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
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
|
||||
@@ -30,20 +32,35 @@ LOCAL_JAVA_LIBRARIES := core-oj core-libart framework
|
||||
include $(BUILD_JAVA_LIBRARY)
|
||||
|
||||
# Build the legacy-android-test library
|
||||
# =============================
|
||||
# =====================================
|
||||
# This contains the android.test classes that were in Android API level 25,
|
||||
# including those from android.test.runner.
|
||||
# Also contains the com.android.internal.util.Predicate[s] classes.
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-java-files-under, src/android) \
|
||||
$(call all-java-files-under, ../test-runner/src/android)
|
||||
$(call all-java-files-under, ../test-runner/src/android) \
|
||||
$(call all-java-files-under, src/com)
|
||||
LOCAL_MODULE := legacy-android-test
|
||||
LOCAL_NO_STANDARD_LIBRARIES := true
|
||||
LOCAL_JAVA_LIBRARIES := core-oj core-libart framework junit
|
||||
|
||||
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
|
||||
# Build the legacy-android-tests library
|
||||
# ======================================
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(call all-java-files-under, tests)
|
||||
LOCAL_MODULE := legacy-android-tests
|
||||
LOCAL_NO_STANDARD_LIBRARIES := true
|
||||
LOCAL_JAVA_LIBRARIES := core-oj core-libart framework junit
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := legacy-android-test
|
||||
|
||||
include $(BUILD_STATIC_JAVA_LIBRARY)
|
||||
|
||||
ifeq ($(HOST_OS),linux)
|
||||
# Build the legacy-performance-test-hostdex library
|
||||
# =================================================
|
||||
|
||||
@@ -21,6 +21,8 @@ import java.util.Arrays;
|
||||
/**
|
||||
* Predicates contains static methods for creating the standard set of
|
||||
* {@code Predicate} objects.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public class Predicates {
|
||||
|
||||
Reference in New Issue
Block a user