xref: /aosp_15_r20/hardware/interfaces/gnss/aidl/vts/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_team: "trendy_team_location_time",
17    // See: http://go/android-license-faq
18    // A large-scale-change added 'default_applicable_licenses' to import
19    // all of the 'license_kinds' from "hardware_interfaces_license"
20    // to get the below license kinds:
21    //   SPDX-license-identifier-Apache-2.0
22    default_applicable_licenses: ["hardware_interfaces_license"],
23}
24
25cc_test {
26    name: "VtsHalGnssTargetTest",
27    defaults: [
28        "VtsHalTargetTestDefaults",
29        "use_libaidlvintf_gtest_helper_static",
30    ],
31    srcs: [
32        "gnss_hal_test.cpp",
33        "gnss_hal_test_cases.cpp",
34        "AGnssCallbackAidl.cpp",
35        "AGnssRilCallbackAidl.cpp",
36        "GnssAntennaInfoCallbackAidl.cpp",
37        "GnssBatchingCallback.cpp",
38        "GnssCallbackAidl.cpp",
39        "GnssGeofenceCallback.cpp",
40        "GnssMeasurementCallbackAidl.cpp",
41        "GnssNavigationMessageCallback.cpp",
42        "GnssPowerIndicationCallback.cpp",
43        "GnssVisibilityControlCallback.cpp",
44        "MeasurementCorrectionsCallback.cpp",
45        "VtsHalGnssTargetTest.cpp",
46    ],
47    shared_libs: [
48        "[email protected]",
49        "[email protected]",
50        "[email protected]",
51        "[email protected]",
52        "libbinder",
53    ],
54    static_libs: [
55        "android.hardware.gnss-V5-cpp",
56        "android.hardware.gnss@common-vts-lib",
57    ],
58    test_suites: [
59        "general-tests",
60        "vts",
61    ],
62}
63