Skip to content

Instantly share code, notes, and snippets.

@caplio
Created May 13, 2013 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caplio/5570385 to your computer and use it in GitHub Desktop.
Save caplio/5570385 to your computer and use it in GitHub Desktop.
# Check for target product
ifeq (pac_dlxj,$(TARGET_PRODUCT))
# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_dlxj
# AOKP device overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/aokp/common
# PAC device overlay
$(shell cp -f vendor/pac/prebuilt/common/bootanimation_framework/android-logo-mask_htc-xhdpi.png frameworks/base/core/res/assets/images/android-logo-mask.png)
# Copy bootanimation
PRODUCT_COPY_FILES += \
vendor/pac/prebuilt/xhdpi/bootanimation.zip:system/media/bootanimation.zip
# include PAC common configuration
include vendor/pac/config/pac_common.mk
# Inherit CM device configuration
$(call inherit-product, device/htc/dlxj/cm.mk)
PRODUCT_NAME := pac_dlxj
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment