blob: e35463416513f39bf80d968361fffdff32dce508 [file] [log] [blame]
Lakshman Annadorai3568c5c2020-07-27 10:42:32 -07001// 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
15// User HAL helper library.
16cc_library_static {
17 name: "android.hardware.automotive.vehicle@2.0-user-hal-helper-lib",
18 defaults: ["vhal_v2_0_defaults"],
19 vendor: true,
20 host_supported: true,
21 srcs: [
22 "UserHalHelper.cpp",
23 ],
24 export_include_dirs: [
25 ".",
26 ],
27}
28
29cc_test {
30 name: "android.hardware.automotive.vehicle@2.0-utils-unit-tests",
31 defaults: ["vhal_v2_0_defaults"],
32 vendor: true,
33 srcs: [
34 "tests/UserHalHelper_test.cpp",
35 ],
36 static_libs: [
37 "android.hardware.automotive.vehicle@2.0-user-hal-helper-lib",
38 "libgmock",
39 ],
40 test_suites: ["general-tests"],
41}