summaryrefslogtreecommitdiff
path: root/java/sdk_library_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-06-22 11:00:07 +0100
committerPaul Duffin <paulduffin@google.com>2021-06-22 19:16:28 +0100
commit0e7bb0e80adae397c96941465279fb83061b1f43 (patch)
tree83ceaedaf9440bb6053b77bd4d816bcb0bda6d46 /java/sdk_library_test.go
parent0b5a143c32720429f19bcc4a88fa137e8ebdf2e6 (diff)
Add test for sdk that contains overlapping members
This change adds a test for an sdk that includes a java_sdk_library directly as well as transitively includes one of the component modules that it creates. It also adds a test for the names of a versioned java_sdk_library_import's components as fixing one requires fixing the other. The use case added is one that does occur in the art-module-sdk. It has a couple of pairs of java_sdk_library and java_system_modules that cause both the java_sdk_library and one of its component modules to be included in the sdk snapshot. That causes problems when building against prebuilts. e.g. The art-module-sdk_art.module.public.api.stubs module is a duplicate of the art.module.public.api.stubs module created by the art.module.public.api java_sdk_library_import. The former is added because the art-module-public-api-stubs-system-modules depends on it. A follow up change will avoid the component being added to the sdk snapshot separately and instead cause the snapshot to use the component created by the java_sdk_library_import in the snapshot. Bug: 179354495 Test: m nothing Merged-In: Ifdc1b4a5a7968db2ded3fdb7eb02f9cff77c7c3f Change-Id: Ifdc1b4a5a7968db2ded3fdb7eb02f9cff77c7c3f (cherry picked from commit 3302871b7d64ea1cfd5c56b7ac76f5c74db4e7fa)
Diffstat (limited to 'java/sdk_library_test.go')
0 files changed, 0 insertions, 0 deletions