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.

This is a partial cherry-pick for the networking tests.

Bug: 157007292
Test: m
Merged-In: I32502de3d87c5cfdbbcfe5545dd7db5e9bb551a7
(cherry picked from commit 4072d4d5d4)
Change-Id: I32502de3d87c5cfdbbcfe5545dd7db5e9bb551a7
This commit is contained in:
Remi NGUYEN VAN
2020-10-28 10:10:20 +09:00
parent be9d43dfaf
commit 430caa9121
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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