blob: be1d532288403784fd57a2ce19648b1e3d36bb78 [file] [log] [blame]
Yu-Han Yanga5098612019-02-08 16:22:07 -08001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_library_static {
18 name: "android.hardware.gnss@common-default-lib",
19 vendor_available: true,
20 relative_install_path: "hw",
21 cflags: [
22 "-Wall",
23 "-Wextra",
24 "-Werror",
25 ],
26 srcs: [
Yu-Han Yang3fcb7bf2020-06-10 14:59:50 -070027 "v2_1/GnssAntennaInfo.cpp",
28 "v2_1/GnssConfiguration.cpp",
29 "v2_1/GnssDebug.cpp",
30 "v2_1/GnssMeasurement.cpp",
31 "v2_1/GnssMeasurementCorrections.cpp",
Enrico Granata3ba5d222020-10-21 17:20:00 -060032 "MockLocation.cpp",
Yu-Han Yanga5098612019-02-08 16:22:07 -080033 "Utils.cpp",
Yipeng Cao48618f62020-03-19 18:11:16 -070034 "NmeaFixInfo.cpp",
Yu-Han Yanga5098612019-02-08 16:22:07 -080035 ],
36 export_include_dirs: ["include"],
37 shared_libs: [
Yu-Han Yangc06b5362019-10-25 14:14:35 -070038 "libhidlbase",
39 "libutils",
Yu-Han Yanga5098612019-02-08 16:22:07 -080040 "android.hardware.gnss@1.0",
Yu-Han Yangc06b5362019-10-25 14:14:35 -070041 "android.hardware.gnss@2.0",
42 "android.hardware.gnss@2.1",
Yu-Han Yang3fcb7bf2020-06-10 14:59:50 -070043 "android.hardware.gnss.measurement_corrections@1.1",
44 "android.hardware.gnss.measurement_corrections@1.0",
Yu-Han Yang04832302020-11-20 09:51:18 -080045 "android.hardware.gnss-ndk_platform",
Yu-Han Yanga5098612019-02-08 16:22:07 -080046 ],
47}