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

Commit e49850bf authored by Cole Faust's avatar Cole Faust Committed by Automerger Merge Worker
Browse files

Merge "Add PRODUCT_SOONG_ONLY" into main am: a41075ec

parents ccd79658 a41075ec
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -501,6 +501,9 @@ _product_single_value_vars += PRODUCT_IGNORE_ALL_ANDROIDMK
_product_list_vars += PRODUCT_ALLOWED_ANDROIDMK_FILES
# When PRODUCT_IGNORE_ALL_ANDROIDMK is set to true, path of file that contains a list of allowed Android.mk files
_product_single_value_vars += PRODUCT_ANDROIDMK_ALLOWLIST_FILE
# Setting PRODUCT_SOONG_ONLY will cause the build to default to --soong-only mode, and the main
# kati invocation will not be run.
_product_single_value_vars += PRODUCT_SOONG_ONLY

.KATI_READONLY := _product_single_value_vars _product_list_vars
_product_var_list :=$= $(_product_single_value_vars) $(_product_list_vars)
+8 −0
Original line number Diff line number Diff line
@@ -699,4 +699,12 @@ $(foreach image, \

product-build-image-config :=

ifdef PRODUCT_SOONG_ONLY
  ifneq ($(PRODUCT_SOONG_ONLY),true)
    ifneq ($(PRODUCT_SOONG_ONLY),false)
      $(error PRODUCT_SOONG_ONLY can only be true, false or unset)
    endif
  endif
endif

$(call readonly-product-vars)