summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Sasha Smundak <asmundak@google.com> 2022-08-02 18:23:58 -0700
committer Sasha Smundak <asmundak@google.com> 2022-08-03 10:46:19 -0700
commita09540641198a4256082d30a98c859fe35d1b8de (patch)
tree23d737a2c097b0f6953fa58a3ecc3d3c0a1e6175 /java/java.go
parent08253a0901ccd65a2d08dce797e410cd06054e61 (diff)
Consolidate Bazel conversion state into a single field in CommonProperties
Bazel conversion state needs to be cloned during module cloning, so it should be registered via module.AddProperties. Until now it was done implicitly as the modules converted so far added the whole base.commonProperties field (and thus transitively all its subfields). However, adding CommonProperties also adds its fields to the list of the module's attributes, which is undesirable. The problem surfaced while implementing Bazel conversion to the `license` rule. Bug: 190817312 Test: treehugger Change-Id: Id3de4ede8df81b21f00065a3a1bdc2d707391c3a
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions