OSDN Git Service

Replace legacy-test with android.test.base in bp files
authorPaul Duffin <paulduffin@google.com>
Mon, 15 Jan 2018 15:47:47 +0000 (15:47 +0000)
committerPaul Duffin <paulduffin@google.com>
Mon, 15 Jan 2018 15:47:47 +0000 (15:47 +0000)
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

test-base/Android.bp
test-mock/Android.bp
test-runner/Android.bp

index f6e1e51..a42dc5a 100644 (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",
 
index 8eddec4..b1ae40e 100644 (file)
@@ -24,7 +24,6 @@ java_library {
     no_framework_libs: true,
     libs: [
         "framework",
-        "legacy-test",
     ],
 }
 
index d495e90..dfaeed5 100644 (file)
@@ -40,7 +40,7 @@ java_library {
     no_framework_libs: true,
     libs: [
         "framework",
-        "legacy-test",
+        "android.test.base",
         "android.test.mock",
         "junit",
     ],