• 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
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_binary {
21    name: "vnc_server",
22    srcs: [
23        "blackboard.cpp",
24        "frame_buffer_watcher.cpp",
25        "jpeg_compressor.cpp",
26        "main.cpp",
27        "simulated_hw_composer.cpp",
28        "virtual_inputs.cpp",
29        "vnc_client_connection.cpp",
30        "vnc_server.cpp",
31    ],
32    shared_libs: [
33        "libcuttlefish_fs",
34        "libcuttlefish_utils",
35        "libbase",
36        "libjsoncpp",
37        "liblog",
38    ],
39    header_libs: [
40        "libcuttlefish_confui_host_headers",
41    ],
42    static_libs: [
43        "libcuttlefish_host_config",
44        "libcuttlefish_screen_connector",
45        "libcuttlefish_wayland_server",
46        "libcuttlefish_confui",
47        "libcuttlefish_confui_host",
48        "libft2.nodep",
49        "libteeui",
50        "libteeui_localization",
51        "libffi",
52        "libjpeg",
53        "libgflags",
54        "libwayland_server",
55        "libwayland_extension_server_protocols",
56    ],
57    defaults: ["cuttlefish_host"],
58}
59