forked from RobertRozic/rootbox_device_samsung_codina
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcodina.mk
81 lines (63 loc) · 4.04 KB
/
codina.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
75
76
77
78
79
80
81
# Include common makefile
$(call inherit-product, device/samsung/u8500-common/common.mk)
#For better compatibility with ROMs (like Slim, PAC)
$(call inherit-product, vendor/samsung/u8500-common/codina/codina-vendor-blobs.mk)
ifneq ($(TARGET_SCREEN_HEIGHT),800)
# Call cm.mk because somehow it's not being called!
$(call inherit-product, device/samsung/codina/cm.mk)
endif
LOCAL_PATH := device/samsung/codina
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
PRODUCT_AAPT_CONFIG := normal hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_PACKAGES += \
lights.montblanc \
com.android.future.usb.accessory \
SamsungServiceMode
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
# Init files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/fstab.samsungcodina:root/fstab.samsungcodina \
$(LOCAL_PATH)/rootdir/init.samsungcodina.rc:root/init.samsungcodina.rc \
$(LOCAL_PATH)/rootdir/prerecovery.rc:root/prerecovery.rc \
$(LOCAL_PATH)/rootdir/ueventd.samsungcodina.rc:root/ueventd.samsungcodina.rc \
$(LOCAL_PATH)/rootdir/recovery.rc:root/init.recovery.codina.rc
# STE
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/ste_modem.sh:system/etc/ste_modem.sh
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/adm.sqlite-u8500:system/etc/adm.sqlite-u8500
# Dbus
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/dbus.conf:system/etc/dbus.conf
# Gps
$(call inherit-product, device/common/gps/gps_eu_supl.mk)
# Charger
PRODUCT_PACKAGES += \
charger \
charger_res_images
# Bluetooth configuration files
PRODUCT_COPY_FILES += \
system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)