forked from ngoquang2708/android_device_samsung_sprd-common
-
Notifications
You must be signed in to change notification settings - Fork 17
/
common.mk
84 lines (72 loc) · 2.37 KB
/
common.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
#
# Copyright (C) 2016 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)
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio.usb.default \
audio.r_submix.default \
libtinyalsa
# WiFi
PRODUCT_PACKAGES += \
dhcpcd.conf \
wpa_supplicant \
wpa_supplicant.conf \
hostapd
# Device props
PRODUCT_PROPERTY_OVERRIDES := \
keyguard.no_require_sim=true \
ro.com.android.dataroaming=false
# Compat
PRODUCT_PACKAGES += \
libstlport
# Set default USB interface
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
# Charger
PRODUCT_PACKAGES += \
charger \
charger_res_images
# Permissions
PERMISSION_XML_FILES := \
frameworks/native/data/etc/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.location.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.xml \
frameworks/native/data/etc/android.hardware.touchscreen.xml \
frameworks/native/data/etc/android.software.sip.xml \
frameworks/native/data/etc/android.software.sip.voip.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml \
PRODUCT_COPY_FILES += \
$(foreach f,$(PERMISSION_XML_FILES),$(f):system/etc/permissions/$(notdir $(f)))
# Filesystem management tools
PRODUCT_PACKAGES += \
f2fstat \
fibmap.f2fs \
fsck.f2fs \
mkfs.f2fs \
setup_fs \
# Misc packages
PRODUCT_PACKAGES += \
com.android.future.usb.accessory \
# Samsung Service Mode
PRODUCT_PACKAGES += \
SamsungServiceMode