From b36eb542a9157c488bcc7dc7eb5a65b7b7288155 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 15 Jan 2018 15:47:47 +0000 Subject: [PATCH] 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 --- test-base/Android.bp | 3 ++- test-mock/Android.bp | 1 - test-runner/Android.bp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-base/Android.bp b/test-base/Android.bp index f6e1e515baac2..a42dc5a10ec9c 100644 --- a/test-base/Android.bp +++ b/test-base/Android.bp @@ -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", diff --git a/test-mock/Android.bp b/test-mock/Android.bp index 8eddec48611b7..b1ae40e17b9d0 100644 --- a/test-mock/Android.bp +++ b/test-mock/Android.bp @@ -24,7 +24,6 @@ java_library { no_framework_libs: true, libs: [ "framework", - "legacy-test", ], } diff --git a/test-runner/Android.bp b/test-runner/Android.bp index d495e90ac1d52..dfaeed5e271e8 100644 --- a/test-runner/Android.bp +++ b/test-runner/Android.bp @@ -40,7 +40,7 @@ java_library { no_framework_libs: true, libs: [ "framework", - "legacy-test", + "android.test.base", "android.test.mock", "junit", ],