Replace legacy-test with android.test.base in bp files

The legacy-test target is deprecated and will be replaced by
android.test.base. This replaces a few usages of the legacy-test target
in Android.bp files with android.test.base.

Bug: 30188076
Test: make checkbuild
Change-Id: I3575f638114fe2a3b703e67837496346bde24472
This commit is contained in:
Paul Duffin
2018-01-15 15:47:47 +00:00
parent 9cb0b52011
commit b36eb542a9
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,8 @@ java_library {
// Build the repackaged.android.test.base library
// ==============================================
// This contains repackaged versions of the classes from legacy-test.
// This contains repackaged versions of the classes from
// android.test.base.
java_library_static {
name: "repackaged.android.test.base",

View File

@@ -24,7 +24,6 @@ java_library {
no_framework_libs: true,
libs: [
"framework",
"legacy-test",
],
}

View File

@@ -40,7 +40,7 @@ java_library {
no_framework_libs: true,
libs: [
"framework",
"legacy-test",
"android.test.base",
"android.test.mock",
"junit",
],