forked from LineageOS/android_device_sony_msm8974-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsm8974.mk
126 lines (107 loc) · 3.12 KB
/
msm8974.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
# Copyright (C) 2014 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/sony/msm8974-common
# Include msm8974-common system properties
-include $(LOCAL_PATH)/systemprop.mk
# Audio
PRODUCT_PACKAGES += \
audiod \
audio.a2dp.default \
audio.primary.msm8974 \
audio.r_submix.default \
audio.usb.default \
audio_policy.msm8974
PRODUCT_PACKAGES += \
libaudio-resampler \
libqcompostprocbundle \
libqcomvisualizer \
libqcomvoiceprocessingdescriptors \
libqcomvoiceprocessing \
tinymix
# Audio configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf
# Specific apps
PRODUCT_PACKAGES += \
Snap \
Jelly
# Display
PRODUCT_PACKAGES += \
hwcomposer.msm8974 \
gralloc.msm8974 \
copybit.msm8974 \
memtrack.msm8974 \
libgenlock \
libmemalloc \
liboverlay \
libqdutils \
libtilerenderer \
libI420colorconvert
# Ion
PRODUCT_PACKAGES += \
libion
# Lights
PRODUCT_PACKAGES += \
lights.msm8974
# Media profile
PRODUCT_COPY_FILES += \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
$(COMMON_PATH)/media_profiles.xml:system/etc/media_profiles.xml
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml
# Omx
PRODUCT_PACKAGES += \
libOmxAacEnc \
libOmxAmrEnc \
libOmxCore \
libOmxEvrcEnc \
libOmxQcelp13Enc \
libOmxVdec \
libOmxVenc \
libOmxVdecHevc \
libc2dcolorconvert \
libdivxdrmdecrypt \
libmm-omxcore \
libstagefrighthw
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay
ifneq ($(BOARD_HAVE_RADIO),false)
DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay-radio
$(call inherit-product, $(COMMON_PATH)/radio.mk)
else
DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay-wifionly
endif
# Power
PRODUCT_PACKAGES += \
power.msm8974
# Recovery
PRODUCT_PACKAGES += \
keycheck
PRODUCT_PACKAGES += \
librmnetctl \
libxml2
# Thermal management
PRODUCT_PACKAGES += \
thermanager
# Wifi
PRODUCT_PACKAGES += \
libwpa_client \
hostapd \
wpa_supplicant \
wpa_supplicant.conf
# Include non-opensource parts
$(call inherit-product, vendor/sony/msm8974-common/msm8974-common-vendor.mk)