forked from CyanogenMod/android_device_sony_msm8974-common
/
msm8974.mk
89 lines (73 loc) · 2.42 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
# 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.
# inherit from qcom-common
$(call inherit-product, device/sony/qcom-common/qcom-common.mk)
COMMON_PATH := device/sony/msm8974-common
# 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 \
libqcomvoiceprocessing \
tinymix
# Audio configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf
# Camera
PRODUCT_PACKAGES += \
CameraWorkaround
PRODUCT_PACKAGES += \
libcutilz
PRODUCT_PROPERTY_OVERRIDES += \
camera2.portability.force_api=1
# Display
PRODUCT_PACKAGES += \
hwcomposer.msm8974 \
gralloc.msm8974 \
copybit.msm8974 \
memtrack.msm8974
# Ion
PRODUCT_PACKAGES += \
libion
# Lights
PRODUCT_PACKAGES += \
lights.msm8974
# Media profile
PRODUCT_COPY_FILES += \
frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml:system/etc/media_codecs_ffmpeg.xml \
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_codecs.xml:system/etc/media_codecs.xml
# Media
PRODUCT_PACKAGES += \
qcmediaplayer
PRODUCT_BOOT_JARS += \
qcmediaplayer
# 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)
endif
# Thermal management
PRODUCT_PACKAGES += \
thermanager