tanzanite: Switch to OSS C2 Service

Signed-off-by: Nathan <nathannxx@proton.me>
This commit is contained in:
2026-03-02 13:53:44 +00:00
parent 78fbb08ec9
commit 9a0a1f8977
5 changed files with 0 additions and 74 deletions
-53
View File
@@ -28344,15 +28344,6 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_media_c2_V1_2_default.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/manifest_media_c2_V1_2_default.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.xiaomi.sensor.citsensorservice@2.0-service.xml",
owner: "xiaomi",
@@ -28639,50 +28630,6 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.media.c2@1.2-mediatek-64b",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b",
],
shared_libs: [
"libstagefright_foundation-v33",
"libbase",
"liblog",
"libcodec2",
"libutils",
"android.hardware.media.c2@1.0",
"android.hardware.media.c2@1.1",
"android.hardware.media.c2@1.2",
"libcodec2_hidl@1.0",
"libcodec2_hidl@1.1",
"libcodec2_hidl@1.2",
"libcodec2_vndk",
"libhidlbase",
"libavservices_minijail",
"libbinder",
"libcodec2_mtk_c2store",
"libcodec2_mtk_vdec",
"libcodec2_mtk_venc",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
check_elf_files: false,
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.neuralnetworks-shim-service-mtk",
owner: "xiaomi",
@@ -1,7 +0,0 @@
service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b
class hal
user mediacodec
group camera drmrpc mediadrm media_rw sdcard_rw media system audio inet net_bt net_bt_admin net_bw_acct sdcard_r
ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance
@@ -1,11 +0,0 @@
<manifest version="1.0" type="device">
<hal>
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.2</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
-3
View File
@@ -566,7 +566,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/gnss/carrier/agps_profiles_conf2_carrier_Verizon_Wireless.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/carrier/agps_profiles_conf2_carrier_Verizon_Wireless.xml \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.4-service.widevine.rc \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/init/android.hardware.media.c2@1.2-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.media.c2@1.2-mediatek.rc \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/init/android.hardware.security.keymint-service.mitee.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint-service.mitee.rc \
vendor/xiaomi/tanzanite/proprietary/vendor/etc/init/camerahalserver.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/camerahalserver.rc \
@@ -1686,7 +1685,6 @@ PRODUCT_PACKAGES += \
manifest_apuware_hmp.xml \
manifest_apuware_utils.xml \
manifest_cameraprovider.xml \
manifest_media_c2_V1_2_default.xml \
vendor.xiaomi.sensor.citsensorservice@2.0-service.xml \
batterysecret \
ccci_mdinit \
@@ -1697,7 +1695,6 @@ PRODUCT_PACKAGES += \
gsm0710muxd \
android.hardware.drm@1.4-service.widevine \
android.hardware.gnss-service.mediatek \
android.hardware.media.c2@1.2-mediatek-64b \
android.hardware.neuralnetworks-shim-service-mtk \
android.hardware.security.keymint@1.0-service.mitee \
android.hardware.graphics.allocator@4.0-service-mediatek.mt6789 \