Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2761ed12 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

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

parents a44c8330 df257604
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 \
+4 −3
Original line number Diff line number Diff line
@@ -21,11 +21,12 @@ LOCAL_PATH:= $(call my-dir)
# This contains the junit.framework classes that were in Android API level 25.
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
LOCAL_STATIC_JAVA_LIBRARIES := core-junit-static

LOCAL_MODULE := legacy-test

include $(BUILD_JAVA_LIBRARY)

ifeq ($(HOST_OS),linux)
@@ -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)
Loading