OSDN Git Service

Add product variable PRODUCT_AAPT_PREBUILT_DPI
authorYing Wang <wangying@google.com>
Wed, 10 Dec 2014 20:40:09 +0000 (12:40 -0800)
committerYing Wang <wangying@google.com>
Wed, 10 Dec 2014 20:40:09 +0000 (12:40 -0800)
commit60686586a5f9c8f78b9ad16e19782da85e89a760
tree60eae5629b1efdc68ea10a54a19364623a2b6652
parent111ba923bec7e99d3ee49688f7ad426b760f8b36
Add product variable PRODUCT_AAPT_PREBUILT_DPI

We use search LOCAL_DPI_VARIANTS in the list of
"$(PRODUCT_AAPT_PREF_CONFIG) $(PRODUCT_AAPT_PREBUILT_DPI)"
and the first takes precedence.
That way if we don't have a best match, we fall back to the second best,
the way how it worked with PRODUCT_AAPT_CONFIG previously.

Bug: 18388705
Change-Id: I8bd646c52215c65cc6e38c728857af9b64d13469
core/prebuilt_internal.mk
core/product.mk
core/product_config.mk