2014-05-19 05:33:07 +02:00
|
|
|
# Copyright (C) 2012 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.
|
|
|
|
|
2014-07-25 08:04:42 +02:00
|
|
|
# Overlays
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += device/samsung/msm8974-common/overlay
|
|
|
|
|
2014-05-19 05:33:07 +02:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2014-07-25 08:04:42 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
|
2014-05-19 05:33:07 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
|
2014-07-25 08:04:42 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.consumerir.xml:system/etc/permissions/android.hardware.consumerir.xml \
|
2014-12-20 02:34:43 +01:00
|
|
|
frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \
|
2014-05-19 05:33:07 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
|
2014-07-25 08:04:42 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
|
2014-05-19 05:33:07 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
|
2014-07-25 08:04:42 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
|
2014-05-19 05:33:07 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
|
2014-07-25 08:04:42 +02:00
|
|
|
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
|
|
|
|
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
|
|
|
|
|
|
|
|
# System properties
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
audio.offload.buffer.size.kb=32 \
|
|
|
|
audio.offload.gapless.enabled=false \
|
2015-01-03 09:55:22 +01:00
|
|
|
mm.enable.qcom_parser=3314291 \
|
2014-11-29 07:40:52 +01:00
|
|
|
av.offload.enable=true
|
2014-07-25 08:04:42 +02:00
|
|
|
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.opengles.version=196608
|
|
|
|
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.rild.nitz_plmn="" \
|
|
|
|
persist.rild.nitz_long_ons_0="" \
|
|
|
|
persist.rild.nitz_long_ons_1="" \
|
|
|
|
persist.rild.nitz_long_ons_2="" \
|
|
|
|
persist.rild.nitz_long_ons_3="" \
|
|
|
|
persist.rild.nitz_short_ons_0="" \
|
|
|
|
persist.rild.nitz_short_ons_1="" \
|
|
|
|
persist.rild.nitz_short_ons_2="" \
|
|
|
|
persist.rild.nitz_short_ons_3=""
|
|
|
|
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.vendor.extension_library=/vendor/lib/libqc-opt.so
|
|
|
|
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.timed.enable=true
|
|
|
|
|
|
|
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.sys.usb.config=mtp
|
2014-05-19 05:33:07 +02:00
|
|
|
|
2015-02-14 11:00:30 +01:00
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
persist.sys.isUsbOtgEnabled=true
|
|
|
|
|
2014-05-19 05:33:07 +02:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
2014-07-25 08:04:42 +02:00
|
|
|
audiod \
|
2014-05-19 05:33:07 +02:00
|
|
|
audio_policy.msm8974 \
|
|
|
|
audio.a2dp.default \
|
2014-07-25 08:04:42 +02:00
|
|
|
audio.primary.msm8974 \
|
2014-05-19 05:33:07 +02:00
|
|
|
audio.r_submix.default \
|
2014-07-25 08:04:42 +02:00
|
|
|
audio.usb.default \
|
|
|
|
libaudio-resampler \
|
|
|
|
libqcomvisualizer \
|
2014-10-05 12:44:03 +02:00
|
|
|
libqcompostprocbundle \
|
2014-07-25 08:04:42 +02:00
|
|
|
libqcomvoiceprocessing \
|
|
|
|
tinymix
|
|
|
|
|
|
|
|
# CRDA
|
2014-05-19 05:33:07 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
2014-07-25 08:04:42 +02:00
|
|
|
crda \
|
|
|
|
linville.key.pub.pem \
|
|
|
|
regdbdump \
|
|
|
|
regulatory.bin
|
2014-05-19 05:33:07 +02:00
|
|
|
|
2014-07-25 08:04:42 +02:00
|
|
|
# Display
|
2014-05-19 05:33:07 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
copybit.msm8974 \
|
|
|
|
gralloc.msm8974 \
|
|
|
|
hwcomposer.msm8974 \
|
|
|
|
memtrack.msm8974
|
|
|
|
|
2014-07-25 08:04:42 +02:00
|
|
|
# IR
|
2014-05-19 05:33:07 +02:00
|
|
|
PRODUCT_PACKAGES += \
|
2014-07-25 08:04:42 +02:00
|
|
|
consumerir.msm8974
|
2014-05-19 05:33:07 +02:00
|
|
|
|
2014-07-25 08:04:42 +02:00
|
|
|
# Keylayouts
|
2014-05-19 05:33:07 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
device/samsung/msm8974-common/keylayout/cyttsp-i2c.kl:system/usr/keylayout/cyttsp-i2c.kl \
|
|
|
|
device/samsung/msm8974-common/keylayout/keypad_8960.kl:system/usr/keylayout/keypad_8960.kl \
|
2014-07-25 08:04:42 +02:00
|
|
|
device/samsung/msm8974-common/keylayout/Vendor_04e8_Product_7021.kl:system/usr/keylayout/Vendor_04e8_Product_7021.kl
|
2014-05-19 05:33:07 +02:00
|
|
|
|
2014-07-25 08:04:42 +02:00
|
|
|
# Media
|
2014-05-19 05:33:07 +02:00
|
|
|
PRODUCT_COPY_FILES += \
|
2014-11-17 12:12:50 +01:00
|
|
|
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 \
|
2014-07-25 08:04:42 +02:00
|
|
|
device/samsung/msm8974-common/configs/media_codecs.xml:system/etc/media_codecs.xml
|
|
|
|
|
|
|
|
# OMX
|
|
|
|
PRODUCT_PACKAGES += \
|
2015-01-18 02:15:41 +01:00
|
|
|
libc2dcolorconvert \
|
|
|
|
libdivxdrmdecrypt \
|
2014-07-25 08:04:42 +02:00
|
|
|
libdashplayer \
|
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
2015-01-18 02:15:41 +01:00
|
|
|
libOmxCore \
|
2014-07-25 08:04:42 +02:00
|
|
|
libOmxEvrcEnc \
|
|
|
|
libOmxQcelp13Enc \
|
2015-01-18 02:15:41 +01:00
|
|
|
libOmxVdec \
|
|
|
|
libOmxVdecHevc \
|
|
|
|
libOmxVenc \
|
|
|
|
libstagefrighthw \
|
|
|
|
qcmediaplayer
|
|
|
|
|
|
|
|
PRODUCT_BOOT_JARS += qcmediaplayer
|
2014-07-25 08:04:42 +02:00
|
|
|
|
|
|
|
# Power HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
power.msm8974
|
|
|
|
|
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
com.android.future.usb.accessory
|
2014-05-19 05:33:07 +02:00
|
|
|
|
|
|
|
# common msm8974
|
|
|
|
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)
|