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