gale: Sync ims changes from device tree
This commit is contained in:
30 files changed
+292
-210
No files matched your search
+274
-199
@@ -13968,6 +13968,253 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmtk_vt_wrapper",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib/libmtk_vt_wrapper.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libandroid_runtime",
|
||||
"libbinder",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libnativehelper",
|
||||
"libfmq",
|
||||
"libbinder_ndk",
|
||||
"vendor.mediatek.hardware.videotelephony@1.0",
|
||||
"vendor.mediatek.hardware.videotelephony-V1-ndk",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libui",
|
||||
"libgui",
|
||||
"libmedia",
|
||||
"libvcodec_cap",
|
||||
"liblog",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/libmtk_vt_wrapper.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libandroid_runtime",
|
||||
"libbinder",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libnativehelper",
|
||||
"libfmq",
|
||||
"libbinder_ndk",
|
||||
"vendor.mediatek.hardware.videotelephony@1.0",
|
||||
"vendor.mediatek.hardware.videotelephony-V1-ndk",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libui",
|
||||
"libgui",
|
||||
"libmedia",
|
||||
"libvcodec_cap",
|
||||
"liblog",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libvcodec_cap",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib/libvcodec_cap.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libui",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libbinder",
|
||||
"libexpat",
|
||||
"liblog",
|
||||
"libvcodec_capenc",
|
||||
"libstagefright_omx_utils",
|
||||
"libstagefright_foundation",
|
||||
"libion",
|
||||
"android.hardware.graphics.bufferqueue@2.0",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/libvcodec_cap.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libui",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libbinder",
|
||||
"libexpat",
|
||||
"liblog",
|
||||
"libvcodec_capenc",
|
||||
"libstagefright_omx_utils",
|
||||
"libstagefright_foundation",
|
||||
"libion",
|
||||
"android.hardware.graphics.bufferqueue@2.0",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libvcodec_capenc",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib/libvcodec_capenc.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libion",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/libvcodec_capenc.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libion",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.mediatek.hardware.videotelephony-V1-ndk",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib/vendor.mediatek.hardware.videotelephony-V1-ndk.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"android.hardware.common-V2-ndk",
|
||||
"android.hardware.common.fmq-V1-ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/vendor.mediatek.hardware.videotelephony-V1-ndk.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"android.hardware.common-V2-ndk",
|
||||
"android.hardware.common.fmq-V1-ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.mediatek.hardware.videotelephony@1.0",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib/vendor.mediatek.hardware.videotelephony@1.0.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/vendor.mediatek.hardware.videotelephony@1.0.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libaudiotoolkit",
|
||||
owner: "xiaomi",
|
||||
@@ -14360,46 +14607,6 @@ cc_prebuilt_library_shared {
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmtk_vt_wrapper",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/libmtk_vt_wrapper.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libandroid_runtime",
|
||||
"libbinder",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libnativehelper",
|
||||
"libfmq",
|
||||
"libbinder_ndk",
|
||||
"vendor.mediatek.hardware.videotelephony@1.0",
|
||||
"vendor.mediatek.hardware.videotelephony-V1-ndk",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libui",
|
||||
"libgui",
|
||||
"libmedia",
|
||||
"libvcodec_cap",
|
||||
"liblog",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libsignal",
|
||||
owner: "xiaomi",
|
||||
@@ -14479,7 +14686,6 @@ cc_prebuilt_library_shared {
|
||||
"proprietary/system_ext/lib64/libsource.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libui_shim",
|
||||
"libbinder",
|
||||
"libcutils",
|
||||
"libgui",
|
||||
@@ -14507,67 +14713,6 @@ cc_prebuilt_library_shared {
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libvcodec_cap",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/libvcodec_cap.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libui",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
"libbinder",
|
||||
"libexpat",
|
||||
"liblog",
|
||||
"libvcodec_capenc",
|
||||
"libstagefright_omx_utils",
|
||||
"libstagefright_foundation",
|
||||
"libion",
|
||||
"android.hardware.graphics.bufferqueue@2.0",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libvcodec_capenc",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/libvcodec_capenc.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libion",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libvsim-adaptor-client",
|
||||
owner: "xiaomi",
|
||||
@@ -14622,61 +14767,6 @@ cc_prebuilt_library_shared {
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.mediatek.hardware.videotelephony-V1-ndk",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/vendor.mediatek.hardware.videotelephony-V1-ndk.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbinder_ndk",
|
||||
"android.hardware.common-V2-ndk",
|
||||
"android.hardware.common.fmq-V1-ndk",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.mediatek.hardware.videotelephony@1.0",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm64: {
|
||||
srcs: [
|
||||
"proprietary/system_ext/lib64/vendor.mediatek.hardware.videotelephony@1.0.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
prefer: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "EngineerMode",
|
||||
owner: "xiaomi",
|
||||
@@ -14700,6 +14790,30 @@ android_app_import {
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "MtkGbaService",
|
||||
owner: "xiaomi",
|
||||
apk: "proprietary/system_ext/priv-app/MtkGbaService/MtkGbaService.apk",
|
||||
certificate: "platform",
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "MtkTelephonyAssist",
|
||||
owner: "xiaomi",
|
||||
apk: "proprietary/system_ext/priv-app/MtkTelephonyAssist/MtkTelephonyAssist.apk",
|
||||
certificate: "platform",
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "com.tms.cosdl",
|
||||
owner: "xiaomi",
|
||||
@@ -14716,22 +14830,6 @@ dex_import {
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-common",
|
||||
owner: "xiaomi",
|
||||
jars: [
|
||||
"proprietary/system/framework/mediatek-common.jar",
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-framework",
|
||||
owner: "xiaomi",
|
||||
jars: [
|
||||
"proprietary/system/framework/mediatek-framework.jar",
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-ims-base",
|
||||
owner: "xiaomi",
|
||||
@@ -14740,30 +14838,6 @@ dex_import {
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-ims-common",
|
||||
owner: "xiaomi",
|
||||
jars: [
|
||||
"proprietary/system/framework/mediatek-ims-common.jar",
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-ims-extension-plugin",
|
||||
owner: "xiaomi",
|
||||
jars: [
|
||||
"proprietary/system/framework/mediatek-ims-extension-plugin.jar",
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-telecom-common",
|
||||
owner: "xiaomi",
|
||||
jars: [
|
||||
"proprietary/system/framework/mediatek-telecom-common.jar",
|
||||
],
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-telephony-base",
|
||||
owner: "xiaomi",
|
||||
@@ -14773,11 +14847,12 @@ dex_import {
|
||||
}
|
||||
|
||||
dex_import {
|
||||
name: "mediatek-telephony-common",
|
||||
name: "mediatek-ims-extension-plugin",
|
||||
owner: "xiaomi",
|
||||
jars: [
|
||||
"proprietary/system/framework/mediatek-telephony-common.jar",
|
||||
"proprietary/system_ext/framework/mediatek-ims-extension-plugin.jar",
|
||||
],
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
||||
prebuilt_etc_xml {
|
||||
|
||||
+13
-11
@@ -9,6 +9,7 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/gale/proprietary/system/etc/permissions/com.tms.cosdl.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.tms.cosdl.xml \
|
||||
vendor/xiaomi/gale/proprietary/system/etc/permissions/com.tms.nfc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.tms.nfc.xml \
|
||||
vendor/xiaomi/gale/proprietary/system_ext/etc/init/init.vtservice.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/init.vtservice.rc \
|
||||
vendor/xiaomi/gale/proprietary/system_ext/etc/sysconfig/com.mediatek.ims.config.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/com.mediatek.ims.config.xml \
|
||||
vendor/xiaomi/gale/proprietary/vendor/etc/SEC_THN31_FW_VTP.txt.bin:$(TARGET_COPY_OUT_VENDOR)/etc/SEC_THN31_FW_VTP.txt.bin \
|
||||
vendor/xiaomi/gale/proprietary/vendor/etc/audio_param/AudioParamOptions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_param/AudioParamOptions.xml \
|
||||
vendor/xiaomi/gale/proprietary/vendor/etc/audio_param/AudioParamOptions_vext.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_param/AudioParamOptions_vext.xml \
|
||||
@@ -956,6 +957,11 @@ PRODUCT_PACKAGES += \
|
||||
vendor.tms.tmsnfc@1.0 \
|
||||
vendor.tms.tmsnfc_aidl-V1-ndk \
|
||||
wechat.beanpod \
|
||||
libmtk_vt_wrapper \
|
||||
libvcodec_cap \
|
||||
libvcodec_capenc \
|
||||
vendor.mediatek.hardware.videotelephony-V1-ndk \
|
||||
vendor.mediatek.hardware.videotelephony@1.0 \
|
||||
libaudiotoolkit \
|
||||
libcomutils \
|
||||
libem_aoltest_jni \
|
||||
@@ -968,28 +974,20 @@ PRODUCT_PACKAGES += \
|
||||
libimsma_rtp \
|
||||
libimsma_socketwrapper \
|
||||
libmtk_vt_service \
|
||||
libmtk_vt_wrapper \
|
||||
libsignal \
|
||||
libsink-mtk \
|
||||
libsource \
|
||||
libvcodec_cap \
|
||||
libvcodec_capenc \
|
||||
libvsim-adaptor-client \
|
||||
libvt_avsync \
|
||||
vendor.mediatek.hardware.videotelephony-V1-ndk \
|
||||
vendor.mediatek.hardware.videotelephony@1.0 \
|
||||
EngineerMode \
|
||||
ImsService \
|
||||
MtkGbaService \
|
||||
MtkTelephonyAssist \
|
||||
com.tms.cosdl \
|
||||
com.tms.nfc \
|
||||
mediatek-common \
|
||||
mediatek-framework \
|
||||
mediatek-ims-base \
|
||||
mediatek-ims-common \
|
||||
mediatek-ims-extension-plugin \
|
||||
mediatek-telecom-common \
|
||||
mediatek-telephony-base \
|
||||
mediatek-telephony-common \
|
||||
mediatek-ims-extension-plugin \
|
||||
android.hardware.tetheroffload-V1-service.xml \
|
||||
gnss-mtk.xml \
|
||||
gnss@2.1-service.xml \
|
||||
@@ -1055,3 +1053,7 @@ PRODUCT_PACKAGES += \
|
||||
vendor_lib64_libdpframework_so \
|
||||
vendor_lib64_libmtk_drvb_so \
|
||||
vendor_lib64_libpq_prot_so
|
||||
|
||||
PRODUCT_BOOT_JARS += \
|
||||
mediatek-ims-base \
|
||||
mediatek-telephony-base
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- These are configurations that must exist on all GMS devices. -->
|
||||
<config>
|
||||
<allow-ignore-location-settings package="com.mediatek.ims" attributionTag="*" />
|
||||
</config>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user