97 lines
2.5 KiB
Plaintext
97 lines
2.5 KiB
Plaintext
cc_library_shared {
|
|
name: "android.hardware.gnss@2.1-impl-qti",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
srcs: [
|
|
"AGnss.cpp",
|
|
"Gnss.cpp",
|
|
"AGnssRil.cpp",
|
|
"GnssMeasurement.cpp",
|
|
"GnssConfiguration.cpp",
|
|
"GnssBatching.cpp",
|
|
"GnssGeofencing.cpp",
|
|
"GnssNi.cpp",
|
|
"GnssDebug.cpp",
|
|
"GnssAntennaInfo.cpp",
|
|
"MeasurementCorrections.cpp",
|
|
"GnssVisibilityControl.cpp",
|
|
] + [
|
|
"location_api/GnssAPIClient.cpp",
|
|
"location_api/MeasurementAPIClient.cpp",
|
|
"location_api/GeofenceAPIClient.cpp",
|
|
"location_api/BatchingAPIClient.cpp",
|
|
"location_api/LocationUtil.cpp",
|
|
],
|
|
|
|
local_include_dirs: ["location_api"],
|
|
|
|
header_libs: [
|
|
"libgps.utils_headers",
|
|
"libloc_core_headers",
|
|
"libloc_pla_headers",
|
|
"liblocation_api_headers",
|
|
"liblocbatterylistener_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libhidlbase",
|
|
"libcutils",
|
|
"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.measurement_corrections@1.1",
|
|
"android.hardware.gnss.visibility_control@1.0",
|
|
"android.hardware.health@1.0",
|
|
"android.hardware.health@2.0",
|
|
"android.hardware.health@2.1",
|
|
"android.hardware.power@1.2",
|
|
"libbase",
|
|
] + [
|
|
"libloc_core",
|
|
"libgps.utils",
|
|
"libdl",
|
|
"liblocation_api",
|
|
],
|
|
|
|
cflags: GNSS_CFLAGS,
|
|
static_libs: ["liblocbatterylistener"] + ["libhealthhalutils"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.gnss@2.1-service-qti",
|
|
vintf_fragments: ["android.hardware.gnss@2.1-service-qti.xml"],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
init_rc: ["android.hardware.gnss@2.1-service-qti.rc"],
|
|
srcs: ["service.cpp"],
|
|
|
|
header_libs: [
|
|
"libgps.utils_headers",
|
|
"libloc_core_headers",
|
|
"libloc_pla_headers",
|
|
"liblocation_api_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
"libdl",
|
|
"libbase",
|
|
"libutils",
|
|
"libgps.utils",
|
|
"libqti_vndfwk_detect",
|
|
] + [
|
|
"libhidlbase",
|
|
"android.hardware.gnss@1.0",
|
|
"android.hardware.gnss@1.1",
|
|
"android.hardware.gnss@2.0",
|
|
"android.hardware.gnss@2.1",
|
|
],
|
|
|
|
cflags: GNSS_CFLAGS + ["-DLOC_HIDL_VERSION=\"4.2\""],
|
|
}
|