-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice.mk
91 lines (77 loc) · 2.61 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
#
# 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.
#
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=131072
PRODUCT_PROPERTY_OVERRIDES += \
hwui.render_dirty_regions=false
DEVICE_PACKAGE_OVERLAYS := \
device/via/common/overlay
# Email/Mms
PRODUCT_PACKAGES += \
Email \
Mms \
Utk
# Charger mode
PRODUCT_PACKAGES += \
charger \
charger_res_images
# USB accessory
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
PRODUCT_COPY_FILES += \
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
# Location
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.location.xml:system/etc/permissions/android.hardware.location.xml
# Camera
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml
# WiFi
PRODUCT_PACKAGES += \
netd_mt7601 \
netd_mtk6620
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
# WiFi NMI NNC1000
PRODUCT_PACKAGES += \
wifi_firmware7.2.bin \
wifi_firmware_ap7.2.bin \
wifi_firmware6.21.bin \
wifi_firmware7.0.bin \
wifi_firmware_ap7.0.bin \
wifi_firmware7.01.bin \
wifi_firmware7.02.bin \
wifi_firmware7.03.bin \
wifi_firmware7.04.bin \
wifi_firmware_ap7.04.bin \
wifi_firmware7.11.bin \
wifi_firmware_ap7.11.bin \
WifiSupport
# Sensor
PRODUCT_PACKAGES += \
sensors.wmt
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml
# SpeechRecorder
PRODUCT_PACKAGES += \
libsrec_jni
# default add this for easy debug.
PRODUCT_PACKAGES += \
tcpdump