sm8450-common: Fix com.qualcomm.qti.dpm.api@1.0 ELF checks

Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
This commit is contained in:
Cosmin Tanislav 2024-08-17 02:23:32 +03:00 committed by Arian
parent 5987985c45
commit 6bfb2976f2
2 changed files with 13 additions and 18 deletions

View file

@ -455,7 +455,8 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "com.qualcomm.qti.dpm.api@1.0",
name: "com.qualcomm.qti.dpm.api@1.0-vendor",
stem: "com.qualcomm.qti.dpm.api@1.0",
owner: "xiaomi",
strip: {
none: true,
@ -2151,7 +2152,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libdpmqmihal.so"],
shared_libs: ["libhidlbase", "liblog", "libcutils", "libbase", "libutils", "libhardware_legacy", "libhardware", "com.qualcomm.qti.dpm.api@1.0", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["libhidlbase", "liblog", "libcutils", "libbase", "libutils", "libhardware_legacy", "libhardware", "com.qualcomm.qti.dpm.api@1.0-vendor", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -6832,7 +6833,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.libdpmctmgr.so"],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "vendor.libdpmframework", "com.qualcomm.qti.dpm.api@1.0", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.dpmservice@1.1", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "vendor.libdpmframework", "com.qualcomm.qti.dpm.api@1.0-vendor", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.dpmservice@1.1", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -6849,7 +6850,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.libdpmfdmgr.so"],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "vendor.libdpmframework", "com.qualcomm.qti.dpm.api@1.0", "vendor.qti.hardware.dpmservice@1.0", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "vendor.libdpmframework", "com.qualcomm.qti.dpm.api@1.0-vendor", "vendor.qti.hardware.dpmservice@1.0", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -6866,7 +6867,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.libdpmframework.so"],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "liblog", "libhidlbase", "libhardware", "libhardware_legacy", "com.qualcomm.qti.dpm.api@1.0", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.dpmservice@1.1", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "liblog", "libhidlbase", "libhardware", "libhardware_legacy", "com.qualcomm.qti.dpm.api@1.0-vendor", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.dpmservice@1.1", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -6883,7 +6884,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.libdpmtcm.so"],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "libhidlbase", "libhardware", "libhardware_legacy", "vendor.libdpmframework", "com.qualcomm.qti.dpm.api@1.0", "vendor.qti.hardware.dpmservice@1.0", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["libdiag", "libbinder", "libcutils", "libutils", "libhidlbase", "libhardware", "libhardware_legacy", "vendor.libdpmframework", "com.qualcomm.qti.dpm.api@1.0-vendor", "vendor.qti.hardware.dpmservice@1.0", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -6900,7 +6901,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/vendor.libmwqemiptablemgr.so"],
shared_libs: ["liblog", "libcutils", "libbase", "libutils", "vendor.libdpmframework", "libdiag", "libhidlbase", "libhardware", "libhardware_legacy", "com.qualcomm.qti.dpm.api@1.0", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.mwqemadapter@1.0", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["liblog", "libcutils", "libbase", "libutils", "vendor.libdpmframework", "libdiag", "libhidlbase", "libhardware", "libhardware_legacy", "com.qualcomm.qti.dpm.api@1.0-vendor", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.mwqemadapter@1.0", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -9141,8 +9142,7 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "com.qualcomm.qti.dpm.api@1.0-se",
stem: "com.qualcomm.qti.dpm.api@1.0",
name: "com.qualcomm.qti.dpm.api@1.0",
owner: "xiaomi",
strip: {
none: true,
@ -9256,7 +9256,6 @@ cc_prebuilt_library_shared {
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
@ -9274,7 +9273,6 @@ cc_prebuilt_library_shared {
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
@ -9292,7 +9290,6 @@ cc_prebuilt_library_shared {
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
@ -9310,7 +9307,6 @@ cc_prebuilt_library_shared {
},
},
compile_multilib: "64",
check_elf_files: false,
prefer: true,
system_ext_specific: true,
}
@ -10552,7 +10548,7 @@ cc_prebuilt_binary {
target: {
android_arm64: {
srcs: ["proprietary/vendor/bin/dpmQmiMgr"],
shared_libs: ["libcutils", "liblog", "libbase", "libutils", "libhardware_legacy", "libhardware", "libhidlbase", "libqmi_cci", "libqmi_client_helper", "libqmiservices", "libdpmqmihal", "com.qualcomm.qti.dpm.api@1.0", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["libcutils", "liblog", "libbase", "libutils", "libhardware_legacy", "libhardware", "libhidlbase", "libqmi_cci", "libqmi_client_helper", "libqmiservices", "libdpmqmihal", "com.qualcomm.qti.dpm.api@1.0-vendor", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -11921,7 +11917,7 @@ cc_prebuilt_binary {
target: {
android_arm64: {
srcs: ["proprietary/vendor/bin/vendor.dpmd"],
shared_libs: ["vendor.libdpmframework", "libdiag", "libhardware_legacy", "libhidlbase", "libcutils", "libutils", "com.qualcomm.qti.dpm.api@1.0", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.dpmservice@1.1", "libc++", "libc", "libm", "libdl", ],
shared_libs: ["vendor.libdpmframework", "libdiag", "libhardware_legacy", "libhidlbase", "libcutils", "libutils", "com.qualcomm.qti.dpm.api@1.0-vendor", "vendor.qti.hardware.dpmservice@1.0", "vendor.qti.hardware.dpmservice@1.1", "libc++", "libc", "libm", "libdl", ],
},
},
compile_multilib: "64",
@ -12078,7 +12074,6 @@ cc_prebuilt_binary {
},
},
compile_multilib: "64",
check_elf_files: false,
strip: {
none: true,
},

View file

@ -282,7 +282,7 @@ PRODUCT_PACKAGES += \
vendor.qti.qspmhal@1.0 \
android.hardware.secure_element@1.0-impl \
btaudio_offload_if \
com.qualcomm.qti.dpm.api@1.0 \
com.qualcomm.qti.dpm.api@1.0-vendor \
com.qualcomm.qti.imscmservice@1.0 \
com.qualcomm.qti.imscmservice@2.0 \
com.qualcomm.qti.imscmservice@2.1 \
@ -791,7 +791,7 @@ PRODUCT_PACKAGES += \
vendor.qti.qesdhal@1.1 \
vendor.qti.qesdsys-V1-ndk_platform \
vendor.qti.qspmhal@1.0-impl \
com.qualcomm.qti.dpm.api@1.0-se \
com.qualcomm.qti.dpm.api@1.0 \
lib-imsvideocodec \
lib-imsvt \
lib-imsvtextutils \