| # 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_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/29/etc/audio_policy_configuration.xml \ |
| $(LOCAL_PATH)/configs/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/30/etc/audio_policy_configuration.xml \ |
| $(LOCAL_PATH)/configs/audio_effects.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/29/etc/audio_effects_sec.xml \ |
| $(LOCAL_PATH)/configs/audio_effects.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/30/etc/audio_effects_sec.xml |
| |
| # Bluetooth |
| PRODUCT_PACKAGES += \ |
| audio.a2dp.default |
| |
| # Boot animation |
| TARGET_SCREEN_HEIGHT := 2340 |
| TARGET_SCREEN_WIDTH := 1080 |
| |
| # FastCharge |
| PRODUCT_PACKAGES += \ |
| lineage.fastcharge@1.0-service.samsung |
| |
| # Init |
| PRODUCT_PACKAGES += \ |
| init.universal7904.rc \ |
| init.usb_accessory.rc \ |
| fstab.enableswap |
| |
| # 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 |
| |
| # Recovery |
| PRODUCT_PACKAGES += \ |
| fastbootd \ |
| init.recovery.exynos7904.rc |
| |
| # SamsungDoze |
| PRODUCT_PACKAGES += \ |
| SamsungDoze |
| |
| # Sensors |
| PRODUCT_PACKAGES += \ |
| android.hardware.sensors@1.0-impl.samsung-universal7904 |
| |
| # Skip Mount |
| PRODUCT_COPY_FILES += \ |
| build/target/product/gsi/gsi_skip_mount.cfg:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/config/skip_mount.cfg |
| |
| # Soong namespaces |
| PRODUCT_SOONG_NAMESPACES += \ |
| $(LOCAL_PATH) |
| |
| # Trust HAL |
| PRODUCT_PACKAGES += \ |
| lineage.trust@1.0-service |
| |
| # Touch |
| PRODUCT_PACKAGES += \ |
| lineage.touch@1.0-service.samsung |
| |
| # Wifi |
| PRODUCT_PACKAGES += \ |
| TetheringConfigOverlay |
| |
| # VNDK |
| PRODUCT_EXTRA_VNDK_VERSIONS := 29 |
| |
| PRODUCT_COPY_FILES += \ |
| $(LOCAL_PATH)/configs/vndkcore.libraries.29.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/apex/com.android.vndk.v29/etc/vndkcore.libraries.29.txt \ |
| $(LOCAL_PATH)/configs/vndkprivate.libraries.29.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/apex/com.android.vndk.v29/etc/vndkprivate.libraries.29.txt \ |
| $(LOCAL_PATH)/configs/placeholder:$(TARGET_COPY_OUT_SYSTEM_EXT)/apex/com.android.vndk.v29/lib/libstagefright_foundation.so |