Go to file
Ying Wang 43f7a3226a Support prebuilt apk source selection based on PRODUCT_AAPT_PREF_CONFIG
Two new LOCAL variables are added to support dpi-specific prebuilt apk
selection:
- LOCAL_DPI_VARIANTS: specify a list of dpis the module provides with
  specific prebuilt.
  Example: LOCAL_DPI_VARIANTS := xxhdpi xhdpi hdpi mdpi
- LOCAL_DPI_FILE_STEM: specify the dpi-specific source file name
  pattern.
  Example: LOCAL_DPI_FILE_STEM := MyApp-%.apk
  "%" will be substitued by $(PRODUCT_AAPT_PREF_CONFIG) in the core
  build system.
  If you don't set up LOCAL_DPI_FILE_STEM, the default is
  $(LOCAL_MODULE)_%.apk.

The build system searches $(PRODUCT_AAPT_PREF_CONFIG) in a prebuilt apk
module's $(LOCAL_DPI_VARIANTS). If not found, use whatever
$(LOCAL_SRC_FILES) as the source file; Otherwise use $(LOCAL_DPI_FILE_STEM)
to construct the dpi-specific apk's source file name, and use whatever
directory name of $(LOCAL_SRC_FILES).

Bug: 18388705
Change-Id: I63cae73f1b6f880302142abc476b3ce1fb5500b5
2014-11-17 17:05:27 -08:00
core Support prebuilt apk source selection based on PRODUCT_AAPT_PREF_CONFIG 2014-11-17 17:05:27 -08:00
libs/host Support host multilib build 2014-05-14 16:55:04 -07:00
target Fix PDK build. 2014-11-17 11:01:18 -08:00
tools am 11d21015: am f178d364: Merge "Allow images to be readded to target-files" into lmp-dev 2014-11-14 07:19:58 +00:00
.gitignore Delete .swp file added by accident. 2014-07-22 17:42:35 -07:00
CleanSpec.mk Move up to API 21, Lollipop MR1. 2014-10-17 10:05:33 -07:00
buildspec.mk.default Remove WEBCORE_INSTRUMENTATION and ENABLE_SVG 2013-07-25 15:52:17 -07:00
envsetup.sh Mount tmpfs on /cores 2014-11-05 05:03:45 +00:00