Drop .stubs from android.test.[base|runner|mock].stubs

The .stubs library refer to the stub library of a java_sdk_library.
Since the name of the stub library is the implementation detail of the
build system, direct use of the name should be prohibited. Actually,
clients don't need to use the stub name directly because the build
system automatically redirects <name> to <name>.stubs.

Exempt-From-Owner-Approval: too many owners are involved. This is a
simple build script change.

Bug: 157007292
Test: m
Merged-In: I32502de3d87c5cfdbbcfe5545dd7db5e9bb551a7
(cherry picked from commit 4072d4d5d4)
Change-Id: I32502de3d87c5cfdbbcfe5545dd7db5e9bb551a7
This commit is contained in:
Jiyong Park
2020-05-19 21:12:39 +09:00
parent 86b65ff3b3
commit 82bb526062
5 changed files with 6 additions and 6 deletions

View File

@@ -28,8 +28,8 @@ android_test_helper_app {
"CtsHostsideNetworkTestsAidl", "CtsHostsideNetworkTestsAidl",
], ],
libs: [ libs: [
"android.test.runner.stubs", "android.test.runner",
"android.test.base.stubs", "android.test.base",
], ],
srcs: ["src/**/*.java"], srcs: ["src/**/*.java"],
// Tag this module as a cts test artifact // Tag this module as a cts test artifact

View File

@@ -22,7 +22,7 @@ java_defaults {
libs: [ libs: [
"voip-common", "voip-common",
"org.apache.http.legacy", "org.apache.http.legacy",
"android.test.base.stubs", "android.test.base",
], ],
jni_libs: [ jni_libs: [

View File

@@ -20,7 +20,7 @@ android_test {
compile_multilib: "both", compile_multilib: "both",
libs: [ libs: [
"android.test.base.stubs", "android.test.base",
], ],
srcs: [ srcs: [

View File

@@ -21,7 +21,7 @@ android_test {
libs: [ libs: [
"android.net.ipsec.ike.stubs.system", "android.net.ipsec.ike.stubs.system",
"android.test.base.stubs", "android.test.base",
], ],
srcs: [ srcs: [

View File

@@ -17,7 +17,7 @@ android_test {
defaults: ["cts_defaults"], defaults: ["cts_defaults"],
libs: [ libs: [
"android.test.base.stubs", "android.test.base",
], ],
srcs: [ srcs: [