summaryrefslogtreecommitdiff
path: root/sdk/cc_sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-06-22 11:00:07 +0100
committer Paul Duffin <paulduffin@google.com> 2021-06-22 16:07:27 +0100
commit3302871b7d64ea1cfd5c56b7ac76f5c74db4e7fa (patch)
tree69f600de04607c51240b9329e252f6130c0bcfaa /sdk/cc_sdk_test.go
parent86fe8f851414d3e1ac6c19f3d16114fe318c8d10 (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 Change-Id: Ifdc1b4a5a7968db2ded3fdb7eb02f9cff77c7c3f
Diffstat (limited to 'sdk/cc_sdk_test.go')
0 files changed, 0 insertions, 0 deletions