• 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_host_shared {
18
19    name: "libvtsc",
20
21    srcs: [
22        "VtsCompilerUtils.cpp",
23        "code_gen/CodeGenBase.cpp",
24        "code_gen/common/HalHidlCodeGenUtils.cpp",
25        "code_gen/driver/DriverCodeGenBase.cpp",
26        "code_gen/driver/HalCodeGen.cpp",
27        "code_gen/driver/HalHidlCodeGen.cpp",
28        "code_gen/driver/LibSharedCodeGen.cpp",
29        "code_gen/fuzzer/FuzzerCodeGenBase.cpp",
30        "code_gen/fuzzer/HalHidlFuzzerCodeGen.cpp",
31        "code_gen/profiler/ProfilerCodeGenBase.cpp",
32        "code_gen/profiler/HalHidlProfilerCodeGen.cpp",
33    ],
34
35    include_dirs: ["test/vts/drivers/hal/common"],
36
37    static_libs: ["libz"],
38
39    shared_libs: [
40        "libbase",
41        "libhidl-gen-host-utils",
42        "libhidl-gen-utils",
43        "libprotobuf-cpp-full",
44        "libvts_common",
45        "libvts_multidevice_proto",
46    ],
47
48    cflags: [
49        "-Wall",
50        "-Werror",
51    ],
52
53}
54
55cc_binary_host {
56
57    name: "vtsc",
58
59    srcs: ["VtsCompilerMain.cpp"],
60
61    include_dirs: ["test/vts/drivers/hal/common"],
62
63    static_libs: ["libz"],
64
65    shared_libs: [
66        "libbase",
67        "libhidl-gen-host-utils",
68        "libhidl-gen-utils",
69        "libvts_multidevice_proto",
70        "libvtsc",
71    ],
72
73    cflags: [
74        "-Wall",
75        "-Werror",
76    ],
77
78}
79