-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdevice.mk
144 lines (123 loc) · 8 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_as_supl.mk)
$(call inherit-product-if-exists, vendor/huawei/c8813q/c8813q-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/huawei/c8813q/overlay
PRODUCT_AAPT_CONFIG := normal hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
# Video
PRODUCT_PACKAGES += \
libstagefrighthw \
libmm-omxcore \
libOmxCore
# Graphics
PRODUCT_PACKAGES += \
copybit.msm7x27a \
gralloc.msm7x27a \
hwcomposer.msm7x27a \
libtilerenderer
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio_policy.msm7x27a \
audio.primary.msm7x27a \
audio_policy.conf \
libaudioutils
# GPS
PRODUCT_PACKAGES += \
dexpreopt \
gps.c8813q \
libloc_api-rpc \
Camera
# Filesystem management tools
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs \
e2fsck
# Misc
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
# iptables
PRODUCT_PACKAGES += \
iptables \
ip6tables
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# These are the hardware-specific features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.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.light.xml:system/etc/permissions/android.hardware.sensor.light.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.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.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/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml
PRODUCT_COPY_FILES += \
device/huawei/c8813q/ramdisk/init.huawei.rc:root/init.huawei.rc \
device/huawei/c8813q/ramdisk/ueventd.huawei.rc:root/ueventd.huawei.rc \
device/huawei/c8813q/ramdisk/init.qcom.sh:root/init.qcom.sh \
device/huawei/c8813q/ramdisk/init.huawei.usb.rc:root/init.huawei.usb.rc \
device/huawei/c8813q/ramdisk/init.qcom.class_core.sh:root/init.qcom.class_core.sh \
device/huawei/c8813q/ramdisk/init.qcom.class_main.sh:root/init.qcom.class_main.sh \
device/huawei/c8813q/ramdisk/init.qcom.ril.path.sh:root/init.qcom.ril.path.sh
PRODUCT_COPY_FILES += \
device/huawei/c8813q/ramdisk/e2fsck_s:root/sbin/e2fsck_s \
device/huawei/c8813q/ramdisk/resize2fs_s:root/sbin/resize2fs_s \
device/huawei/c8813q/ramdisk/resize2fs_wrapper:root/sbin/resize2fs_wrapper \
device/huawei/c8813q/ramdisk/tp/1294018.img:root/tp/1294018.img
PRODUCT_COPY_FILES += \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/athtcmd_ram.bin:system/etc/firmware/ath6k/athtcmd_ram.bin \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/caldata.bin:system/etc/firmware/ath6k/caldata.bin \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/caldata_MSM8X25_C8813Q.bin:system/etc/firmware/ath6k/caldata_MSM8X25_C8813Q.bin \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/caldata_MSM8X25_C8813Q.bin:system/etc/firmware/ath6k/bdata.SD31.bin \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/fw-3.bin:system/etc/firmware/ath6k/fw-3.bin \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/nullTestFlow.bin:system/etc/firmware/ath6k/nullTestFlow.bin \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/softmac:system/etc/firmware/ath6k/softmac \
device/huawei/c8813q/prebuilt/system/wifi/ath6k/utf.bin:system/etc/firmware/ath6k/utf.bin \
device/huawei/c8813q/prebuilt/system/lib/modules/pppoe_dzc.ko:system/lib/modules/pppoe_dzc.ko \
device/huawei/c8813q/prebuilt/system/lib/modules/pppoe.ko:system/lib/modules/pppoe.ko \
device/huawei/c8813q/prebuilt/system/lib/modules/cfg80211.ko:system/lib/modules/cfg80211.ko \
device/huawei/c8813q/prebuilt/system/lib/modules/ar6000.ko:system/lib/modules/ar6000.ko
PRODUCT_COPY_FILES += \
device/huawei/c8813q/prebuilt/system/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/huawei/c8813q/prebuilt/system/etc/audio_policy.conf:system/etc/audio_policy.conf
PRODUCT_COPY_FILES += \
device/huawei/c8813q/prebuilt/system/etc/dhcpcd/dhcpcd.conf:system/etc/dhcpcd/dhcpcd.conf \
device/huawei/c8813q/prebuilt/system/etc/AudioFilter.csv:system/etc/AudioFilter.csv \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.composition_type.sh:system/etc/init.qcom.composition_type.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.post_boot.sh:system/etc/init.qcom.post_boot.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.sdio.sh:system/etc/init.qcom.sdio.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.bt.sh:system/etc/init.qcom.bt.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.coex.sh:system/etc/init.qcom.coex.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.fm.sh:system/etc/init.qcom.fm.sh \
device/huawei/c8813q/prebuilt/system/etc/vold.fstab:system/etc/vold.fstab \
device/huawei/c8813q/prebuilt/system/etc/media_profiles.xml:system/etc/media_profiles.xml \
device/huawei/c8813q/prebuilt/system/etc/media_codecs.xml:system/etc/media_codecs.xml \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.efs.sync.sh:system/etc/init.qcom.efs.sync.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.post_fs.sh:system/etc/init.qcom.post_fs.sh \
device/huawei/c8813q/prebuilt/system/etc/init.target.8x25.sh:system/etc/init.target.8x25.sh \
device/huawei/c8813q/prebuilt/system/etc/init.qcom.thermald_conf.sh:system/etc/init.qcom.thermald_conf.sh \
device/huawei/c8813q/prebuilt/system/etc/thermald-8x25-msm1-pmic_therm.conf:system/etc/thermald-8x25-msm1-pmic_therm.conf \
device/huawei/c8813q/prebuilt/system/etc/thermald.conf:system/etc/thermald.conf \
device/huawei/c8813q/prebuilt/system/etc/init.ath3k.bt.sh:system/etc/init.ath3k.bt.sh \
device/huawei/c8813q/prebuilt/system/etc/AutoVolumeControl.txt:system/etc/AutoVolumeControl.txt \
device/huawei/c8813q/prebuilt/system/etc/qosmgr_rules.xml:system/etc/qosmgr_rules.xml
PRODUCT_COPY_FILES += \
device/huawei/c8813q/prebuilt/system/usr/idc/synaptics.idc:system/usr/idc/synaptics.idc \
device/huawei/c8813q/prebuilt/system/usr/keychars/7x27a_kp.kcm:system/usr/keychars/7x27a_kp.kcm \
device/huawei/c8813q/prebuilt/system/usr/keylayout/7x27a_kp.kl:system/usr/keylayout/7x27a_kp.kl \
device/huawei/c8813q/prebuilt/system/usr/keylayout/7k_handset.kl:system/usr/keylayout/7k_handset.kl \
device/huawei/c8813q/prebuilt/system/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
device/huawei/c8813q/prebuilt/system/usr/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
device/huawei/c8813q/prebuilt/system/usr/keylayout/atmel_mxt_ts.kl:system/usr/keylayout/atmel_mxt_ts.kl \
device/huawei/c8813q/prebuilt/system/usr/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \
device/huawei/c8813q/prebuilt/system/usr/keylayout/surf_keypad.kl:system/usr/keylayout/surf_keypad.kl
$(call inherit-product, build/target/product/full.mk)
PRODUCT_NAME := cm_c8813q
PRODUCT_DEVICE := c8813q
PRODUCT_BRAND := huawei