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:
@@ -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",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user