• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10cc_library_shared {
11    name: "libservices.core-gnss",
12    defaults: ["libservices.core-gnss-libs"],
13
14    cpp_std: "c++2a",
15    cflags: [
16        "-Wall",
17        "-Werror",
18        "-Wno-unused-parameter",
19        "-Wthread-safety",
20        "-DEGL_EGLEXT_PROTOTYPES",
21        "-DGL_GLEXT_PROTOTYPES",
22    ],
23
24    srcs: [
25        "AGnss.cpp",
26        "AGnssCallback.cpp",
27        "AGnssRil.cpp",
28        "AGnssRilCallback.cpp",
29        "GnssAntennaInfo.cpp",
30        "Gnss.cpp",
31        "GnssCallback.cpp",
32        "GnssAntennaInfoCallback.cpp",
33        "GnssBatching.cpp",
34        "GnssBatchingCallback.cpp",
35        "GnssConfiguration.cpp",
36        "GnssDebug.cpp",
37        "GnssGeofence.cpp",
38        "GnssGeofenceCallback.cpp",
39        "GnssMeasurement.cpp",
40        "GnssMeasurementCallback.cpp",
41        "GnssNavigationMessage.cpp",
42        "GnssNavigationMessageCallback.cpp",
43        "GnssAssistance.cpp",
44        "GnssAssistanceCallback.cpp",
45        "GnssPsds.cpp",
46        "GnssPsdsCallback.cpp",
47        "GnssVisibilityControl.cpp",
48        "GnssVisibilityControlCallback.cpp",
49        "MeasurementCorrections.cpp",
50        "MeasurementCorrectionsCallback.cpp",
51        "Utils.cpp",
52    ],
53}
54
55cc_defaults {
56    name: "libservices.core-gnss-libs",
57    shared_libs: [
58        "libandroid_runtime",
59        "libbinder",
60        "libhidlbase",
61        "liblog",
62        "libnativehelper",
63        "libhardware_legacy",
64        "libutils",
65        "android.hardware.gnss-V6-cpp",
66        "android.hardware.gnss@1.0",
67        "android.hardware.gnss@1.1",
68        "android.hardware.gnss@2.0",
69        "android.hardware.gnss@2.1",
70        "android.hardware.gnss.measurement_corrections@1.0",
71        "android.hardware.gnss.visibility_control@1.0",
72        "android_location_flags_c_lib",
73    ],
74}
75