-
Notifications
You must be signed in to change notification settings - Fork 1
/
star.mk
74 lines (62 loc) · 3.71 KB
/
star.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
-include $(LOCAL_PATH)/bootsplash/rle.mk
DEVICE_PACKAGE_OVERLAYS += device/lge/star-common/overlay
# The splashscreen
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/initlogo.rle:root/initlogo.rle
# Board-specific init
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/ueventd.tegra.rc:root/ueventd.tegra.rc \
$(LOCAL_PATH)/init_recovery.rc:root/init_recovery.rc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/recovery/postrecoveryboot.sh:recovery/root/sbin/postrecoveryboot.sh \
$(LOCAL_PATH)/media_profiles.xml:system/etc/media_profiles.xml \
$(LOCAL_PATH)/egl.cfg:system/lib/egl/egl.cfg \
$(LOCAL_PATH)/prebuilt/rild:system/bin/rild \
$(LOCAL_PATH)/prebuilt/setup-recovery:system/bin/setup-recovery \
$(LOCAL_PATH)/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
$(LOCAL_PATH)/dhcpcd.conf:system/etc/dhcpcd/dhcpcd.conf \
$(LOCAL_PATH)/prebuilt/incall-audio:system/bin/incall-audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/tegra-kbc.kl:system/usr/keylayout/tegra-kbc.kl \
$(LOCAL_PATH)/prebuilt/tegra-kbc.kcm.bin:system/usr/keychars/tegra-kbc.kcm.bin \
$(LOCAL_PATH)/prebuilt/qwerty.kl:system/usr/keylayout/qwerty.kl \
$(LOCAL_PATH)/prebuilt/usb_keyboard_102_en_us.kl:system/usr/keylayout/usb_keyboard_102_en_us.kl \
$(LOCAL_PATH)/prebuilt/usb_keyboard_102_en_us.kcm.bin:system/usr/keychars/usb_keyboard_102_en_us.kcm.bin
# Permission files
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/base/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
frameworks/base/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/base/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/base/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/base/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=131072 \
ro.telephony.call_ring.multiple=false \
ro.telephony.call_ring.delay=3000 \
ro.telephony.call_ring.absent=true \
ro.telephony.ril_class=lgestar \
ro.hardware.respect_als=true \
ro.bt.bdaddr_path=/sys/devices/platform/star_bd_address/bdaddr_if \
dalvik.vm.dexopt-data-only=1
$(call inherit-product, build/target/product/full_base.mk)
PRODUCT_LOCALES += hdpi
## LGE stuffs
PRODUCT_PACKAGES += \
LGEServices \
bridgeutil \
libbridge \
libbridge_jni \
secureclockd \
libsecureclock \
screencap \
hwprops \
com.android.future.usb.accessory
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0