Skip to content

Commit

Permalink
Move Codec2.0 software codecs into mediacodec
Browse files Browse the repository at this point in the history
Test: adb bugreport

Bug: 78206546
Change-Id: I89b2f942de9464fa09d26257170d4558ee03b0b2
  • Loading branch information
Pawin Vongmasa committed Apr 25, 2018
1 parent fbbf14c commit dc8a36e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/init/healthd.rc)
# Remove KM3 RC
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.keymaster@3.0-service-qti.rc)

# Remove Codec2.0 software process
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/hw/hardware.google.media.c2@1.0-service-software)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/hardware.google.media.c2@1.0-service-software.rc)

7 changes: 3 additions & 4 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ PRODUCT_PACKAGES += \

# Enable Codec 2.0
PRODUCT_PACKAGES += \
vendor.qti.media.c2@1.0-service \
libmedia_codecserviceregistrant \
libqcodec2 \
hardware.google.media.c2@1.0-service-software \
libstagefright_ccodec
libstagefright_ccodec \
vendor.qti.media.c2@1.0-service \

PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \
Expand Down Expand Up @@ -525,7 +525,6 @@ PRODUCT_COPY_FILES += \

# Vendor seccomp policy files for media components:
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/seccomp_policy/codec2.software.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.software.ext.policy \
$(LOCAL_PATH)/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy \
$(LOCAL_PATH)/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy

Expand Down
9 changes: 0 additions & 9 deletions seccomp_policy/codec2.software.ext.policy

This file was deleted.

0 comments on commit dc8a36e

Please sign in to comment.