diff options
author | 2024-06-25 14:56:42 -0700 | |
---|---|---|
committer | 2024-07-11 16:59:33 -0700 | |
commit | 694fced1e37267ad2f5932a62777336db728d644 (patch) | |
tree | fbfa385b9a39d2e4a610a945105f2e0db84c7bc7 /sdk/cc_sdk_test.go | |
parent | e7485b871af4c5f5728de678910fd71425d4e80f (diff) |
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
Diffstat (limited to 'sdk/cc_sdk_test.go')
-rw-r--r-- | sdk/cc_sdk_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdk/cc_sdk_test.go b/sdk/cc_sdk_test.go index c9e20b3b8..5d76930b4 100644 --- a/sdk/cc_sdk_test.go +++ b/sdk/cc_sdk_test.go @@ -2196,6 +2196,7 @@ cc_prebuilt_library_shared { prefer: false, visibility: ["//visibility:public"], apex_available: ["//apex_available:platform"], + stl: "none", compile_multilib: "both", stubs: { versions: [ |