-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
112 lines (88 loc) · 3.4 KB
/
device.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
#
# Copyright (C) 2011 The Android Open-Source 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.
#
# This file includes all definitions that apply to ALL geehrc devices, and
# are also specific to geehrc devices
#
# Everything in this directory will become public
#
$(call inherit-product, device/lge/gproj-common/gproj.mk)
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# This device is xhdpi. However the platform doesn't
# currently contain all of the bitmaps at xhdpi density so
# we do this little trick to fall back to the hdpi version
# if the xhdpi doesn't exist.
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
PRODUCT_PACKAGES += \
lights.geehrc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/WCNSS_cfg.dat:system/vendor/firmware/wlan/prima/WCNSS_cfg.dat \
$(LOCAL_PATH)/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
$(LOCAL_PATH)/WCNSS_qcom_wlan_nv.bin:system/etc/wifi/WCNSS_qcom_wlan_nv.bin
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/mixer_paths.xml:system/etc/mixer_paths.xml
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/thermald-geehrc.conf:system/etc/thermald.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/initlogo.rle:root/initlogo.rle888 \
$(LOCAL_PATH)/init.geehrc.rc:root/init.geehrc.rc \
$(LOCAL_PATH)/fstab.geehrc:root/fstab.geehrc \
$(LOCAL_PATH)/ueventd.geehrc.rc:root/ueventd.geehrc.rc
# Prebuilt kl and kcm keymaps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/apq8064-tabla-snd-card_Button_Jack.kl:system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl \
$(LOCAL_PATH)/keypad_8064.kl:system/usr/keylayout/keypad_8064.kl \
$(LOCAL_PATH)/apq8064-tabla-snd-card_Button_Jack.kcm:system/usr/keychars/apq8064-tabla-snd-card_Button_Jack.kcm \
$(LOCAL_PATH)/keypad_8064.kcm:system/usr/keychars/keypad_8064.kcm
#These are hardware-specific features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=320
PRODUCT_CHARACTERISTICS := nosdcard
PRODUCT_PACKAGES += \
hci_qcomm_init
#PRODUCT_PACKAGES += \
# power.msm8960
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.geehrc.bt.sh:system/etc/init.geehrc.bt.sh
PRODUCT_PROPERTY_OVERRIDES += \
ro.qualcomm.bt.hci_transport=smd
PRODUCT_PACKAGES += \
camera.msm8960 \
libmmcamera_interface2 \
libmmcamera_interface
PRODUCT_PACKAGES += \
libwfcu \
conn_init
PRODUCT_PACKAGES += \
keystore.msm8960
PRODUCT_PROPERTY_OVERRIDES += \
telephony.lteOnCdmaDevice=0 \
ro.telephony.default_network=9 \
telephony.lteOnGsmDevice=1
PRODUCT_PACKAGES += \
wpa_supplicant_overlay.conf \
p2p_supplicant_overlay.conf
## FM
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.gee.fm.sh:system/etc/init.gee.fm.sh \
$(LOCAL_PATH)/audio_policy.conf:system/vendor/etc/audio_policy.conf
PRODUCT_PACKAGES += \
FM2 \
qcom.fmradio \
libqcomfm_jni
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)