1// Copyright (C) 2021 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_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19cc_test {
20    name: "libvehicle_binding_util_test",
21    defaults: [
22        "vehicle_binding_util_defaults",
23    ],
24    test_suites: ["general-tests"],
25    srcs: [
26        "VehicleBindingUtilTests.cpp",
27    ],
28    static_libs: [
29        "libbase",
30        "libgmock",
31        "libgtest",
32        "libvehicle_binding_util",
33    ],
34}
35
36cc_test {
37    name: "vehicle_binding_integration_test",
38    test_suites: [
39        "device-tests",
40    ],
41    require_root: true,
42    defaults: ["vehicle_binding_util_defaults"],
43    tidy: false,
44    srcs: [
45        "VehicleBindingIntegrationTedt.cpp"
46    ],
47    shared_libs: [
48        "android.hardware.automotive.vehicle@2.0",
49        "libbase",
50        "libbinder",
51        "libhidlbase",
52        "libutils",
53    ],
54    compile_multilib: "both",
55    multilib: {
56        lib32: {
57            suffix: "32",
58        },
59        lib64: {
60            suffix: "64",
61        },
62    },
63    sanitize: {
64        address: false,
65        recover: [ "all" ],
66    },
67}
68