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