add redroid codecs (OMX & C2)

This commit is contained in:
Ziyang Zhou
2022-06-11 09:10:52 +08:00
parent eb7cdf9f7f
commit fc58f231aa
4 changed files with 7 additions and 493 deletions

View File

@@ -99,6 +99,13 @@ PRODUCT_PACKAGES += \
DEVICE_MANIFEST_FILE += device/redroid/android.hardware.drm@1.2-service.clearkey.xml
ifneq ($(REDROID_DISABLE_OMX),true)
$(call inherit-product, hardware/redroid/omx/omx.mk)
else
$(call inherit-product, hardware/redroid/c2/c2.mk)
endif
PRODUCT_PACKAGES += \
android.hardware.gnss@2.0-service \
android.hardware.sensors@2.0-service.mock \
@@ -107,11 +114,6 @@ PRODUCT_PACKAGES += \
USE_XML_AUDIO_POLICY_CONF := 1
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
$(LOCAL_PATH)/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 \
frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \