Use inline soong_config_module_type for Tiramisu

Previously, Tiramisu snapshots would use the use_source_config_var
property but that does not properly without r.android.com/2234128 so
this switches Tiramisu to use inline soong_config_module_type just like
is used by S.

Bug: 249192297
Test: m nothing
      BUILD_NUMBER=fixed packages/modules/common/build/mainline_modules_sdk.sh
      # Run above with and without this change and make sure that it
      # only changes the for-Tiramisu-build contents and switches to
      # using inline soong_config_module_type modules to set the prefer
      # property.
Change-Id: I429aeac064c986de654a49258a5f31d7bd9fc3a7
This commit is contained in:
Paul Duffin
2022-09-27 18:06:15 +01:00
parent 99526e3979
commit 2a3ad4c9ee

View File

@@ -738,8 +738,9 @@ Tiramisu = BuildRelease(
name="Tiramisu", name="Tiramisu",
# Generate a snapshot for Tiramisu using Soong. # Generate a snapshot for Tiramisu using Soong.
creator=create_sdk_snapshots_in_soong, creator=create_sdk_snapshots_in_soong,
# This supports the use_source_config_var property. # This requires the SoongConfigBoilerplateInserter transformation to be
preferHandling=PreferHandling.USE_SOURCE_CONFIG_VAR_PROPERTY, # applied due to b/249192297.
preferHandling=PreferHandling.SOONG_CONFIG,
) )
# Insert additional BuildRelease definitions for following releases here, # Insert additional BuildRelease definitions for following releases here,