1
2
3package {
4    // See: http://go/android-license-faq
5    // A large-scale-change added 'default_applicable_licenses' to import
6    // all of the 'license_kinds' from "hardware_qcom_sm7250_gps_license"
7    // to get the below license kinds:
8    //   SPDX-license-identifier-BSD
9    default_applicable_licenses: ["hardware_qcom_sm7250_gps_license"],
10}
11
12cc_library_shared {
13
14    name: "libgnss",
15    vendor: true,
16
17
18
19    shared_libs: [
20        "libutils",
21        "libcutils",
22        "libdl",
23        "liblog",
24        "libloc_core",
25        "libgps.utils",
26    ],
27
28    srcs: [
29        "location_gnss.cpp",
30        "GnssAdapter.cpp",
31        "Agps.cpp",
32        "XtraSystemStatusObserver.cpp",
33        "NativeAgpsHandler.cpp",
34    ],
35
36    cflags: ["-fno-short-enums"] + GNSS_CFLAGS,
37    header_libs: [
38        "libgps.utils_headers",
39        "libloc_core_headers",
40        "libloc_pla_headers",
41        "liblocation_api_headers",
42    ],
43
44}
45