forked from CyanogenMod/android_device_htc_vision
-
Notifications
You must be signed in to change notification settings - Fork 20
/
device.mk
119 lines (99 loc) · 5.85 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
113
114
115
116
117
118
119
#
# 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/languages_full.mk)
#Andromadus Vendor include
PRODUCT_COPY_FILES += \
device/htc/vision/ramdisk/init.vision.rc:root/init.vision.rc \
device/htc/vision/ramdisk/ueventd.vision.rc:root/ueventd.vision.rc \
device/htc/msm7x30-common/rootdir/fstab.msm7x30:root/fstab.vision
# the line above is terribly dirty hack. But fstab doesn't work without it for some reason.
# Override /proc/sys/vm/dirty_ratio on UMS
PRODUCT_PROPERTY_OVERRIDES += \
ro.vold.umsdirtyratio=20
DEVICE_PACKAGE_OVERLAYS += device/htc/vision/overlay
# gsm config xml file
PRODUCT_COPY_FILES += \
device/htc/vision/configs/voicemail-conf.xml:system/etc/voicemail-conf.xml
# Sensors & Lights
PRODUCT_PACKAGES += \
lights.vision \
sensors.vision \
VisionKeypad
# Input device calibration files
PRODUCT_COPY_FILES += \
device/htc/vision/idc/atmel-touchscreen.idc:system/usr/idc/atmel-touchscreen.idc \
device/htc/vision/idc/curcial-oj.idc:system/usr/idc/curcial-oj.idc
# Keylayouts
PRODUCT_COPY_FILES += \
device/htc/vision/keylayout/vision-keypad-ara.kl:system/usr/keylayout/vision-keypad-ara.kl \
device/htc/vision/keylayout/vision-keypad-ell.kl:system/usr/keylayout/vision-keypad-ell.kl \
device/htc/vision/keylayout/vision-keypad-esn.kl:system/usr/keylayout/vision-keypad-esn.kl \
device/htc/vision/keylayout/vision-keypad-fra.kl:system/usr/keylayout/vision-keypad-fra.kl \
device/htc/vision/keylayout/vision-keypad-ger.kl:system/usr/keylayout/vision-keypad-ger.kl \
device/htc/vision/keylayout/vision-keypad-hk.kl:system/usr/keylayout/vision-keypad-hk.kl \
device/htc/vision/keylayout/vision-keypad-ita.kl:system/usr/keylayout/vision-keypad-ita.kl \
device/htc/vision/keylayout/vision-keypad.kl:system/usr/keylayout/vision-keypad.kl \
device/htc/vision/keylayout/vision-keypad-nor.kl:system/usr/keylayout/vision-keypad-nor.kl \
device/htc/vision/keylayout/vision-keypad-rus.kl:system/usr/keylayout/vision-keypad-rus.kl \
device/htc/vision/keylayout/vision-keypad-sea.kl:system/usr/keylayout/vision-keypad-sea.kl \
device/htc/vision/keylayout/vision-keypad-tur.kl:system/usr/keylayout/vision-keypad-tur.kl \
device/htc/vision/keylayout/vision-keypad-wwe.kl:system/usr/keylayout/vision-keypad-wwe.kl \
device/htc/vision/keylayout/atmel-touchscreen.kl:system/usr/keylayout/atmel-touchscreen.kl \
device/htc/vision/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl
# Keymaps
PRODUCT_COPY_FILES += \
device/htc/vision/keychars/vision-keypad-ara.kcm:system/usr/keychars/vision-keypad-ara.kcm \
device/htc/vision/keychars/vision-keypad-ell.kcm:system/usr/keychars/vision-keypad-ell.kcm \
device/htc/vision/keychars/vision-keypad-esn.kcm:system/usr/keychars/vision-keypad-esn.kcm \
device/htc/vision/keychars/vision-keypad-fra.kcm:system/usr/keychars/vision-keypad-fra.kcm \
device/htc/vision/keychars/vision-keypad-ger.kcm:system/usr/keychars/vision-keypad-ger.kcm \
device/htc/vision/keychars/vision-keypad-hk.kcm:system/usr/keychars/vision-keypad-hk.kcm \
device/htc/vision/keychars/vision-keypad-ita.kcm:system/usr/keychars/vision-keypad-ita.kcm \
device/htc/vision/keychars/vision-keypad.kcm:system/usr/keychars/vision-keypad.kcm \
device/htc/vision/keychars/vision-keypad-nor.kcm:system/usr/keychars/vision-keypad-nor.kcm \
device/htc/vision/keychars/vision-keypad-rus.kcm:system/usr/keychars/vision-keypad-rus.kcm \
device/htc/vision/keychars/vision-keypad-sea.kcm:system/usr/keychars/vision-keypad-sea.kcm \
device/htc/vision/keychars/vision-keypad-tur.kcm:system/usr/keychars/vision-keypad-tur.kcm \
device/htc/vision/keychars/vision-keypad-wwe.kcm:system/usr/keychars/vision-keypad-wwe.kcm
# DSP
PRODUCT_COPY_FILES += \
device/htc/vision/dsp/AudioBTID.csv:/system/etc/AudioBTID.csv \
device/htc/vision/dsp/A1026_CFG.csv:/system/etc/A1026_CFG.csv \
device/htc/vision/dsp/AdieHWCodec.csv:/system/etc/AdieHWCodec.csv \
device/htc/vision/dsp/AdieHWCodec_WA.csv:/system/etc/AdieHWCodec_WA.csv
# Device specific firmware
PRODUCT_COPY_FILES += \
device/htc/vision/firmware/bcm4329.hcd:system/vendor/firmware/bcm4329.hcd \
device/htc/vision/firmware/default.acdb:system/etc/firmware/default.acdb \
device/htc/vision/firmware/default_org.acdb:system/etc/firmware/default_org.acdb \
device/htc/vision/firmware/default_org_WA.acdb:system/etc/firmware/default_org_WA.acdb \
device/htc/vision/firmware/vidc_720p_mp2_dec_mc.fw:system/etc/firmware/vidc_720p_mp2_dec_mc.fw \
device/htc/vision/firmware/Vision_SPK.acdb:system/etc/firmware/Vision_SPK.acdb
# The gps config appropriate for this device
PRODUCT_COPY_FILES += device/htc/vision/configs/gps.conf:system/etc/gps.conf
# Copy bcm4329 firmware
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/device-bcm.mk)
# common msm7x30 configs
$(call inherit-product, device/htc/msm7x30-common/msm7x30.mk)
# htc audio settings
PRODUCT_PROPERTY_OVERRIDES += \
media.a1026.nsForVoiceRec = 0 \
media.a1026.enableA1026 = 1 \
htc.audio.alt.enable=0 \
htc.audio.hac.enable=0
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
ADDITIONAL_BUILD_PROPERTIES += sys.mem.max_hidden_apps=4
$(call inherit-product-if-exists, vendor/htc/vision/vision-vendor.mk)