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 21 "-DEGL_EGLEXT_PROTOTYPES", 22 "-DGL_GLEXT_PROTOTYPES", 23 ], 24 25 srcs: [ 26 "AGnss.cpp", 27 "AGnssCallback.cpp", 28 "AGnssRil.cpp", 29 "AGnssRilCallback.cpp", 30 "GnssAntennaInfo.cpp", 31 "Gnss.cpp", 32 "GnssCallback.cpp", 33 "GnssAntennaInfoCallback.cpp", 34 "GnssBatching.cpp", 35 "GnssBatchingCallback.cpp", 36 "GnssConfiguration.cpp", 37 "GnssDebug.cpp", 38 "GnssGeofence.cpp", 39 "GnssGeofenceCallback.cpp", 40 "GnssMeasurement.cpp", 41 "GnssMeasurementCallback.cpp", 42 "GnssNavigationMessage.cpp", 43 "GnssNavigationMessageCallback.cpp", 44 "GnssPsds.cpp", 45 "GnssPsdsCallback.cpp", 46 "GnssVisibilityControl.cpp", 47 "GnssVisibilityControlCallback.cpp", 48 "MeasurementCorrections.cpp", 49 "MeasurementCorrectionsCallback.cpp", 50 "Utils.cpp", 51 ], 52} 53 54cc_defaults { 55 name: "libservices.core-gnss-libs", 56 shared_libs: [ 57 "libandroid_runtime", 58 "libbinder", 59 "libhidlbase", 60 "liblog", 61 "libnativehelper", 62 "libhardware_legacy", 63 "libutils", 64 "android.hardware.gnss-V3-cpp", 65 "android.hardware.gnss@1.0", 66 "android.hardware.gnss@1.1", 67 "android.hardware.gnss@2.0", 68 "android.hardware.gnss@2.1", 69 "android.hardware.gnss.measurement_corrections@1.0", 70 "android.hardware.gnss.visibility_control@1.0", 71 "android_location_flags_c_lib", 72 ], 73} 74