diff --git a/device-oriole.mk b/device-oriole.mk index dcee663..1b38a6a 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -217,3 +217,16 @@ PRODUCT_VENDOR_PROPERTIES += \ # This device is shipped with 31 (Android S) PRODUCT_SHIPPING_API_LEVEL := 31 + +############################################## +# DOLBY integration +include vendor/dolby/ds/dolby-buildspec.mk +$(call inherit-product, vendor/dolby/ds/dolby-product.mk) + +# add list of codecs, but overwrite device/google/gs101/media_codecs_bo_c2.xml +# with same file but with Dolby codecs listed +PRODUCT_COPY_FILES := \ + device/google/raviole/media_codecs_bo_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ + $(PRODUCT_COPY_FILES) + +PRODUCT_RESTRICT_VENDOR_FILES := false diff --git a/device-raven.mk b/device-raven.mk index 1075248..aab8381 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -233,3 +233,16 @@ PRODUCT_VENDOR_PROPERTIES += \ # This device is shipped with 31 (Android S) PRODUCT_SHIPPING_API_LEVEL := 31 + +############################################# +# DOLBY integration +include vendor/dolby/ds/dolby-buildspec.mk +$(call inherit-product, vendor/dolby/ds/dolby-product.mk) + +# add list of codecs, but overwrite device/google/gs101/media_codecs_bo_c2.xml +# with same file but with Dolby codecs listed +PRODUCT_COPY_FILES := \ + device/google/raviole/media_codecs_bo_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ + $(PRODUCT_COPY_FILES) + +PRODUCT_RESTRICT_VENDOR_FILES := false diff --git a/media_codecs_bo_dolby_c2.xml b/media_codecs_bo_dolby_c2.xml new file mode 100644 index 0000000..3197674 --- /dev/null +++ b/media_codecs_bo_dolby_c2.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +