-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfull_dlxub1.mk
134 lines (107 loc) · 5.08 KB
/
full_dlxub1.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
133
134
#
# Copyright (C) 2011 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.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# common msm8960 configs
$(call inherit-product, device/htc/msm8960-common/msm8960.mk)
# Inherit from dlxub1 device
$(call inherit-product, device/htc/dlxub1/device.mk)
# The gps config appropriate for this device
PRODUCT_COPY_FILES += device/htc/dlxub1/gps/gps.conf:system/etc/gps.conf
# Ramdisk
PRODUCT_PACKAGES += \
fstab.dlxub1 \
init.qcom.firmware_links.sh \
init.dlxub1.rc \
init.dlxub1.usb.rc \
ueventd.dlxub1.rc
# Post boot service
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/init.post_boot.sh:system/etc/init.post_boot.sh
PRODUCT_PACKAGES += \
libnetcmdiface
# Misc stuff
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml
# QC thernald config
PRODUCT_COPY_FILES += device/htc/dlxub1/configs/thermald.conf:/system/etc/thermald.conf
# Media configs
PRODUCT_COPY_FILES += device/htc/dlxub1/configs/AudioBTID.csv:system/etc/AudioBTID.csv
PRODUCT_COPY_FILES += device/htc/dlxub1/configs/AudioBTIDnew.csv:system/etc/AudioBTIDnew.csv
# wifi config
PRODUCT_COPY_FILES += \
device/htc/dlxub1/configs/calibration:/system/etc/calibration \
device/htc/dlxub1/configs/calibration.gpio4:/system/etc/calibration.gpio4
# Audio config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf
# Sound configs
PRODUCT_COPY_FILES += \
device/htc/dlxub1/dsp/soundimage/srs_bypass.cfg:system/etc/soundimage/srs_bypass.cfg \
device/htc/dlxub1/dsp/soundimage/srsfx_trumedia_51.cfg:system/etc/soundimage/srsfx_trumedia_51.cfg \
device/htc/dlxub1/dsp/soundimage/srsfx_trumedia_movie.cfg:system/etc/soundimage/srsfx_trumedia_movie.cfg \
device/htc/dlxub1/dsp/soundimage/srsfx_trumedia_music.cfg:system/etc/soundimage/srsfx_trumedia_music.cfg \
device/htc/dlxub1/dsp/soundimage/srsfx_trumedia_voice.cfg:system/etc/soundimage/srsfx_trumedia_voice.cfg \
device/htc/dlxub1/dsp/soundimage/srs_geq10.cfg:system/etc/soundimage/srs_geq10.cfg \
device/htc/dlxub1/dsp/soundimage/srs_global.cfg:system/etc/soundimage/srs_global.cfg
PRODUCT_COPY_FILES += \
device/htc/dlxub1/dsp/snd_soc_msm/snd_soc_msm_2x_Fusion3:/system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3
# Wifi
PRODUCT_COPY_FILES += \
device/htc/dlxub1/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \
device/htc/dlxub1/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf
# Media
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml
# Keylayouts and Keychars
PRODUCT_COPY_FILES += \
device/htc/dlxub1/keylayout/dummy_keypad.kl:system/usr/keylayout/dummy_keypad.kl \
device/htc/dlxub1/keylayout/projector-Keypad.kl:system/usr/keylayout/projector-Keypad.kl \
device/htc/dlxub1/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \
device/htc/dlxub1/keylayout/keypad_8960.kl:system/usr/keylayout/keypad_8960.kl \
device/htc/dlxub1/keylayout/msm8960-snd-card_Button_Jack.kl:system/usr/keylayout/msm8960-snd-card_Button_Jack.kl \
device/htc/dlxub1/keylayout/synaptics-rmi-touchscreen.kl:system/usr/keylayout/synaptics-rmi-touchscreen.kl
# Input device config
PRODUCT_COPY_FILES += \
device/htc/dlxub1/idc/projector_input.idc:system/usr/idc/projector_input.idc \
device/htc/dlxub1/idc/synaptics-rmi-touchscreen.idc:system/usr/idc/synaptics-rmi-touchscreen.idc
# Audio
PRODUCT_PACKAGES += \
libaudioamp
# Camera
PRODUCT_PACKAGES += \
camera.msm8960
# GPS
PRODUCT_PACKAGES += \
libloc_adapter \
libloc_eng \
libloc_api_v02 \
libgps.utils \
gps.msm8960
# We have enough space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_CHARACTERISTICS := default
# Set build date
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi xxhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi xxhdpi
PRODUCT_LOCALES += en_US
# call dalvik heap config
$(call inherit-product-if-exists, frameworks/native/build/phone-xxhdpi-2048-dalvik-heap.mk)
# call hwui memory config
$(call inherit-product-if-exists, frameworks/native/build/phone-xxhdpi-2048-hwui-memory.mk)