diff options
Diffstat (limited to 'device-common.mk')
-rw-r--r-- | device-common.mk | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/device-common.mk b/device-common.mk index 6fffd07..ec124cb 100644 --- a/device-common.mk +++ b/device-common.mk @@ -131,11 +131,20 @@ PRODUCT_COPY_FILES += \ frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml +# V4L2-Codec2 +PRODUCT_PACKAGES += \ + android.hardware.media.c2@1.0-service-v4l2:64 \ + libv4l2_codec2_components \ + libv4l2_codec2_store + +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy + # Copy media codecs config file PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/etc/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ frameworks/av/media/libeffects/data/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ + $(LOCAL_PATH)/etc/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml PRODUCT_COPY_FILES += \ @@ -182,4 +191,6 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.software.device_admin.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_admin.xml -PRODUCT_SOONG_NAMESPACES += external/mesa3d +PRODUCT_SOONG_NAMESPACES += \ + external/mesa3d \ + external/v4l2_codec2 |