Export ril related flag to soong

Export SIM_COUNT, DISABLE_RILD_OEM_HOOK and ENABLE_VENDOR_RIL_SERVICE
to soong

Bug: 347679222
Test: m libril libreference-ril rild
Change-Id: Ic1f8262f260c3fec70635809acf80d340502a77c
This commit is contained in:
Bill Yang 2024-09-20 03:13:58 +00:00 committed by Michael Bestas
parent 3544cf4eda
commit b103ddb005
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -162,3 +162,12 @@ $(call soong_config_set,bootclasspath,release_crashrecovery_module,$(RELEASE_CRA
# Enable Profiling module. Also used by platform_bootclasspath.
$(call soong_config_set,ANDROID,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
$(call soong_config_set,bootclasspath,release_package_profiling_module,$(RELEASE_PACKAGE_PROFILING_MODULE))
# Add sim_count, disable_rild_oem_hook, and use_aosp_rild flag for ril related modules
$(call soong_config_set,ril,sim_count,$(SIM_COUNT))
ifneq ($(DISABLE_RILD_OEM_HOOK), false)
$(call soong_config_set_bool,ril,disable_rild_oem_hook,true)
endif
ifneq ($(ENABLE_VENDOR_RIL_SERVICE), true)
$(call soong_config_set_bool,ril,use_aosp_rild,true)
endif