Create test-legacy/ for android.test.legacy target

The android.test.legacy (and legacy-android-test) target depends on
code from both test-base/ and test-runner/ and do not really belong
in either folder.

Having a separate folder will also provide a convenient place for
the artifacts needed to publish android.test.legacy to
maven.google.com.

Bug: 30188076
Test: make checkbuild
Change-Id: Ied54c24694b3167fcf9075a3157e92ec53b8f636
This commit is contained in:
Paul Duffin
2018-01-30 13:01:30 +00:00
parent 1116291cec
commit 898e7de6c7
4 changed files with 76 additions and 43 deletions

View File

@@ -83,28 +83,3 @@ java_library_static {
"junit",
],
}
// 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.
java_library_static {
name: "legacy-android-test",
srcs: [
"src/android/**/*.java",
"src/com/**/*.java",
],
static_libs: [
"android.test.runner-minus-junit",
"android.test.mock",
],
no_framework_libs: true,
libs: [
"framework",
"junit",
],
}