summaryrefslogtreecommitdiff
path: root/sdk/bootclasspath_fragment_sdk_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-04-20 22:47:03 +0100
committerPaul Duffin <paulduffin@google.com>2021-04-21 19:05:37 +0100
commit6589805e2a6ce17cb468adad78052e24beeafb18 (patch)
tree27e3953ff04c514986013bedc2c980830e3101b1 /sdk/bootclasspath_fragment_sdk_test.go
parenteaa432d4703030087f9d78ed78547aee486c4625 (diff)
bootclasspath_fragment must only depend on source contents
This change ensures that bootclasspath_fragment only depends on source modules and prebuilt_bootclasspath_fragment only depends on prebuilt modules. It does that in two ways: 1. It adds the dependencies in ComponentDepsMutator method which is called before any renaming of prebuilts is done which makes it very easy to add a dependency directly onto either the source or prebuilt as required. 2. It uses a tag which prevents dependencies on a source module from being replaced with a dependency on a prebuilt module which ensures that a dependency on the source modules is not replaced with a dependency on a prebuilt module. Bug: 177892522 Test: m nothing Change-Id: Ibcfae39083afbc07fcf729ead3ed5f5d020845bf
Diffstat (limited to 'sdk/bootclasspath_fragment_sdk_test.go')
0 files changed, 0 insertions, 0 deletions