add redroid codecs (OMX & C2)
This commit is contained in:
14
redroid.mk
14
redroid.mk
@@ -108,18 +108,9 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
|
||||
ifneq ($(REDROID_DISABLE_OMX),true)
|
||||
# Codec 1.0 requires the OMX services
|
||||
DEVICE_MANIFEST_FILE += device/redroid/android.hardware.media.omx@1.0.xml
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/redroid/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
||||
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 \
|
||||
|
||||
$(call inherit-product, hardware/redroid/omx/omx.mk)
|
||||
else
|
||||
# use Codec 2.0
|
||||
PRODUCT_PACKAGES += android.hardware.media.c2@1.2-default-service
|
||||
$(call inherit-product, hardware/redroid/c2/c2.mk)
|
||||
endif
|
||||
|
||||
|
||||
@@ -135,7 +126,6 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
|
||||
frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.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.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
|
||||
|
||||
Reference in New Issue
Block a user