Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83f593a1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add soong config variable to exclude extracted apks for PrebuiltGmsCore" into main

parents 32ecb93a 06ac427a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -310,6 +310,17 @@ $(call soong_config_set_bool,google_graphics,board_uses_hwc_services,$(if $(filt
# Variables for controlling android.hardware.composer.hwc3-service.pixel
$(call soong_config_set,google_graphics,board_hwc_version,$(BOARD_HWC_VERSION))

# Flag ExcludeExtractApk is to support "extract_apk" property for the following conditions.
ifneq ($(WITH_DEXPREOPT),true)
  $(call soong_config_set_bool,PrebuiltGmsCore,ExcludeExtractApk,true)
endif
ifeq ($(DONT_DEXPREOPT_PREBUILTS),true)
  $(call soong_config_set_bool,PrebuiltGmsCore,ExcludeExtractApk,true)
endif
ifeq ($(WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY),true)
  $(call soong_config_set_bool,PrebuiltGmsCore,ExcludeExtractApk,true)
endif

# Variables for extra branches
# TODO(b/383238397): Use bootstrap_go_package to enable extra flags.
-include vendor/google/build/extra_soong_config_vars.mk
+1 −0
Original line number Diff line number Diff line
@@ -142,6 +142,7 @@ ifneq (,$(filter true,$(OVERRIDE_DISABLE_DEXOPT_ALL)))
  # be too much of a problem for platform developers because a change to framework code should not
  # trigger dexpreopt for the ART boot image.
  WITH_DEXPREOPT_ART_BOOT_IMG_ONLY := true
  $(call soong_config_set_bool,PrebuiltGmsCore,ExcludeExtractApk,true)
endif

# Enable resolution of startup const strings.