device_google_tegu/location/gnssd/Android.bp
Edwin Tung 5e71cfc18c tegu: gps: update gps 4.13.1_54
Sync gps binary and enable pixel gnss

Bug: 326548585
Test: Build pass
Change-Id: I680273b3aca81db4b9f148bbe65a9027c19ae549
2024-02-26 18:19:43 +08:00

329 lines
8.3 KiB
Text

soong_namespace {
}
package {
default_applicable_licenses: ["vendor_samsung_slsi_gnss_license"],
}
license {
name: "vendor_samsung_slsi_gnss_license",
visibility: [":__subpackages__"],
license_kinds: [
"legacy_by_exception_only", // by exception only
"legacy_proprietary", // by exception only
],
}
cc_prebuilt_binary {
name: "android.hardware.gnss-service",
arch: {
arm64: {
srcs: ["release/android.hardware.gnss-service"],
shared_libs: [
"liblog",
"libutils",
"libhardware",
"libhidlbase",
"android.hardware.gnss-V3-ndk",
"libsensorndkbridge",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libhidltransport is deprecated
// Bypass because libhwbinder is deprecated
check_elf_files: false,
product_variables: {
debuggable: {
required: [
"libsighandler",
],
},
},
init_rc: ["init.gnss.rc"],
vintf_fragments: ["android.hardware.gnss@default.xml"],
}
cc_prebuilt_binary {
name: "gnssd",
arch: {
arm64: {
srcs: ["release/gnssd"],
shared_libs: [
"liblog",
"libutils",
"libhardware_legacy",
"libcutils",
"libssl",
"libcrypto",
// "libsitril-gps",
"android.frameworks.sensorservice@1.0",
"libhidlbase",
"libandroid_net",
"libc++",
"libc",
"libm",
"libdl",
"libcurl",
],
},
},
compile_multilib: "64",
vendor: true,
relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libsitril-gps is Android.mk module
check_elf_files: false,
product_variables: {
debuggable: {
required: [
"libsighandler",
],
},
},
}
// factory daemon and libraries
cc_prebuilt_binary {
name: "sctd",
arch: {
arm64: {
srcs: ["release/sctd"],
shared_libs: [
"liblog",
"libutils",
"libhardware_legacy",
"libcutils",
"libssl",
"libcrypto",
// "libsitril-gps",
"android.frameworks.sensorservice@1.0",
"libhidlbase",
"libandroid_net",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libsitril-gps is Android.mk module
check_elf_files: false,
}
cc_prebuilt_binary {
name: "spad",
arch: {
arm64: {
srcs: ["release/spad"],
shared_libs: [
"liblog",
"libutils",
"libhardware_legacy",
"libcutils",
"libssl",
"libcrypto",
// "libsitril-gps",
"android.frameworks.sensorservice@1.0",
"libhidlbase",
"libandroid_net",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libsitril-gps is Android.mk module
check_elf_files: false,
}
cc_prebuilt_binary {
name: "swcnd",
arch: {
arm64: {
srcs: ["release/swcnd"],
shared_libs: [
"liblog",
"libutils",
"libhardware_legacy",
"libcutils",
"libssl",
"libcrypto",
// "libsitril-gps",
"android.frameworks.sensorservice@1.0",
"libhidlbase",
"libandroid_net",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libsitril-gps is Android.mk module
check_elf_files: false,
}
cc_prebuilt_library_shared {
name: "libmptool_utils",
arch: {
arm64: {
srcs: ["release/libmptool_utils.so"],
shared_libs: [
"liblog",
"libhidlbase",
"libutils",
"android.hardware.gnss@1.0",
"android.hardware.gnss@1.1",
"android.hardware.gnss@2.0",
"android.hardware.gnss@2.1",
"android.hardware.gnss.measurement_corrections@1.0",
"android.hardware.gnss.visibility_control@1.0",
"libhardware",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
// relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libhidltransport is deprecated
check_elf_files: false,
}
cc_prebuilt_library_shared {
name: "libmptool_log",
arch: {
arm64: {
srcs: ["release/libmptool_log.so"],
shared_libs: [
"liblog",
"libhidlbase",
"libutils",
"android.hardware.gnss@1.0",
"android.hardware.gnss@1.1",
"android.hardware.gnss@2.0",
"android.hardware.gnss@2.1",
"android.hardware.gnss.measurement_corrections@1.0",
"android.hardware.gnss.visibility_control@1.0",
"libhardware",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
// relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libhidltransport is deprecated
check_elf_files: false,
}
cc_prebuilt_library_shared {
name: "libmptool_json",
arch: {
arm64: {
srcs: ["release/libmptool_json.so"],
shared_libs: [
"liblog",
"libhidlbase",
"libutils",
"android.hardware.gnss@1.0",
"android.hardware.gnss@1.1",
"android.hardware.gnss@2.0",
"android.hardware.gnss@2.1",
"android.hardware.gnss.measurement_corrections@1.0",
"android.hardware.gnss.visibility_control@1.0",
"libhardware",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
// relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libhidltransport is deprecated
check_elf_files: false,
}
cc_prebuilt_library_shared {
name: "android.hardware.gnss@2.1-impl",
arch: {
arm64: {
srcs: ["release/android_hardware_gnss_2_1-impl.so"],
shared_libs: [
"liblog",
"libhidlbase",
"libutils",
"android.hardware.gnss@1.0",
"android.hardware.gnss@1.1",
"android.hardware.gnss@2.0",
"android.hardware.gnss@2.1",
"android.hardware.gnss.measurement_corrections@1.0",
"android.hardware.gnss.visibility_control@1.0",
"libhardware",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
vendor: true,
relative_install_path: "hw",
strip: {
none: true,
},
// Bypass because libhidltransport is deprecated
check_elf_files: false,
}