• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2016 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
17cc_library_shared {
18
19    name: "libvts_common",
20    host_supported: true,
21
22    cflags: [
23        "-Wall",
24        "-Werror",
25    ],
26
27    srcs: [
28        "utils/InterfaceSpecUtil.cpp",
29        "utils/StringUtil.cpp",
30    ],
31
32    include_dirs: [
33        "frameworks/native/include",
34        "system/core/include",
35        "system/extras",
36    ],
37
38    local_include_dirs: ["include"],
39
40    shared_libs: [
41        "libbase",
42        "libprotobuf-cpp-full",
43        "libvts_multidevice_proto",
44    ],
45
46    export_include_dirs: ["include"],
47
48    target: {
49        android: {
50            srcs: [
51                "binder/VtsFuzzerBinderService.cpp",
52                "component_loader/DllLoader.cpp",
53                "component_loader/HalDriverLoader.cpp",
54                "driver_base/DriverBase.cpp",
55                "driver_base/DriverCallbackBase.cpp",
56                "driver_manager/VtsHalDriverManager.cpp",
57            ],
58            shared_libs: [
59                "libbinder",
60                "libcutils",
61                "libdl",
62                "liblog",
63                "libutils",
64                "libvts_codecoverage",
65                "libvts_drivercomm",
66                "libvts_multidevice_proto",
67                "libvts_resource_manager",
68            ],
69        },
70    },
71}
72