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

Commit 237adbe1 authored by Paul Duffin's avatar Paul Duffin Committed by Android (Google) Code Review
Browse files

Merge "Add repackaged legacy-test and android.test.runner"

parents 59c0115e 8eaf94be
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -31,6 +31,20 @@ LOCAL_JAVA_LIBRARIES := core-oj core-libart framework

include $(BUILD_JAVA_LIBRARY)

# Build the repackaged-legacy-test library
# ========================================
# This contains repackaged versions of the classes from legacy-test.
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_MODULE := repackaged-legacy-test
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj core-libart framework
LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt

include $(BUILD_STATIC_JAVA_LIBRARY)

# Generate the stub source files for legacy.test.stubs
# ====================================================
include $(CLEAR_VARS)
+2 −0
Original line number Diff line number Diff line
rule junit.** repackaged.junit.@1
rule android.test.** repackaged.android.test.@1
+14 −0
Original line number Diff line number Diff line
@@ -30,6 +30,20 @@ LOCAL_MODULE:= android.test.runner

include $(BUILD_JAVA_LIBRARY)

# Build the repackaged.android.test.runner library
# ================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_JAVA_LIBRARIES := core-oj core-libart framework legacy-test

LOCAL_JARJAR_RULES := $(LOCAL_PATH)/../legacy-test/jarjar-rules.txt

LOCAL_MODULE:= repackaged.android.test.runner

include $(BUILD_STATIC_JAVA_LIBRARY)

# Generate the stub source files for android.test.runner.stubs
# ============================================================
include $(CLEAR_VARS)