android source - How to configure the various PRODUCT_AAPT_ properties for AOSP? -
i'm looking explanation of following aosp build properties, valid values , how affect build , related properties. aware of system property ro.sf.lcd_density can't find official documentation anywhere these:
product_aapt_config product_aapt_pref_config product_aapt_prebuilt_dpi
this experience, , should not accepted answer i'm not have whole story.
product_aapt_pref_config: "preferred" resources qualifier. should 1 of entries in product_aapt_config.
product_aapt_config: ordered list of resources qualifier. acts fallback in case preferred resource qualifier not exist.
product_locales: list of locales included. whatever reason locales special case of resource qualifier.
in case, used this:
product_aapt_config := large xlarge mdpi tvdpi hdpi product_aapt_pref_config := hdpi product_locales := en_us en_gb en_ie de_de pl_pl pt_br es_us our device tvdpi, since there no tvdpi specific resources, picked next size preferred (hdpi). included "large xlarge mdpi tvdpi hdpi" allow fallback in case there no hdpi resources.
Comments
Post a Comment