android_build_soong/sdk
Colin Cross 694fced1e3 Don't mutate non-property module fields
Setting sanitize and stl to nil in a mutator isn't valid, if any other
mutator creates a variant then the factory method will be called again
to create the new variants and will reset sanitize and stl to non-nil.
Add a property to sanitize and check it everywhere that checked for
sanitize != nil, and set the Stl property.

Bug: 319288033
Test: all soong tests pass
Flag: EXEMPT refactor
Change-Id: If99d5fa0f088ee4a73cc7dccdab4268618a6009f
2024-07-11 16:59:33 -07:00
..
Android.bp Add sdk_genrule 2023-12-13 14:11:24 -08:00
bootclasspath_fragment_sdk_test.go Disable monolithic hiddenapi flags generation for non java devices. 2024-05-15 22:41:43 +00:00
bp.go don't export systemserverclasspath_fragment if contents are empty 2023-06-30 15:25:16 -04:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
build_release.go Add UpsideDownCake to the releases for which snapshots can be built 2022-09-30 09:41:08 +01:00
build_release_test.go Add UpsideDownCake to the releases for which snapshots can be built 2022-09-30 09:41:08 +01:00
cc_sdk_test.go Don't mutate non-property module fields 2024-07-11 16:59:33 -07:00
compat_config_sdk_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
exports.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
exports_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
genrule.go Add sdk_genrule 2023-12-13 14:11:24 -08:00
genrule_test.go Add sdk_genrule 2023-12-13 14:11:24 -08:00
java_sdk_test.go Enable system and module-lib APIs in TestSnapshotWithJavaSystemModules 2024-04-19 10:56:32 +01:00
license_sdk_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
member_trait.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
member_trait_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
member_type.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
sdk.go Use OutputFilesProvider on sdk 2024-06-18 15:15:38 -07:00
sdk_test.go Remove exportable modules when generating snapshots targeting older platform 2024-06-10 18:12:35 +00:00
systemserverclasspath_fragment_sdk_test.go Add an apex_contributions_defaults module to module sdk 2024-03-20 21:41:57 +00:00
testing.go Add current build release 2022-08-19 17:39:49 +00:00
update.go Merge "Add "strip: {none: true}" for cc_prebuilt_library_shared in sdk snapshot." into main 2024-07-08 20:39:59 +00:00