forked from TheWhisp/android_device_samsung_jena
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jena.mk
executable file
·132 lines (111 loc) · 5.1 KB
/
jena.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Copyright (C) 2012 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
## Video
PRODUCT_PACKAGES += \
libstagefrighthw \
libmm-omxcore \
libOmxCore
## Graphics
PRODUCT_PACKAGES += \
copybit.msm7x27a \
gralloc.msm7x27a \
hwcomposer.msm7x27a
## Misc.
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs \
com.android.future.usb.accessory
## Bluetooth
PRODUCT_PACKAGES += \
hciconfig \
hcitool
## Audio
PRODUCT_PACKAGES += \
audio.primary.msm7x27a \
audio_policy.msm7x27a \
audio.a2dp.default \
audio_policy.conf \
libaudioutils
## Other hardware
PRODUCT_PACKAGES += \
lights.msm7x27a \
gps.msm7x27a \
power.msm7x27a
## Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
## Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/media_profiles.xml:system/etc/media_profiles.xml \
$(LOCAL_PATH)/prebuilt/etc/media_codecs.xml:system/etc/media_codecs.xml
## rootdir
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/init.qcom.rc:root/init.qcom.rc \
$(LOCAL_PATH)/rootdir/init.qcom.usb.rc:root/init.qcom.usb.rc \
$(LOCAL_PATH)/rootdir/ueventd.qcom.rc:root/ueventd.qcom.rc \
$(LOCAL_PATH)/rootdir/GT-S6500.rle:root/GT-S6500.rle \
$(LOCAL_PATH)/rootdir/fstab.jena:root/fstab.jena
## Bluetooth
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/init.qcom.bt.sh:/system/etc/init.qcom.bt.sh \
system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf
## Network
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
$(LOCAL_PATH)/prebuilt/etc/wifi/hostapd.conf:system/etc/wifi/hostapd.conf \
$(LOCAL_PATH)/prebuilt/bin/get_macaddrs:system/bin/get_macaddrs
## Vold config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/vold.fstab:system/etc/vold.fstab
## Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/etc/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/prebuilt/etc/AutoVolumeControl.txt:system/etc/AutoVolumeControl.txt \
$(LOCAL_PATH)/prebuilt/etc/AudioFilter.csv:system/etc/AudioFilter.csv
## Keychar
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/usr/keychars/7x27a_kp.kcm.bin:system/usr/keychars/7x27a_kp.kcm.bin \
$(LOCAL_PATH)/prebuilt/usr/keychars/surf_keypad.kcm.bin:system/usr/keychars/surf_keypad.kcm.bin \
## Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/usr/keylayout/7x27a_kp.kl:system/usr/keylayout/7x27a_kp.kl \
$(LOCAL_PATH)/prebuilt/usr/keylayout/sec_jack.kl:system/usr/keylayout/sec_jack.kl \
$(LOCAL_PATH)/prebuilt/usr/keylayout/sec_key.kl:system/usr/keylayout/sec_key.kl \
$(LOCAL_PATH)/prebuilt/usr/keylayout/sec_powerkey.kl:system/usr/keylayout/sec_powerkey.kl \
$(LOCAL_PATH)/prebuilt/usr/keylayout/surf_keypad.kl:system/usr/keylayout/surf_keypad.kl \
$(LOCAL_PATH)/prebuilt/usr/keylayout/sec_touchscreen.kl:system/usr/keylayout/sec_touchscreen.kl
## Touchscreen
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/usr/idc/sec_touchscreen.idc:system/usr/idc/sec_touchscreen.idc
## Enable repeatable keys in CWM
PRODUCT_PROPERTY_OVERRIDES += \
ro.cwm.enable_key_repeat=true
## This is an MDPI device
PRODUCT_AAPT_CONFIG := normal mdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi
PRODUCT_LOCALES += mdpi
## Other
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=2
PRODUCT_TAGS += dalvik.gc.type-precise
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
$(call inherit-product, vendor/samsung/jena/jena-vendor.mk)