gale: Kang TMS NFC stack from zircon

Signed-off-by: wulan17 <wulan17@komodos.id>
This commit is contained in:
wulan17 committed 2025-07-13 16:59:58 +07:00
1 parent 762549c2e2
commit 0205097800
19 files changed
+252 -243

No files matched your search

+244 -212
View File
@@ -5943,41 +5943,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "7816-3-T1",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/7816-3-T1.so",
],
shared_libs: [
"vendor.tms.tmsnfc@1.0",
"libbinder_ndk",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libbase",
"android.hardware.nfc@1.0",
"libutilscallstack",
"tms-utils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "android.hardware.camera.provider@2.6-impl-mediatek",
owner: "xiaomi",
@@ -13992,46 +13957,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "nfc_nci.thn31nfc.tms",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/nfc_nci.thn31nfc.tms.so",
],
shared_libs: [
"libbase_shim",
"android.hardware.nfc@1.0",
"android.hardware.nfc@1.1",
"android.hardware.nfc@1.2",
"android.hardware.secure_element@1.0",
"libbase",
"libcutils",
"libhardware",
"libhardware_legacy",
"libhidlbase",
"liblog",
"libutils",
"vendor.tms.tmsnfc@1.0",
"tms-utils",
"tms-cos-dl-common",
"tms-cos-dl-ree",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "ov50d40_truly_main_i_mipi_raw_IdxMgr",
owner: "xiaomi",
@@ -14768,106 +14693,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "tms-cos-dl-common",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/tms-cos-dl-common.so",
],
shared_libs: [
"vendor.tms.tmsnfc@1.0",
"libbinder_ndk",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libbase",
"tms-utils",
"7816-3-T1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "tms-cos-dl-ree",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/tms-cos-dl-ree.so",
],
shared_libs: [
"vendor.tms.tmsnfc@1.0",
"libbinder_ndk",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libbase",
"android.hardware.nfc@1.0",
"libutilscallstack",
"tms-utils",
"tms-cos-dl-common",
"7816-3-T1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "tms-utils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/tms-utils.so",
],
shared_libs: [
"libbase_shim",
"libcutils",
"libutils",
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.mediatek.hardware.camera.atms@1.0",
owner: "xiaomi",
@@ -15373,6 +15198,31 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.tms.nfc-V1-ndk",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.tms.nfc-V1-ndk.so",
],
shared_libs: [
"libbinder_ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.tms.tmsnfc@1.0",
owner: "xiaomi",
@@ -15957,6 +15807,188 @@ cc_prebuilt_library_shared {
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "7816-3-T1",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/7816-3-T1.so",
],
shared_libs: [
"vendor.tms.tmsnfc@1.0",
"vendor.tms.nfc-V1-ndk",
"android.hardware.nfc-V1-ndk",
"libbinder_ndk",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libbase",
"android.hardware.nfc@1.0",
"libutilscallstack",
"tms-utils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
device_specific: true,
}
cc_prebuilt_library_shared {
name: "nfc_nci.thn31nfc.tms",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/nfc_nci.thn31nfc.tms.so",
],
shared_libs: [
"libbase_shim",
"android.hardware.nfc@1.0",
"android.hardware.nfc@1.1",
"android.hardware.nfc@1.2",
"android.hardware.secure_element@1.0",
"libbase",
"libcutils",
"libhardware",
"libhardware_legacy",
"libhidlbase",
"liblog",
"libutils",
"vendor.tms.tmsnfc@1.0",
"tms-utils",
"tms-cos-dl-common",
"tms-cos-dl-ree",
"android.hardware.nfc-V1-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
device_specific: true,
}
cc_prebuilt_library_shared {
name: "tms-cos-dl-common",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/tms-cos-dl-common.so",
],
shared_libs: [
"vendor.tms.tmsnfc@1.0",
"vendor.tms.nfc-V1-ndk",
"android.hardware.nfc-V1-ndk",
"libbinder_ndk",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libbase",
"tms-utils",
"7816-3-T1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
device_specific: true,
}
cc_prebuilt_library_shared {
name: "tms-cos-dl-ree",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/tms-cos-dl-ree.so",
],
shared_libs: [
"vendor.tms.tmsnfc@1.0",
"vendor.tms.nfc-V1-ndk",
"android.hardware.nfc-V1-ndk",
"libbinder_ndk",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"libbase",
"android.hardware.nfc@1.0",
"libutilscallstack",
"tms-utils",
"tms-cos-dl-common",
"7816-3-T1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
device_specific: true,
}
cc_prebuilt_library_shared {
name: "tms-utils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/odm/lib64/tms-utils.so",
],
shared_libs: [
"libbase_shim",
"libcutils",
"libutils",
"liblog",
"libbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
device_specific: true,
}
android_app_import {
name: "ImsService",
owner: "xiaomi",
@@ -16473,43 +16505,6 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.nfc@1.2-service-tms",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.nfc@1.2-service-tms",
],
shared_libs: [
"nfc_nci.thn31nfc.tms",
"libbase",
"libcutils",
"libhardware",
"liblog",
"libutils",
"android.hardware.nfc@1.0",
"android.hardware.nfc@1.1",
"android.hardware.nfc@1.2",
"libhidlbase",
"vendor.tms.tmsnfc@1.0",
"tms-utils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.secure_element@1.2-service-mediatek",
owner: "xiaomi",
@@ -17492,6 +17487,43 @@ cc_prebuilt_binary {
system_ext_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.nfc@1.2-service-tms",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/odm/bin/hw/android.hardware.nfc@1.2-service-tms",
],
shared_libs: [
"nfc_nci.thn31nfc.tms",
"libbase",
"libcutils",
"libhardware",
"liblog",
"libutils",
"android.hardware.nfc@1.0",
"android.hardware.nfc@1.1",
"android.hardware.nfc@1.2",
"libhidlbase",
"vendor.tms.tmsnfc@1.0",
"tms-utils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
device_specific: true,
}
install_symlink {
name: "vendor_bin_hw_android_hardware_media_c2@1_2-mediatek",
soc_specific: true,