forked from LineageOS/android_device_samsung_msm8930-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsm8930.mk
164 lines (139 loc) · 5.4 KB
/
msm8930.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# Copyright (C) 2013-2016, The CyanogenMod Project
# Copyright (C) 2017, The LineageOS 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.
# OpenGApps
TARGET_GAPPS_ARCH := arm
GAPPS_VARIANT := stock
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
# Seccomp policy
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
$(PLATFORM_PATH)/seccomp_policy/mediaextractor.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
# WPA supplicant overlay files
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/configs/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
$(PLATFORM_PATH)/configs/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
# Sensors
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/configs/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf
# Camera configurations
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/configs/external_camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/external_camera_config.xml
# Whitelisted apps
PRODUCT_COPY_FILES += \
$(PLATFORM_PATH)/configs/msm8930_power_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/msm8930_power_whitelist.xml
# Audio
PRODUCT_PACKAGES += \
android.hardware.audio@2.0-impl \
android.hardware.audio.effect@2.0-impl \
audio.a2dp.default \
audio.primary.msm8960 \
audio.r_submix.default \
audio.usb.default \
libaudio-resampler \
libqcomvoiceprocessing
# TinyAlsa utils
PRODUCT_PACKAGES += \
tinyplay \
tinycap \
tinymix \
tinypcminfo
# Display
PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@2.0-impl \
android.hardware.graphics.allocator@2.0-service \
android.hardware.graphics.composer@2.1-impl \
android.hardware.graphics.mapper@2.0-impl \
android.hardware.memtrack@1.0-impl \
copybit.msm8960 \
gralloc.msm8960 \
hwcomposer.msm8960 \
memtrack.msm8960
# Media
PRODUCT_PACKAGES += \
libc2dcolorconvert \
libmm-omxcore \
libOmxCore \
libOmxVenc \
libOmxVdec \
libOmxAacEnc \
libOmxAmrEnc \
libOmxEvrcEnc \
libOmxQcelp13Enc \
libstagefrighthw
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
camera.device@1.0-impl \
camera.msm8960
# RenderScript
PRODUCT_PACKAGES += \
android.hardware.renderscript@1.0-impl
# DRM
PRODUCT_PACKAGES += \
android.hardware.drm@1.0-impl \
android.hardware.drm@1.0-service
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl.samsung8930 \
android.hardware.sensors@1.0-service.samsung8930
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-impl
# GPS
PRODUCT_PACKAGES += \
android.hardware.gnss@1.0-impl.msm8930 \
android.hardware.gnss@1.0-service.msm8930
# Bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0-impl \
libbt-vendor
# USB
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
# WCNSS service daemon
PRODUCT_PACKAGES += \
libwcnss_qmi \
wcnss_service
# SoftAP
PRODUCT_PACKAGES += \
libQWiFiSoftApCfg \
libqsap_sdk
# WiFi
PRODUCT_PACKAGES += \
android.hardware.wifi@1.0-service \
hostapd \
libwpa_client \
wificond \
wpa_supplicant \
wpa_supplicant.conf
# Dex preopt
PRODUCT_DEXPREOPT_SPEED_APPS += \
SystemUI \
TrebuchetQuickStep
# Common overlay
DEVICE_PACKAGE_OVERLAYS += $(PLATFORM_PATH)/overlay
# Common qcom
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)