location: Enable ELF checks

Change-Id: I19f682c8c917af4f47dfed3f9de272fc35d72294
This commit is contained in:
Michael Bestas 2024-09-18 19:46:02 +03:00
parent bf188f9b7a
commit 72ed3b8481
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -20,16 +20,19 @@ cc_prebuilt_binary {
arm64: { arm64: {
srcs: ["release/android.hardware.gnss-service"], srcs: ["release/android.hardware.gnss-service"],
shared_libs: [ shared_libs: [
"libbase",
"libbinder_ndk",
"libcutils",
"liblog", "liblog",
"libutils", "libutils",
"libhardware", "android.frameworks.sensorservice-V1-ndk",
"libhidlbase",
"android.hardware.gnss-V3-ndk", "android.hardware.gnss-V3-ndk",
"libsensorndkbridge", "libsensorndkbridge",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
"libdl", "libdl",
"libz",
], ],
}, },
}, },
@ -39,9 +42,6 @@ cc_prebuilt_binary {
strip: { strip: {
none: true, none: true,
}, },
// Bypass because libhidltransport is deprecated
// Bypass because libhwbinder is deprecated
check_elf_files: false,
product_variables: { product_variables: {
debuggable: { debuggable: {
required: [ required: [
@ -61,20 +61,15 @@ cc_prebuilt_binary {
srcs: ["release/gnssd"], srcs: ["release/gnssd"],
shared_libs: [ shared_libs: [
"liblog", "liblog",
"libutils",
"libhardware_legacy",
"libcutils",
"libssl", "libssl",
"libcrypto", "libcrypto",
// "libsitril-gps",
"android.frameworks.sensorservice@1.0",
"libhidlbase",
"libandroid_net", "libandroid_net",
"libc++", "libc++",
"libc", "libc",
"libm", "libm",
"libdl", "libdl",
"libcurl", "libcurl",
"libz",
], ],
}, },
}, },
@ -84,8 +79,6 @@ cc_prebuilt_binary {
strip: { strip: {
none: true, none: true,
}, },
// Bypass because libsitril-gps is Android.mk module
check_elf_files: false,
product_variables: { product_variables: {
debuggable: { debuggable: {
required: [ required: [