blob: 4fc47a930634df7abb442f562a7de843a8048be0 [file] [log] [blame]
Cody Schuffelen134ff032019-11-22 00:25:32 -08001//
2// Copyright (C) 2017 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
16cc_library_host_static {
17 name: "libivserver",
18 srcs: [
19 "hald_client.cc",
20 "ivserver.cc",
21 "options.cc",
22 "qemu_client.cc",
23 "vsocsharedmem.cc",
24 ],
25 header_libs: [
26 "cuttlefish_glog",
27 ],
28 shared_libs: [
29 "libbase",
30 "vsoc_lib",
31 ],
32 static_libs: [
33 "libjsoncpp",
34 ],
35 defaults: ["cuttlefish_host_only"],
36}
37
38cc_test_host {
39 name: "hald_client_test",
40 srcs: [
41 "hald_client_test.cc",
42 ],
43 header_libs: [
44 "cuttlefish_glog",
45 ],
46 shared_libs: [
47 "libcuttlefish_fs",
48 "cuttlefish_auto_resources",
49 "libbase",
50 "vsoc_lib",
51 ],
52 static_libs: [
53 "libivserver",
54 "libjsoncpp",
55 "libgmock",
56 ],
57 defaults: ["cuttlefish_host_only"],
58}
59
60cc_binary_host {
61 name: "ivserver",
62 srcs: [
63 "main.cpp",
64 ],
65 header_libs: [
66 "cuttlefish_glog",
67 ],
68 shared_libs: [
69 "vsoc_lib",
70 "libbase",
71 "libcuttlefish_fs",
72 "libcuttlefish_utils",
73 "cuttlefish_auto_resources",
74 "liblog",
75 ],
76 static_libs: [
77 "libcuttlefish_host_config",
78 "libivserver",
79 "libgflags",
80 "libjsoncpp",
81 ],
82 defaults: ["cuttlefish_host_only"],
83}