Keep a copy of the space-separated PRODUCT_AAPT_CONFIG

That can be used to select dpi-specific prebuilt apks.

Change-Id: Ic68be8fc6fdb46f3ff8de490a35a042a31f1cb19
This commit is contained in:
Ying Wang 2013-11-22 10:07:51 -08:00
parent cb067ad2f6
commit 91341e5283
1 changed files with 3 additions and 1 deletions

View File

@ -306,8 +306,10 @@ PRODUCT_AAPT_PREF_CONFIG := $(strip $(PRODUCT_AAPT_PREF_CONFIG))
# Everyone gets nodpi assets which are density-independent.
PRODUCT_AAPT_CONFIG += nodpi
# Keep a copy of the space-separated config
PRODUCT_AAPT_CONFIG_SP := $(PRODUCT_AAPT_CONFIG)
# Convert spaces to commas.
comma := ,
PRODUCT_AAPT_CONFIG := \
$(subst $(space),$(comma),$(strip $(PRODUCT_AAPT_CONFIG)))
PRODUCT_AAPT_PREF_CONFIG := \