blob: 42bde9d810d82b150c256aaf3c2061ad2d048934 [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_qcom_sm7250_gps_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-BSD
default_applicable_licenses: ["hardware_qcom_sm7250_gps_license"],
}
cc_library_shared {
name: "libgps.utils",
vendor: true,
sanitize: GNSS_SANITIZE,
//# Libs
shared_libs: [
"libdl",
"libutils",
"libcutils",
"liblog",
"libprocessgroup",
],
srcs: [
"loc_log.cpp",
"loc_cfg.cpp",
"msg_q.c",
"linked_list.c",
"loc_target.cpp",
"LocHeap.cpp",
"LocTimer.cpp",
"LocThread.cpp",
"MsgTask.cpp",
"loc_misc_utils.cpp",
"loc_nmea.cpp",
"LocIpc.cpp",
"LogBuffer.cpp",
],
cflags: [
"-fno-short-enums",
"-D_ANDROID_",
] + GNSS_CFLAGS,
//# Includes
ldflags: ["-Wl,--export-dynamic"],
header_libs: [
"libutils_headers",
"libloc_pla_headers",
"liblocation_api_headers",
],
}
cc_library_headers {
name: "libgps.utils_headers",
export_include_dirs: ["."],
vendor: true,
}