forked from lgics/cm_device_lge_p500
-
Notifications
You must be signed in to change notification settings - Fork 2
/
p500.mk
40 lines (31 loc) · 1.24 KB
/
p500.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PRODUCT_AAPT_CONFIG := normal mdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi
$(call inherit-product, device/lge/p500/device.mk)
$(call inherit-product-if-exists, vendor/lge/p500/p500-vendor.mk)
$(call inherit-product-if-exists, vendor/google/gapps.mk)
DEVICE_PACKAGE_OVERLAYS += device/lge/p500/overlay
# p500 configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thunder_keypad.kl:system/usr/keylayout/thunder_keypad.kl \
$(LOCAL_PATH)/configs/thunder_keypad.kcm.bin:system/usr/keychars/thunder_keypad.kcm.bin \
$(LOCAL_PATH)/configs/touch_mcs6000.idc:system/usr/idc/touch_mcs6000.idc
# p500 init
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.p500.rc:root/init.p500.rc \
$(LOCAL_PATH)/ueventd.p500.rc:root/ueventd.p500.rc
# P500 Audio
PRODUCT_PACKAGES += \
audio_policy.p500 \
audio.primary.p500
# Live wallpapers
PRODUCT_COPY_FILES += packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml
PRODUCT_PACKAGES += \
LiveWallpapers \
LiveWallpapersPicker \
VisualizationWallpapers \
librs_jni
# Full-featured build of the Open-Source
$(call inherit-product, build/target/product/full.mk)
PRODUCT_NAME := p500
PRODUCT_DEVICE := p500
PRODUCT_MODEL := LG-P500