platform_build_soong/sdk
Paul Duffin cc72e981c7 Use deep copy when copying bpPropertySets
Previously, only a shallow copy was made so the copy ends up sharing
some contents with the original. That was a potential source of bugs
as the copy was being made in order to be mutated.

This change switches to a deep copy; renaming the methods from
copy -> deepCopy to clarify the intent.

Makes the bpPropertySet member of bpModule a *bpPropertySet to avoid
unnecessary copying of bpPropertySet.

Bug: 142940300
Test: m nothing
Change-Id: I3f2eaa9fffab4e61d5a7cec81aa42fee9fdfec44
2020-01-20 17:12:58 +00:00
..
bp.go Use deep copy when copying bpPropertySets 2020-01-20 17:12:58 +00:00
cc_sdk_test.go Default apex_available to //apex_available:platform 2020-01-16 09:14:03 +00:00
exports.go Restrict SdkMemberTypes that can be used with sdk/sdk_snapshot 2019-12-31 15:08:59 +00:00
exports_test.go Added module_exports/_snapshot as alias for sdk/_snapshot 2019-12-30 18:03:30 +00:00
java_sdk_test.go Default apex_available to //apex_available:platform 2020-01-16 09:14:03 +00:00
sdk.go Exclude sdkMemberVersionedDepTag from visibility enforcement 2020-01-15 11:17:57 +00:00
sdk_test.go Ensure prebuilt modules have same visibility as source modules 2019-12-09 13:32:28 +00:00
testing.go Dedup package build components registration 2020-01-15 11:17:57 +00:00
update.go Use deep copy when copying bpPropertySets 2020-01-20 17:12:58 +00:00