Compile OMX from source

Change-Id: I0e55d49e96423a9473059cf9000b0114b903d277
This commit is contained in:
bgcngm 2021-07-10 17:15:17 +02:00 committed by Giammarco Senatore
parent fabcf684e4
commit 6cf2b4f8cd
No known key found for this signature in database
GPG key ID: 661348FC1E144F04
2 changed files with 16 additions and 1 deletions

View file

@ -52,6 +52,9 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth
# Camera
TARGET_USES_QTI_CAMERA_DEVICE := true
# Display
TARGET_USES_ION := true
# Filesystem
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs

View file

@ -165,7 +165,16 @@ endif
# Media
PRODUCT_PACKAGES += \
libmediaplayerservice
libc2dcolorconvert \
libOmxAacEnc \
libOmxAmrEnc \
libOmxCore \
libOmxEvrcEnc \
libOmxG711Enc \
libOmxQcelp13Enc \
libOmxVdec \
libOmxVenc \
libstagefrighthw
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
@ -175,6 +184,9 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
$(LOCAL_PATH)/configs/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml
PRODUCT_PACKAGES += \
libmediaplayerservice
# Native libraries whitelist
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt