summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--JavaLibrary.bp4
-rw-r--r--NativeCode.bp1
2 files changed, 5 insertions, 0 deletions
diff --git a/JavaLibrary.bp b/JavaLibrary.bp
index f3a5ead3f3..84c9687ca5 100644
--- a/JavaLibrary.bp
+++ b/JavaLibrary.bp
@@ -484,6 +484,7 @@ java_library {
java_library_static {
name: "core-test-rules",
visibility: [
+ "//art/build/sdk",
"//external/conscrypt",
"//frameworks/base/location/tests/locationtests",
"//frameworks/base/core/tests/coretests",
@@ -504,6 +505,7 @@ java_library_static {
java_library_static {
name: "core-compat-test-rules",
visibility: [
+ "//art/build/sdk",
"//frameworks/base/tests/PlatformCompatGating/test-rules",
],
srcs: [
@@ -527,6 +529,7 @@ java_library_static {
java_library_static {
name: "core-tests-support",
visibility: [
+ "//art/build/sdk",
"//cts/apps/CtsVerifier",
"//cts/tests/tests/keystore",
"//cts/tests/tests/net",
@@ -985,6 +988,7 @@ droidstubs {
java_library_host {
name: "timezone-host",
visibility: [
+ "//art/build/sdk",
"//system/timezone/distro/core",
],
srcs: [":timezone_host_files"],
diff --git a/NativeCode.bp b/NativeCode.bp
index 25c128b181..2be67bfe8f 100644
--- a/NativeCode.bp
+++ b/NativeCode.bp
@@ -202,6 +202,7 @@ cc_library_shared {
cc_library_shared {
name: "libjavacoretests",
visibility: [
+ "//art/build/sdk",
"//cts/tests/libcore/luni",
],
defaults: ["core_native_default_flags"],