diff options
Diffstat (limited to 'core/package_internal.mk')
-rw-r--r-- | core/package_internal.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/package_internal.mk b/core/package_internal.mk index bb458d4..933b32f 100644 --- a/core/package_internal.mk +++ b/core/package_internal.mk @@ -407,6 +407,16 @@ endif $(align-package) ############################### +## Build dpi-specific apks, if it's apps_only build. +ifdef TARGET_BUILD_APPS +ifdef LOCAL_DPI_VARIANTS +$(foreach d, $(LOCAL_DPI_VARIANTS), \ + $(eval my_dpi := $(d)) \ + $(eval include $(BUILD_SYSTEM)/dpi_specific_apk.mk)) +endif +endif + +############################### ## Rule to build the odex file ifdef LOCAL_DEX_PREOPT $(built_odex): PRIVATE_DEX_FILE := $(built_dex) |