Copy core-junit files into legacy-test.
The legacy-test directory contains part of the Android API and
so must maintain backwards compatibility. The junit classes that
are in the API are copied here to ensure that they do not change
when external/junit is upgraded.
Bug: 30188076
Test: make checkbuild and checked legacy-test contents
Change-Id: I6c263afc16c06abfd027334be51a41422239a189
diff --git a/Android.mk b/Android.mk
index 2b565e5..bac3802 100644
--- a/Android.mk
+++ b/Android.mk
@@ -744,9 +744,6 @@
# include definition of libcore_to_document
include libcore/Docs.mk
-# include definition of junit_to_document
-include external/junit/Common.mk
-
non_base_dirs := \
../opt/telephony/src/java/android/provider \
../opt/telephony/src/java/android/telephony \
@@ -787,8 +784,7 @@
# Common sources for doc check and api check
common_src_files := \
$(call find-other-html-files, $(html_dirs)) \
- $(addprefix ../../, $(libcore_to_document)) \
- $(addprefix ../../external/junit/, $(junit_to_document))
+ $(addprefix ../../, $(libcore_to_document))
# These are relative to frameworks/base
framework_docs_LOCAL_SRC_FILES := \