• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
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_binary_host {
17    name: "vnc_server",
18    srcs: [
19        "blackboard.cpp",
20        "frame_buffer_watcher.cpp",
21        "jpeg_compressor.cpp",
22        "main.cpp",
23        "simulated_hw_composer.cpp",
24        "virtual_inputs.cpp",
25        "vnc_client_connection.cpp",
26        "vnc_server.cpp",
27    ],
28    header_libs: [
29        "cuttlefish_glog",
30    ],
31    shared_libs: [
32        "libcuttlefish_fs",
33        "libcuttlefish_utils",
34        "cuttlefish_tcp_socket",
35        "libbase",
36        "liblog",
37    ],
38    static_libs: [
39        "libcuttlefish_host_config",
40        "libcuttlefish_screen_connector",
41        "libcuttlefish_wayland_server",
42        "libffi",
43        "libjsoncpp",
44        "libjpeg",
45        "libgflags",
46        "libwayland_server",
47        "libwayland_extension_server_protocols",
48    ],
49    defaults: ["cuttlefish_host_only"],
50}
51