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