summaryrefslogtreecommitdiff
path: root/rust/project_json.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-11-19 14:53:43 +0000
committer Paul Duffin <paulduffin@google.com> 2020-11-19 19:28:10 +0000
commit4f5c1ef229c3f5eb9b259f7672c6a791308b96e2 (patch)
tree15f4c16a87257715832da60c79159203d8b01a09 /rust/project_json.go
parente3ecd6c7a86368e5e737e2457127345b90273a98 (diff)
java_sdk_library: Allow no_dist to be explicitly set in .bp file
Currently, the no_dist property cannot be set in a .bp file and defaults to true if the sdk_version property is set to none. That behavior was added to prevent the output files from the libcore, conscrypt and icu java_sdk_library modules from being copied to the dist. It worked because they were the only java_sdk_library modules to set "sdk_version: none". Unfortunately, that default behavior is no longer required because we want to be able to convert "conscrypt" module to a java_sdk_library and have its public API output files be copied to the dist automatically. This change allows the no_dist property to be explicitly set in the .bp file so that those modules that rely on the implicit behavior can explicitly specify it and allow the default behavior to be removed. This change: * Removes the `blueprint:"mutated"` tag from the No_dist property which allows it to be specified in a .bp file. * Only sets the default if the property has not been explicitly specified in a .bp file. Test: lunch sdk-eng && m dist sdk compare out/dist/apistubs directories before and after this change to make sure that they have not changed. Bug: 173715943 Change-Id: I8a1c97b690ae05bfe71ea72acc0831fa51aca7e9
Diffstat (limited to 'rust/project_json.go')
0 files changed, 0 insertions, 0 deletions