2014-05-18 23:33:07 -04:00
|
|
|
# Copyright (C) 2012 The CyanogenMod Project
|
2020-01-28 08:13:36 -06:00
|
|
|
# Copyright (C) 2017-2020 The LineageOS Project
|
2014-05-18 23:33:07 -04:00
|
|
|
#
|
|
|
|
# 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-24 23:04:42 -07:00
|
|
|
# Overlays
|
2018-12-30 00:13:46 +00:00
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
|
|
device/samsung/msm8974-common/overlay \
|
|
|
|
device/samsung/msm8974-common/overlay-lineage
|
2014-07-24 23:04:42 -07:00
|
|
|
|
2014-05-18 23:33:07 -04:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
2018-08-20 06:30:23 -06:00
|
|
|
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.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.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.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.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.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.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.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.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
2014-07-24 23:04:42 -07:00
|
|
|
|
2018-02-21 21:53:05 +01:00
|
|
|
# Advanced Display
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
AdvancedDisplay
|
|
|
|
|
2019-09-16 23:56:33 +08:00
|
|
|
# APEX
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/ld.config.txt:$(TARGET_COPY_OUT_SYSTEM)/etc/swcodec/ld.config.txt
|
|
|
|
|
2014-05-18 23:33:07 -04:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
2017-10-11 19:10:52 +03:00
|
|
|
android.hardware.audio@2.0-impl \
|
|
|
|
android.hardware.audio.effect@2.0-impl \
|
2014-05-18 23:33:07 -04:00
|
|
|
audio_policy.msm8974 \
|
|
|
|
audio.a2dp.default \
|
2014-07-24 23:04:42 -07:00
|
|
|
audio.primary.msm8974 \
|
2014-05-18 23:33:07 -04:00
|
|
|
audio.r_submix.default \
|
2014-07-24 23:04:42 -07:00
|
|
|
audio.usb.default \
|
|
|
|
libaudio-resampler \
|
|
|
|
libqcomvisualizer \
|
2014-10-05 06:44:03 -04:00
|
|
|
libqcompostprocbundle \
|
2014-07-24 23:04:42 -07:00
|
|
|
libqcomvoiceprocessing \
|
|
|
|
tinymix
|
|
|
|
|
2017-12-29 11:55:55 -07:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.bluetooth@1.0-impl \
|
2018-01-26 11:27:35 +00:00
|
|
|
android.hardware.bluetooth@1.0-service \
|
2017-12-29 11:55:55 -07:00
|
|
|
libbt-vendor
|
|
|
|
|
2016-11-12 15:48:17 -07:00
|
|
|
# Boot animation
|
|
|
|
TARGET_BOOTANIMATION_HALF_RES := true
|
|
|
|
|
2014-07-24 23:04:42 -07:00
|
|
|
# Display
|
2014-05-18 23:33:07 -04:00
|
|
|
PRODUCT_PACKAGES += \
|
2017-10-11 19:10:52 +03:00
|
|
|
android.hardware.graphics.allocator@2.0-impl \
|
2017-11-11 22:59:27 +00:00
|
|
|
android.hardware.graphics.allocator@2.0-service \
|
2018-08-08 14:34:25 -04:00
|
|
|
android.hardware.graphics.composer@2.1-impl \
|
2019-02-20 12:45:08 -08:00
|
|
|
android.hardware.graphics.mapper@2.0-impl-2.1 \
|
2017-10-11 19:10:52 +03:00
|
|
|
android.hardware.memtrack@1.0-impl \
|
2018-01-26 11:27:35 +00:00
|
|
|
android.hardware.memtrack@1.0-service \
|
2014-05-18 23:33:07 -04:00
|
|
|
copybit.msm8974 \
|
|
|
|
gralloc.msm8974 \
|
|
|
|
hwcomposer.msm8974 \
|
|
|
|
memtrack.msm8974
|
|
|
|
|
2018-09-15 10:26:23 -06:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.camera.provider@2.4-impl \
|
|
|
|
camera.device@1.0-impl \
|
|
|
|
camera.msm8974 \
|
|
|
|
libxml2 \
|
|
|
|
Snap
|
|
|
|
|
2017-12-29 11:55:55 -07:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.drm@1.0-impl \
|
|
|
|
android.hardware.drm@1.0-service
|
|
|
|
|
2020-02-26 15:09:19 +01:00
|
|
|
# fastbootd
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fastbootd
|
|
|
|
|
2017-12-29 11:55:55 -07:00
|
|
|
# GPS
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-05-18 06:29:20 +02:00
|
|
|
android.hardware.gnss@1.0-impl.legacy \
|
|
|
|
android.hardware.gnss@1.0-service.legacy \
|
2018-01-18 04:22:35 -07:00
|
|
|
gps.msm8974
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/gps/etc/flp.conf:system/etc/flp.conf \
|
|
|
|
$(LOCAL_PATH)/gps/etc/gps.conf:system/etc/gps.conf \
|
|
|
|
$(LOCAL_PATH)/gps/etc/izat.conf:system/etc/izat.conf \
|
|
|
|
$(LOCAL_PATH)/gps/etc/sap.conf:system/etc/sap.conf
|
2017-12-29 11:55:55 -07:00
|
|
|
|
|
|
|
# IR Blaster
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-01-28 08:13:36 -06:00
|
|
|
android.hardware.ir@1.0-service.samsung
|
2017-12-29 11:55:55 -07:00
|
|
|
|
2014-07-24 23:04:42 -07:00
|
|
|
# Keylayouts
|
2014-05-18 23:33:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2014-07-24 23:04:42 -07:00
|
|
|
device/samsung/msm8974-common/keylayout/Vendor_04e8_Product_7021.kl:system/usr/keylayout/Vendor_04e8_Product_7021.kl
|
2014-05-18 23:33:07 -04:00
|
|
|
|
2017-12-29 11:55:55 -07:00
|
|
|
# Keymaster
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-01-26 11:27:35 +00:00
|
|
|
android.hardware.keymaster@3.0-impl \
|
|
|
|
android.hardware.keymaster@3.0-service
|
2017-12-29 11:55:55 -07:00
|
|
|
|
2020-04-10 16:54:03 -06:00
|
|
|
# Lights
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.light@2.0-service.samsung
|
|
|
|
|
2019-02-19 07:40:21 -07:00
|
|
|
# LiveDisplay
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.lineage.livedisplay@2.0-service.samsung-qcom
|
|
|
|
|
2014-07-24 23:04:42 -07:00
|
|
|
# Media
|
2014-05-18 23:33:07 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
2018-01-17 19:07:28 +02:00
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
|
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
|
|
|
|
device/samsung/msm8974-common/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml
|
2014-07-24 23:04:42 -07:00
|
|
|
|
|
|
|
# OMX
|
|
|
|
PRODUCT_PACKAGES += \
|
2015-01-18 02:15:41 +01:00
|
|
|
libc2dcolorconvert \
|
2014-07-24 23:04:42 -07:00
|
|
|
libOmxAacEnc \
|
|
|
|
libOmxAmrEnc \
|
2015-01-18 02:15:41 +01:00
|
|
|
libOmxCore \
|
2014-07-24 23:04:42 -07:00
|
|
|
libOmxEvrcEnc \
|
|
|
|
libOmxQcelp13Enc \
|
2015-01-18 02:15:41 +01:00
|
|
|
libOmxVdec \
|
|
|
|
libOmxVenc \
|
2015-11-29 20:57:13 -06:00
|
|
|
libstagefrighthw
|
2014-07-24 23:04:42 -07:00
|
|
|
|
|
|
|
# Power HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-10-05 22:50:26 +03:00
|
|
|
android.hardware.power@1.2-service-qti
|
2014-07-24 23:04:42 -07:00
|
|
|
|
2017-12-29 22:58:39 +00:00
|
|
|
# RenderScript HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.renderscript@1.0-impl
|
|
|
|
|
2017-09-14 01:01:28 -07:00
|
|
|
# Seccomp
|
|
|
|
PRODUCT_COPY_FILES += \
|
2019-09-30 13:32:04 +01:00
|
|
|
$(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
|
2017-09-14 01:01:28 -07:00
|
|
|
|
2017-12-29 11:55:55 -07:00
|
|
|
# Sensors
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-09-20 21:54:42 -06:00
|
|
|
android.hardware.sensors@1.0-impl.samsung8974 \
|
|
|
|
android.hardware.sensors@1.0-service.samsung8974
|
2017-12-29 11:55:55 -07:00
|
|
|
|
2020-05-26 20:58:17 +08:00
|
|
|
# TimeKeep
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
timekeep \
|
|
|
|
TimeKeep
|
|
|
|
|
2019-01-09 00:47:48 +01:00
|
|
|
# Touch features
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.lineage.touch@1.0-service.samsung
|
|
|
|
|
2019-01-09 18:02:45 +00:00
|
|
|
# Trust HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
vendor.lineage.trust@1.0-service
|
|
|
|
|
2017-12-29 11:55:55 -07:00
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-08-16 15:19:28 +01:00
|
|
|
android.hardware.usb@1.0-service.basic
|
2017-12-29 11:55:55 -07:00
|
|
|
|
|
|
|
# Wifi
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-10-04 23:20:42 +01:00
|
|
|
android.hardware.wifi@1.0-service.legacy \
|
2017-12-29 11:55:55 -07:00
|
|
|
hostapd \
|
|
|
|
wificond \
|
|
|
|
wpa_supplicant \
|
|
|
|
wpa_supplicant.conf
|
|
|
|
|
2017-12-31 08:45:00 -07:00
|
|
|
# Get non-open-source specific aspects
|
|
|
|
$(call inherit-product-if-exists, vendor/samsung/msm8974-common/msm8974-common-vendor.mk)
|
|
|
|
|
2014-05-18 23:33:07 -04:00
|
|
|
# common msm8974
|
|
|
|
$(call inherit-product, device/samsung/qcom-common/qcom-common.mk)
|