gtaxl: Regeneration with ELF prebuilts as packages

This gets rid of the comments in gtaxl-common-vendor.mk explaining the
sources of the blobs, and I'm not going to add them back, as they'll
always be in the proprietary-files.txt files in the device trees and
there have always been warnings at the top of the Android.bp and *.mk
files not to modify them, anyway.

Change-Id: I6b01ba9ceed5c098154d0cbb3dacf8e42d6dae18
This commit is contained in:
TALU 2022-08-13 20:43:49 +01:00 committed by followmsi
parent 109f153fad
commit 4f22fe14c1
3 changed files with 542 additions and 101 deletions

View file

@ -5,3 +5,509 @@
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libGLES_mali",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/egl/libGLES_mali.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/egl/libGLES_mali.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "egl",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libExynosOMX_Core.proprietary",
stem: "libExynosOMX_Core",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libExynosOMX_Core.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libExynosOMX_Core.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libExynosOMX_Resourcemanager.proprietary",
stem: "libExynosOMX_Resourcemanager",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libExynosOMX_Resourcemanager.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/libExynosOMX_Resourcemanager.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.AVC.Decoder.proprietary",
stem: "libOMX.Exynos.AVC.Decoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.AVC.Decoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.AVC.Encoder.proprietary",
stem: "libOMX.Exynos.AVC.Encoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.AVC.Encoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.HEVC.Decoder.proprietary",
stem: "libOMX.Exynos.HEVC.Decoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.HEVC.Decoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.HEVC.Decoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.HEVC.Encoder.proprietary",
stem: "libOMX.Exynos.HEVC.Encoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.HEVC.Encoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.HEVC.Encoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.MPEG4.Decoder.proprietary",
stem: "libOMX.Exynos.MPEG4.Decoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.MPEG4.Decoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.MPEG4.Decoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.MPEG4.Encoder.proprietary",
stem: "libOMX.Exynos.MPEG4.Encoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.MPEG4.Encoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.MPEG4.Encoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.VP8.Decoder.proprietary",
stem: "libOMX.Exynos.VP8.Decoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.VP8.Decoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.VP8.Decoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.VP8.Encoder.proprietary",
stem: "libOMX.Exynos.VP8.Encoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.VP8.Encoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.VP8.Encoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libOMX.Exynos.WMV.Decoder.proprietary",
stem: "libOMX.Exynos.WMV.Decoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/omx/libOMX.Exynos.WMV.Decoder.so"],
},
android_arm64: {
srcs: ["proprietary/vendor/lib64/omx/libOMX.Exynos.WMV.Decoder.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
relative_install_path: "omx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "camera.vendor.universal7870",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/hw/camera.vendor.universal7870.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "sensors.universal7870",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/hw/sensors.universal7870.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libexynoscamera",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libexynoscamera.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libexynoscamera3",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libexynoscamera3.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libsensorlistener",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libsensorlistener.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libstainkiller",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libstainkiller.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libuniplugin",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["proprietary/vendor/lib/libuniplugin.so"],
},
},
compile_multilib: "32",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libwvhidl",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libwvhidl.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libaptXHD_encoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libaptXHD_encoder.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libaptX_encoder",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/system_ext/lib64/libaptX_encoder.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.drm@1.4-service.widevine",
owner: "samsung",
srcs: ["proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine"],
check_elf_files: false,
strip: {
none: true,
},
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "wcnss_filter",
owner: "samsung",
srcs: ["proprietary/vendor/bin/wcnss_filter"],
check_elf_files: false,
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "gps.default",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/hw/gps.default.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libwrappergps",
owner: "samsung",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libwrappergps.so"],
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "gpsd",
owner: "samsung",
srcs: ["proprietary/vendor/bin/hw/gpsd"],
check_elf_files: false,
strip: {
none: true,
},
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}

View file

