forked from CyanogenMod/android_device_samsung_piranha
-
Notifications
You must be signed in to change notification settings - Fork 1
/
common.mk
73 lines (63 loc) · 1.99 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
#
# Copyright (C) 2013 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.
#
COMMON_PATH := device/samsung/piranha
DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# Omap4 Packages
PRODUCT_PACKAGES += \
libedid \
libion_ti \
libstagefrighthw \
smc_pa_ctrl \
tf_daemon \
libcorkscrew \
pvrsrvinit \
libPVRScopeServices.so
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio.usb.default \
libtinyalsa \
libaudioutils \
libnetcmdiface \
tinyplay \
tinycap \
macloader \
tinymix
# Support for Browser's saved page feature. This allows
# for pages saved on previous versions of the OS to be
# viewed on the current OS.
PRODUCT_PACKAGES += \
libskia_legacy
# Filesystem management tools
PRODUCT_PACKAGES += \
static_busybox \
make_ext4fs \
setup_fs
PRODUCT_PROPERTY_OVERRIDES += \
com.ti.omap_enhancement=true \
omap.enhancement=true \
ro.telephony.ril_class=SamsungOmap4RIL \
mobiledata.interfaces=pdp0,wlan0,gprs,ppp0 \
ro.telephony.call_ring.multiple=false \
ro.telephony.call_ring.delay=3000 \
camera2.portability.force_api=1
# Set default USB interface
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
# Include omap4 specific parts
$(call inherit-product, hardware/ti/omap4xxx/omap4.mk)
# Include non-opensource parts if available
$(call inherit-product-if-exists, vendor/samsung/piranha/common-vendor.mk)