blob: c6cb6d09b39fb9e47d5529bced50169e76948e4a [file] [log] [blame]
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04001LOCAL_PATH := device/samsung/gprimeltecan
2$(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-vendor.mk)
3$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
4
5# Inherit from common
6$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)
7
8# Also get non-open-source specific aspects if available
9$(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-common-vendor.mk)
10
Zvikomborero VIncent Zvikaramba02209a62016-07-22 01:42:40 -040011include $(LOCAL_PATH)/keylayout/Layouts.mk
12
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040013# Common overlay
14DEVICE_PACKAGE_OVERLAYS += device/samsung/gprimeltecan/overlay
15
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040016PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040017 $(LOCAL_PATH)/dt.img:dt.img
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040018
19#Android EGL implementation
20PRODUCT_PACKAGES += libGLES_android
21
22PRODUCT_PACKAGES += libtime_genoff
23
24# ANT+
25PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040026 AntHalService \
27 antradio_app \
28 com.dsi.ant.antradio_library \
29 libantradio
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040030
Zvikomborero VIncent Zvikarambab05eac12016-07-21 22:26:10 -040031#NFC
32PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040033 Tag \
34 com.android.nfc_extras \
35 com.android.nfc.helper \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040036 NfcNci
Zvikomborero VIncent Zvikarambab05eac12016-07-21 22:26:10 -040037
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040038# Audio
39PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040040 audio.a2dp.default \
41 audio.primary.msm8916 \
42 audio.primary.default \
43 audio_policy.msm8916 \
44 audio.r_submix.default \
45 audio.usb.default \
46 audiod \
47 libaudio-resampler \
48 libqcompostprocbundle \
49 libqcomvisualizer \
50 libqcomvoiceprocessing \
51 tinymix \
52 tinyplay \
53 tinycap \
Zvikomborero VIncent Zvikaramba527fc1e2016-08-18 19:34:51 -040054 tinypcminfo
55
Zvikomborero Vincent Zvikarambafbb96d82016-07-28 22:32:34 -040056#VoLTE calling support
57PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040058 com.android.ims \
59 com.android.ims.internal \
60 ims-common \
61 voip-common
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040062
Zvikomborero VIncent Zvikaramba6a393df2016-08-02 01:18:34 -040063# Configuration
64PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040065 $(LOCAL_PATH)/configs/Diag.cfg:system/etc/Diag.cfg \
66 $(LOCAL_PATH)/configs/Diag_audio.cfg:system/etc/Diag_audio.cfg \
67 $(LOCAL_PATH)/configs/Diag_volte.cfg:system/etc/Diag_volte.cfg \
68 $(LOCAL_PATH)/configs/Diag_zero.cfg:system/etc/Diag_zero.cfg
69
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040070# Audio configuration
71PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040072 $(LOCAL_PATH)/audio/Bluetooth_cal.acdb:system/etc/Bluetooth_cal.acdb \
73 $(LOCAL_PATH)/audio/General_cal.acdb:system/etc/General_cal.acdb \
74 $(LOCAL_PATH)/audio/Global_cal.acdb:system/etc/Global_cal.acdb \
75 $(LOCAL_PATH)/audio/Handset_cal.acdb:system/etc/Handset_cal.acdb \
76 $(LOCAL_PATH)/audio/Hdmi_cal.acdb:system/etc/Hdmi_cal.acdb \
77 $(LOCAL_PATH)/audio/Headset_cal.acdb:system/etc/Headset_cal.acdb \
78 $(LOCAL_PATH)/audio/Speaker_cal.acdb:system/etc/Speaker_cal.acdb \
79 $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
80 $(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
81 $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040082
83# Boot jars
Zvikomborero VIncent Zvikaramba527fc1e2016-08-18 19:34:51 -040084PRODUCT_BOOT_JARS += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040085 tcmiface \
86 qcom.fmradio \
87 qcmediaplayer
88# oem-services \
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040089
90# Connectivity Engine support
91PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -040092 libcnefeatureconfig
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040093
Zvikomborero VIncent Zvikaramba96cc2a42016-08-19 03:15:25 -040094#Location, WiDi
95PRODUCT_PACKAGES += \
96 com.android.location.provider \
97 com.android.location.provider.xml \
98 com.android.media.remotedisplay \
99 com.android.media.remotedisplay.xml
100
Zvikomborero VIncent Zvikarambaebdf85d2016-07-25 03:16:14 -0400101#Camera
102PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba527fc1e2016-08-18 19:34:51 -0400103 libmm-qcamera \
Zvikomborero VIncent Zvikarambaebdf85d2016-07-25 03:16:14 -0400104 camera.msm8916
Zvikomborero VIncent Zvikarambaeadeb142016-07-25 20:00:40 -0400105
Zvikomborero VIncent Zvikaramba25bda1b2016-08-18 22:12:55 -0400106# Doze
107PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400108 SamsungDoze
Zvikomborero VIncent Zvikaramba25bda1b2016-08-18 22:12:55 -0400109
110# Touch issue workaround
111PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400112 InputDisabler
Zvikomborero VIncent Zvikarambaeadeb142016-07-25 20:00:40 -0400113
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400114# Display
115PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400116 copybit.msm8916 \
117 gralloc.msm8916 \
118 hwcomposer.msm8916 \
119 libtinyxml \
120 memtrack.msm8916
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400121
122# Ebtables
123PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400124 ebtables \
125 ethertypes \
126 libebtc
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400127
128# FM
129PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400130 FM2 \
131 FMRecord \
132 libqcomfm_jni \
133 qcom.fmradio
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400134
135# INIT
136PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400137 fstab.qcom \
138 init.carrier.rc \
139 init.class_main.sh \
140 init.mdm.sh \
141 init.qcom.audio.sh \
142 init.qcom.bms.sh \
143 init.qcom.bt.sh \
144 init.qcom.uicc.sh \
145 init.qcom.wifi.sh \
146 init.qcom.post_boot.sh \
147 init.qcom.class_core.sh \
148 init.qcom.early_boot.sh \
149 init.qcom.factory.sh \
150 init.qcom.syspart_fixup.sh \
151 init.qcom.usb.rc \
152 init.qcom.usb.sh \
153 init.qcom.rc \
154 init.qcom.fm.sh \
155 init.qcom.sh \
156 init.target.rc \
157 ueventd.qcom.rc \
158 init.qcom.zram.sh \
159 init.rilchip.rc \
160 init.rilcommon.rc \
161 twrp.fstab
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400162
163# Keylayout
164PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikarambadd71aff2016-07-29 01:58:21 -0400165 $(LOCAL_PATH)/keylayout/Synaptics_RMI4_TouchPad_Sensor.idc:system/usr/idc/Synaptics_RMI4_TouchPad_Sensor.idc \
166 $(LOCAL_PATH)/keylayout/Synaptics_HID_TouchPad.idc:system/usr/idc/Synaptics_HID_TouchPad.idc \
167 $(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \
168 $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \
169 $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
170 $(LOCAL_PATH)/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
171 $(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400172
173# Keystore
174PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400175 keystore.msm8916
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400176
177# libhealthd.qcom
178PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2a847cc2016-08-13 23:54:36 -0400179 libhealthd.qcom \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400180 libhealthd
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400181
182# Lights
183PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400184 lights.msm8916
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400185
186# Live Wallpapers
187PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400188 librs_jni
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400189
Zvikomborero VIncent Zvikarambadd71aff2016-07-29 01:58:21 -0400190# Default Property Overrides
Zvikomborero VIncent Zvikaramba8a1a1472016-07-25 00:45:07 -0400191PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
Zvikomborero VIncent Zvikarambaeadeb142016-07-25 20:00:40 -0400192 persist.sys.usb.config=mtp \
193 telephony.lteOnCdmaDevice=0 \
194 persist.eons.enabled=true \
195 persist.radio.apm_sim_not_pwdn=1 \
Zvikomborero VIncent Zvikarambaeadeb142016-07-25 20:00:40 -0400196 rild.libpath=/system/lib/libsec-ril.so \
197 persist.cne.feature=0 \
198 persist.radio.lte_vrte_ltd=1 \
199 persist.radio.add_power_save=1 \
Zvikomborero VIncent Zvikarambadd71aff2016-07-29 01:58:21 -0400200 camera2.portability.force_api=1 \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400201 ro.secure=0 \
202 ro.adb.secure=0 \
203 ro.debuggable=1 \
204 persist.service.adb.enable=1
Zvikomborero VIncent Zvikaramba8a1a1472016-07-25 00:45:07 -0400205
Zvikomborero VIncent Zvikaramba35c03342016-07-24 20:35:44 -0400206# GPS
Zvikomborero VIncent Zvikarambaea469272016-07-26 05:26:49 -0400207#PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400208# gps.default \
209# libloc_core \
210# libgps.utils \
211# libloc_eng \
212# libloc_api_v02
Zvikomborero VIncent Zvikaramba1ceb0d22016-07-22 13:01:44 -0400213
214#Sensors
215PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400216 sensors.default
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400217
Zvikomborero VIncent Zvikarambadd71aff2016-07-29 01:58:21 -0400218#GPS Configurations
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400219PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400220 $(LOCAL_PATH)/gps/flp.conf:system/etc/flp.conf \
221 $(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf \
222 $(LOCAL_PATH)/gps/izat.conf:system/etc/izat.conf \
223 $(LOCAL_PATH)/gps/sap.conf:system/etc/sap.conf
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400224
225# macloader
226PRODUCT_PACKAGES += macloader
227
Zvikomborero VIncent Zvikarambadd71aff2016-07-29 01:58:21 -0400228# Media configurations
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400229PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400230 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
231 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \
232 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
233 $(LOCAL_PATH)/media/media_codecs_8929.xml:system/etc/media_codecs_8929.xml \
234 $(LOCAL_PATH)/media/media_codecs_8939.xml:system/etc/media_codecs_8939.xml \
235 $(LOCAL_PATH)/media/media_codecs.xml:system/etc/media_codecs.xml \
236 $(LOCAL_PATH)/media/media_profiles.xml:system/etc/media_profiles.xml
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400237
238# MSM IRQ Balancer configuration file
239PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400240 $(LOCAL_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400241
242# Misc
243PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba9dd05462016-08-28 02:55:07 -0400244 curl \
245 libbson \
246 libcurl \
247 javax.btobex \
248 tcpdump \
249 libkeyutils \
250 libjpega \
251 libexifa \
252 charon
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400253
254# OMX
255PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400256 libdashplayer \
257 libdivxdrmdecrypt \
258 libmm-omxcore \
259 libOmxAacEnc \
260 libOmxAmrEnc \
261 libOmxCore \
262 libOmxEvrcEnc \
263 libOmxQcelp13Enc \
264 libOmxSwVencMpeg4 \
265 libOmxVdec \
266 libOmxVdecHevc \
267 libOmxVenc \
268 libOmxVidEnc \
269 libOmxVdpp \
270 libstagefrighthw \
271 qcmediaplayer
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400272
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400273# Permissions
274PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400275 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
276 frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
277 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
278 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
279 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
280 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
281 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
282 frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
283 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
284 frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
285 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
286 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
287 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
288 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \
289 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
290 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
291 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
292 frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
293 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
294 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
295 frameworks/native/data/etc/android.software.print.xml:system/etc/permissions/android.software.print.xml \
296 frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
297 frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400298
299# Power HAL
300PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikarambaed99fbe2016-08-31 17:32:20 -0400301 power.qcom
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400302
303# Prebuilt
304PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400305 $(LOCAL_PATH)/prebuilt/dsi_config.xml:system/etc/data/dsi_config.xml \
306 $(LOCAL_PATH)/prebuilt/netmgr_config.xml:system/etc/data/netmgr_config.xml \
307 $(LOCAL_PATH)/prebuilt/qmi_config.xml:system/etc/data/qmi_config.xml
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400308
309# Properties
310PRODUCT_PROPERTY_OVERRIDES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400311 ro.use_data_netmgrd=false \
312 dalvik.vm.heapgrowthlimit=128m \
313 ro.security.icd.flagmode=single \
314 ro.vendor.extension_library=libqti-perfd-client.so \
315 persist.radio.apm_sim_not_pwdn=1 \
316 persist.gps.qc_nlp_in_use=1 \
317 persist.loc.nlp_name=com.qualcomm.location \
318 ro.gps.agps_provider=1 \
319 ro.pip.gated=0 \
320 ro.product.model=SM-G530W \
321 ro.product.device=gprimeltecan \
322 cm.updater.uri=http://grandprime.ddns.net/api \
323 ro.telephony.ril_class=SamsungQcomRIL
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400324
325# Ril
326PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400327 libxml2
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400328
329# Screen density
330PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
331PRODUCT_AAPT_PREF_CONFIG := xhdpi
332
333# security config
334PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400335 $(LOCAL_PATH)/configs/sec_config:system/etc/sec_config
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400336
337# Terminal
338PRODUCT_PACKAGES += Terminal
339
340# USB
341PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400342 com.android.future.usb.accessory
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400343
Zvikomborero VIncent Zvikarambadd71aff2016-07-29 01:58:21 -0400344# Wifi configuration files
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400345PRODUCT_COPY_FILES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400346 $(LOCAL_PATH)/wifi/cred.conf:system/etc/wifi/cred.conf \
347 $(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
348 $(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
349 $(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
350 $(LOCAL_PATH)/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
351 $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
352 $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \
353 $(LOCAL_PATH)/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
354 $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini \
355 $(LOCAL_PATH)/wifi/WCNSS_qcom_wlan_nv.bin:system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
Zvikomborero VIncent Zvikaramba3c858282016-08-03 21:55:57 -0400356
357#WLAN
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400358PRODUCT_PACKAGES += \
Zvikomborero VIncent Zvikaramba2bd68732016-08-30 05:55:49 -0400359 hostapd \
360 iwconfig \
361 hostapd_cli \
362 libQWiFiSoftApCfg \
363 libqsap_sdk \
364 libwpa_client \
365 libwcnss_qmi \
366 wcnss_service \
367 wpa_supplicant
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -0400368
369# Inhert dalvik heap values from aosp
370$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)