| # Call proprietary blob setup |
| $(call inherit-product-if-exists, vendor/samsung/universal7904-common/universal7904-common-vendor.mk) |
| |
| # Screen density |
| PRODUCT_AAPT_CONFIG := normal |
| PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| |
| # Audio |
| TARGET_EXCLUDES_AUDIOFX := true |
| |
| PRODUCT_PACKAGES += \ |
| android.hardware.audio@2.0-impl \ |
| android.hardware.audio.service \ |
| android.hardware.audio.effect@2.0-impl \ |
| libeffects \ |
| libtinycompress \ |
| audio.r_submix.default \ |
| audio.usb.default |
| |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| $(LOCAL_PATH)/configs/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml |
| |
| # Bluetooth |
| PRODUCT_PACKAGES += \ |
| android.hardware.bluetooth@1.0-impl \ |
| android.hardware.bluetooth@1.0-service \ |
| audio.a2dp.default |
| |
| # Boot animation |
| TARGET_SCREEN_HEIGHT := 2340 |
| TARGET_SCREEN_WIDTH := 1080 |
| |
| # Camera |
| PRODUCT_PACKAGES += \ |
| android.hardware.camera.provider@2.5-service |
| |
| # DRM |
| PRODUCT_PACKAGES += \ |
| android.hardware.drm@1.0-impl \ |
| android.hardware.drm@1.0-service \ |
| android.hardware.drm@1.3-service.clearkey |
| |
| # FastCharge |
| PRODUCT_PACKAGES += \ |
| vendor.lineage.fastcharge@1.0-service.samsung |
| |
| # Figerprint |
| PRODUCT_PACKAGES += \ |
| android.hardware.biometrics.fingerprint@2.1-service.samsung |
| |
| # Gatekeeper |
| PRODUCT_PACKAGES += \ |
| android.hardware.gatekeeper@1.0-impl \ |
| android.hardware.gatekeeper@1.0-service |
| |
| # Graphics |
| 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.composer@2.1-service \ |
| android.hardware.graphics.mapper@2.0-impl \ |
| libgui_vendor |
| |
| # Health |
| PRODUCT_PACKAGES += \ |
| android.hardware.health@2.0-impl \ |
| android.hardware.health@2.0-service |
| |
| # HIDL |
| PRODUCT_PACKAGES += \ |
| libhidltransport \ |
| libhidltransport.vendor \ |
| libhwbinder \ |
| libhwbinder.vendor \ |
| libunwindstack.vendor |
| |
| # Init |
| PRODUCT_PACKAGES += \ |
| init.usb_accessory.rc \ |
| fstab.enableswap \ |
| init.exynos7904.rc |
| |
| # Keymaster |
| PRODUCT_PACKAGES += \ |
| android.hardware.keymaster@3.0-service \ |
| android.hardware.keymaster@3.0-impl \ |
| libkeymaster3device |
| |
| # Light |
| PRODUCT_PACKAGES += \ |
| android.hardware.light@2.0-service.samsung |
| |
| # Memtrack |
| PRODUCT_PACKAGES += \ |
| android.hardware.memtrack@1.0-impl \ |
| android.hardware.memtrack@1.0-service |
| |
| # NFC |
| PRODUCT_PACKAGES += \ |
| libnfc-nci \ |
| libnfc_nci_jni \ |
| NfcNci \ |
| Tag |
| |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/libnfc-nci.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/libnfc-nci.conf \ |
| $(LOCAL_PATH)/configs/nfc_key:$(TARGET_COPY_OUT_SYSTEM)/etc/nfc_key \ |
| $(LOCAL_PATH)/configs/nfcee_access.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/nfcee_access.xml |
| |
| # Net |
| PRODUCT_PACKAGES += \ |
| netutils-wrapper-1.0 |
| |
| # Overlays |
| DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay |
| DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage |
| |
| # Permissions |
| PRODUCT_COPY_FILES += \ |
| frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.ethernet.xml \ |
| frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.fingerprint.xml \ |
| frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| frameworks/native/data/etc/android.software.controls.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.controls.xml \ |
| $(LOCAL_PATH)/configs/permissions/platform-samsung.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/platform-samsung.xml \ |
| |
| # Power |
| PRODUCT_PACKAGES += \ |
| android.hardware.power@1.0-service.universal7904 |
| |
| # Protobuf |
| PRODUCT_PACKAGES += \ |
| libprotobuf-cpp-full-vendorcompat \ |
| libprotobuf-cpp-lite-vendorcompat |
| |
| # Public Libraries |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt |
| |
| # Recovery |
| PRODUCT_PACKAGES += \ |
| fastbootd \ |
| init.recovery.exynos7904.rc |
| |
| # Renderscript |
| PRODUCT_PACKAGES += \ |
| android.hardware.renderscript@1.0-impl |
| |
| # SamsungDoze |
| PRODUCT_PACKAGES += \ |
| SamsungDoze |
| |
| # Sensors |
| PRODUCT_PACKAGES += \ |
| android.hardware.sensors@1.0-impl.samsung \ |
| android.hardware.sensors@1.0-service |
| |
| # Skip Mount |
| PRODUCT_COPY_FILES += \ |
| build/target/product/gsi/gsi_skip_mount.cfg:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/config/skip_mount.cfg |
| |
| # Shims |
| PRODUCT_PACKAGES += \ |
| libshim_stagefright_foundation \ |
| libcamera_metadata_helper |
| |
| # Soong namespaces |
| PRODUCT_SOONG_NAMESPACES += \ |
| $(LOCAL_PATH) |
| |
| # Soundtrigger |
| PRODUCT_PACKAGES += \ |
| android.hardware.soundtrigger@2.0-impl |
| |
| # Thermal |
| PRODUCT_PACKAGES += \ |
| android.hardware.thermal@1.0-impl \ |
| android.hardware.thermal@1.0-service |
| |
| # Trust HAL |
| PRODUCT_PACKAGES += \ |
| vendor.lineage.trust@1.0-service |
| |
| # Touch |
| PRODUCT_PACKAGES += \ |
| vendor.lineage.touch@1.0-service.samsung |
| |
| # USB |
| PRODUCT_PACKAGES += \ |
| android.hardware.usb@1.1-service.typec |
| |
| # VNDK |
| PRODUCT_COPY_FILES += \ |
| prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcutils-v29.so \ |
| prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcutils-v29.so |
| |
| # Wifi |
| PRODUCT_PACKAGES += \ |
| TetheringConfigOverlay |