Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2020 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 | |
| 17 | cc_binary { |
| 18 | name: "android.hardware.gnss-service.example", |
| 19 | relative_install_path: "hw", |
Yu-Han Yang | 1e1a676 | 2020-09-30 17:01:53 -0700 | [diff] [blame] | 20 | init_rc: [ |
| 21 | "gnss-default.rc", |
| 22 | ], |
| 23 | vintf_fragments: [ |
| 24 | "gnss-default.xml", |
| 25 | "gnss@2.1-service.xml", |
| 26 | ], |
Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 27 | vendor: true, |
| 28 | cflags: [ |
| 29 | "-Wall", |
| 30 | "-Wextra", |
| 31 | ], |
| 32 | shared_libs: [ |
| 33 | "libbase", |
| 34 | "libbinder_ndk", |
Yu-Han Yang | 1e1a676 | 2020-09-30 17:01:53 -0700 | [diff] [blame] | 35 | "libhidlbase", |
| 36 | "libutils", |
Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 37 | "liblog", |
Yu-Han Yang | 1e1a676 | 2020-09-30 17:01:53 -0700 | [diff] [blame] | 38 | "android.hardware.gnss@2.1", |
| 39 | "android.hardware.gnss@2.0", |
| 40 | "android.hardware.gnss@1.1", |
| 41 | "android.hardware.gnss@1.0", |
| 42 | "android.hardware.gnss.measurement_corrections@1.1", |
| 43 | "android.hardware.gnss.measurement_corrections@1.0", |
| 44 | "android.hardware.gnss.visibility_control@1.0", |
Jeongik Cha | 3853391 | 2021-01-28 00:49:49 +0900 | [diff] [blame] | 45 | "android.hardware.gnss-V1-ndk_platform", |
Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 46 | ], |
| 47 | srcs: [ |
| 48 | "Gnss.cpp", |
Yu-Han Yang | 1e1a676 | 2020-09-30 17:01:53 -0700 | [diff] [blame] | 49 | "GnssHidlHal.cpp", |
Yu-Han Yang | 2475361 | 2020-10-27 14:42:14 -0700 | [diff] [blame] | 50 | "GnssPowerIndication.cpp", |
Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 51 | "GnssPsds.cpp", |
Yu-Han Yang | 1e1a676 | 2020-09-30 17:01:53 -0700 | [diff] [blame] | 52 | "GnssConfiguration.cpp", |
Yu-Han Yang | 0483230 | 2020-11-20 09:51:18 -0800 | [diff] [blame] | 53 | "GnssMeasurementInterface.cpp", |
Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 54 | "service.cpp", |
| 55 | ], |
Yu-Han Yang | 1e1a676 | 2020-09-30 17:01:53 -0700 | [diff] [blame] | 56 | static_libs: [ |
| 57 | "android.hardware.gnss@common-default-lib", |
| 58 | ], |
Yu-Han Yang | 274ea0a | 2020-09-09 17:25:02 -0700 | [diff] [blame] | 59 | } |