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 "screen_connector.cpp", 24 "simulated_hw_composer.cpp", 25 "virtual_inputs.cpp", 26 "vnc_client_connection.cpp", 27 "vnc_server.cpp", 28 ], 29 header_libs: [ 30 "cuttlefish_glog", 31 ], 32 shared_libs: [ 33 "vsoc_lib", 34 "libcuttlefish_fs", 35 "libcuttlefish_utils", 36 "cuttlefish_tcp_socket", 37 "cuttlefish_auto_resources", 38 "libbase", 39 ], 40 static_libs: [ 41 "libcuttlefish_host_config", 42 "libjsoncpp", 43 "libjpeg", 44 "libgflags", 45 ], 46 defaults: ["cuttlefish_host_only"], 47} 48