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

Commit a4a23641 authored by Anton Hansson's avatar Anton Hansson Committed by android-build-merger
Browse files

Merge "Fix non-existing modules check" am: c1d0bfef

am: 0796c70d

Change-Id: Idb48fb89c275747e9997afe37796a0ed74693473
parents e7e39460 0796c70d
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -541,10 +541,15 @@ $(call readonly-variables,$(_readonly_late_variables))
endef

#
# Strip the variables in _product_strip_var_list
# Strip the variables in _product_var_list and a few build-system
# internal variables, and assign the ones for the current product
# to a shorthand that is more convenient to read from elsewhere.
#
define strip-product-vars
$(foreach v,$(_product_var_list), \
$(foreach v,\
  $(_product_var_list) \
    PRODUCT_ENFORCE_PACKAGES_EXIST \
    PRODUCT_ENFORCE_PACKAGES_EXIST_WHITELIST, \
  $(eval $(v) := $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).$(v)))) \
)
endef
+2 −1
Original line number Diff line number Diff line
@@ -25,4 +25,5 @@ PRODUCT_BRAND := generic
PRODUCT_DEVICE := generic
PRODUCT_NAME := generic

$(call enforce-product-packages-exist,)
whitelist := product_manifest.xml
$(call enforce-product-packages-exist,$(whitelist))
+2 −1
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@

$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline.mk)
$(call enforce-product-packages-exist,)
whitelist := product_manifest.xml
$(call enforce-product-packages-exist,$(whitelist))

PRODUCT_NAME := mainline_arm64
PRODUCT_DEVICE := mainline_arm64