forked from superior-code/android_device_samsung_piranha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.mk
82 lines (69 loc) · 2.1 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
#
# 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.
#
# Include common omap4 makefile
$(call inherit-product, hardware/ti/omap4/omap4.mk)
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
# Packages
PRODUCT_PACKAGES += \
audio.primary.piranha \
camera.piranha \
lights.piranha \
power.piranha \
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
# RIL
PRODUCT_PACKAGES += \
libsecril-client \
libxml2
# Samsung symbols
PRODUCT_PACKAGES += \
libsamsung_symbols \
ril-wrapper
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 non-opensource parts if available
$(call inherit-product-if-exists, vendor/samsung/piranha/common-vendor.mk)