Files
build/core
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
..
2014-10-15 00:10:08 +00:00
2014-10-03 11:36:27 -07:00
2013-10-23 13:18:39 -07:00
2014-07-21 14:42:29 -07:00
2014-05-14 19:16:25 -07:00
2014-08-14 11:03:56 -07:00
2014-05-14 16:55:04 -07:00
2011-11-11 16:03:56 -08:00
2014-05-18 22:04:58 -07:00
2014-10-27 17:57:11 +00:00
2014-11-14 02:04:33 +00:00
2014-09-28 16:13:19 +00:00
2014-07-21 14:42:29 -07:00
2014-08-23 09:45:31 -07:00
2014-09-04 18:59:05 -07:00
2014-05-21 16:40:35 -07:00
2014-05-14 16:55:04 -07:00