@ -5,114 +5,49 @@
PRODUCT_SOONG_NAMESPACES += \
vendor/samsung/gtaxlwifi
# WiFi firmware - partly from T395XXSDCVA1, partly as in T585XXS6CTJ7
# bdwlan30.bin and utfbd30.bin are as in the T585XXS6CTJ7 firmware, and are also copies of bdwlan32.bin
# and utfbd32.bin as in the T395XXSDCVA1 firmware respectively. With bdwlan30.bin and utfbd30.bin from
# the T395XXSDCVA1 firmware, WiFi regulatory domain selection doesn't work properly.
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.4-service.widevine.rc \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/Data.msc:$(TARGET_COPY_OUT_VENDOR)/firmware/Data.msc \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/bdwlan30.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/bdwlan30.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/bdwlan32.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/bdwlan32.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/Data.msc:$(TARGET_COPY_OUT_VENDOR)/firmware/Data.msc \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/fimc_is_lib.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/fimc_is_lib.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/mfc_fw.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/mfc_fw.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/nvm_tlv_tf_1.1.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/nvm_tlv_tf_1.1.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/otp30.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/otp30.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/qwlan30.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/qwlan30.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/qwlan30_ibss.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/qwlan30_ibss.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/rampatch_tlv_tf_1.1.tlv:$(TARGET_COPY_OUT_VENDOR)/firmware/rampatch_tlv_tf_1.1.tlv \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/setfile_4h5yc.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/setfile_4h5yc.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/setfile_sr259.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/setfile_sr259.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/utf30.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/utf30.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/utfbd30.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/utfbd30.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/utfbd32.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/utfbd32.bin
# Bluetooth firmware - from T395XXSDCVA1
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/nvm_tlv_tf_1.1.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/nvm_tlv_tf_1.1.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/rampatch_tlv_tf_1.1.tlv:$(TARGET_COPY_OUT_VENDOR)/firmware/rampatch_tlv_tf_1.1.tlv
# Camera firmware - from P580ZSS1CTI1
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/fimc_is_lib.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/fimc_is_lib.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/setfile_4h5yc.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/setfile_4h5yc.bin \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/setfile_sr259.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/setfile_sr259.bin
# MFC (Multi Format Codec) firmware - from A305FDDU6CUI3
# Version information: "MFC v10.11, F/W: 20yy, 08mm, 31dd"
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/firmware/mfc_fw.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/mfc_fw.bin
# Mali graphics - r28p0 - from A720SKSU5CUJ2
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/egl/libGLES_mali.so:$(TARGET_COPY_OUT_VENDOR)/lib/egl/libGLES_mali.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/egl/libGLES_mali.so:$(TARGET_COPY_OUT_VENDOR)/lib64/egl/libGLES_mali.so
# OMX - from A520FXXUGCTKA
# All references to /system/ in paths within these blobs have been replaced with /vendor/
# to get them working after moving them to vendor:
# $ sed -i "s|/system/|/vendor/|" vendor/lib*/*OMX*
# $ sed -i "s|/system/|/vendor/|" vendor/lib*/omx/*
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libExynosOMX_Core.so:$(TARGET_COPY_OUT_VENDOR)/lib/libExynosOMX_Core.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libExynosOMX_Resourcemanager.so:$(TARGET_COPY_OUT_VENDOR)/lib/libExynosOMX_Resourcemanager.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.AVC.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.AVC.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.HEVC.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.HEVC.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.HEVC.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.HEVC.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.MPEG4.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.MPEG4.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.MPEG4.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.MPEG4.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.VP8.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.VP8.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.VP8.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.VP8.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/omx/libOMX.Exynos.WMV.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib/omx/libOMX.Exynos.WMV.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/libExynosOMX_Core.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libExynosOMX_Core.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/libExynosOMX_Resourcemanager.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libExynosOMX_Resourcemanager.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.AVC.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.AVC.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.AVC.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.AVC.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.HEVC.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.HEVC.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.HEVC.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.HEVC.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.MPEG4.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.MPEG4.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.MPEG4.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.MPEG4.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.VP8.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.VP8.Decoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.VP8.Encoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.VP8.Encoder.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/omx/libOMX.Exynos.WMV.Decoder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/omx/libOMX.Exynos.WMV.Decoder.so
# Camera - from P580ZSS1CTI1
# camera.vendor.universal7870.so was taken directly from /system/lib/hw/camera.exynos7870.so
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/hw/camera.vendor.universal7870.so:$(TARGET_COPY_OUT_VENDOR)/lib/hw/camera.vendor.universal7870.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libexynoscamera.so:$(TARGET_COPY_OUT_VENDOR)/lib/libexynoscamera.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libexynoscamera3.so:$(TARGET_COPY_OUT_VENDOR)/lib/libexynoscamera3.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libsensorlistener.so:$(TARGET_COPY_OUT_VENDOR)/lib/libsensorlistener.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libuniplugin.so:$(TARGET_COPY_OUT_VENDOR)/lib/libuniplugin.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/libstainkiller.so:$(TARGET_COPY_OUT_VENDOR)/lib/libstainkiller.so
# DRM - from "bonito-user 12 SP2A.220405.003 8210211 release-keys"
# Modifcations made:
# * The libprotobuf-cpp-lite-3.9.1.so dependency in libwvhidl.so
# has been replaced with libprotobuf-cpp-lite.so:
# $ patchelf --replace-needed libprotobuf-cpp-lite-3.9.1.so libprotobuf-cpp-lite.so libwvhidl.so
# * The useless vendor.move_data_sh service has been removed from
# android.hardware.drm@1.4-service.widevine.rc
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/libwvhidl.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libwvhidl.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.4-service.widevine.rc \
vendor/samsung/gtaxlwifi/proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.drm@1.4-service.widevine
# aptX - from "bonito-user 12 SP2A.220405.003 8210211 release-keys"
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/system_ext/lib64/libaptX_encoder.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libaptX_encoder.so \
vendor/samsung/gtaxlwifi/proprietary/system_ext/lib64/libaptXHD_encoder.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libaptXHD_encoder.so
# GPS - gpsd and gps.default.so from A810SKSS2CTI1, libwrappergps.so from P610XXU2DVA6
# Modifications made to gpsd to get it to run:
# * SSLv3_client_method has been replaced with SSLv23_method:
# $ sed -i "s/SSLv3_client_method/SSLv23_method\x00\x00\x00\x00\x00\x00/" gpsd
# * The android.hidl.base@1.0 dependency has been removed using patchelf:
# $ patchelf --remove-needed android.hidl.base@1.0.so gpsd
# No modifications were made to gps.default.so and libwrappergps.so.
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/hw/gps.default.so:$(TARGET_COPY_OUT_VENDOR)/lib64/hw/gps.default.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib64/libwrappergps.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libwrappergps.so \
vendor/samsung/gtaxlwifi/proprietary/vendor/bin/hw/gpsd:$(TARGET_COPY_OUT_VENDOR)/bin/hw/gpsd
# Sensors - from P580ZSS1CTI1
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/lib/hw/sensors.universal7870.so:$(TARGET_COPY_OUT_VENDOR)/lib/hw/sensors.universal7870.so
# wcnss_filter - for Bluetooth - not from any stock firmware, built from source
PRODUCT_COPY_FILES += \
vendor/samsung/gtaxlwifi/proprietary/vendor/bin/wcnss_filter:$(TARGET_COPY_OUT_VENDOR)/bin/wcnss_filter
PRODUCT_PACKAGES += \
libGLES_mali \
libExynosOMX_Core.proprietary \
libExynosOMX_Resourcemanager.proprietary \
libOMX.Exynos.AVC.Decoder.proprietary \
libOMX.Exynos.AVC.Encoder.proprietary \
libOMX.Exynos.HEVC.Decoder.proprietary \
libOMX.Exynos.HEVC.Encoder.proprietary \
libOMX.Exynos.MPEG4.Decoder.proprietary \
libOMX.Exynos.MPEG4.Encoder.proprietary \
libOMX.Exynos.VP8.Decoder.proprietary \
libOMX.Exynos.VP8.Encoder.proprietary \
libOMX.Exynos.WMV.Decoder.proprietary \
camera.vendor.universal7870 \
sensors.universal7870 \
libexynoscamera \
libexynoscamera3 \
libsensorlistener \
libstainkiller \
libuniplugin \
libwvhidl \
libaptXHD_encoder \
libaptX_encoder \
android.hardware.drm@1.4-service.widevine \
wcnss_filter \
gps.default \
libwrappergps \
gpsd

0
proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine vendored Executable file → Normal file
View file