Skip to content

Commit

Permalink
Export ril related flag to soong
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Bill Yang authored and mikeNG committed Oct 29, 2024
1 parent 3544cf4 commit b103ddb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/android_soong_config_vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b103ddb

Please sign in to comment.