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