diff options
author | Paul Duffin <paulduffin@google.com> | 2020-04-29 23:35:13 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2020-05-08 18:03:31 +0100 |
commit | 4911a89181dd1a22bf8703107e7395e6f1c0dd3f (patch) | |
tree | c4e4631955449361be51f081113d494054c430d1 /sdk/java_sdk_test.go | |
parent | f49f431c3309cf1287c509bb8dc9d98e78fc7e90 (diff) |
java_sdk_library: Specify visibility of stubs modules
Adds two new properties to specify the visibility of the stubs modules
(source and library) created by the java_sdk_library. Excludes
visibility property from being inherited when creating the module so it
can be properly specified by copying across the relevant property.
Test: m checkapi
Bug: 155164730
Change-Id: Iffdd9f191ff0d74646356ac577560cc38efdd790
Diffstat (limited to 'sdk/java_sdk_test.go')
-rw-r--r-- | sdk/java_sdk_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sdk/java_sdk_test.go b/sdk/java_sdk_test.go index 6173510cd..560a6b856 100644 --- a/sdk/java_sdk_test.go +++ b/sdk/java_sdk_test.go @@ -989,6 +989,8 @@ func TestSnapshotWithJavaSdkLibrary(t *testing.T) { apex_available: ["//apex_available:anyapex"], srcs: ["Test.java"], sdk_version: "current", + stubs_library_visibility: ["//other"], + stubs_source_visibility: ["//another"], } `) |