| # Copyright 2015 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("setup") { |
| public_deps = [ |
| ":common", |
| ] |
| deps = [ |
| "//remoting/host", |
| ] |
| } |
| |
| source_set("common") { |
| sources = [ |
| "daemon_controller.cc", |
| "daemon_controller.h", |
| "daemon_controller_delegate_linux.cc", |
| "daemon_controller_delegate_linux.h", |
| "daemon_controller_delegate_mac.h", |
| "daemon_controller_delegate_mac.mm", |
| "daemon_controller_delegate_win.cc", |
| "daemon_controller_delegate_win.h", |
| "me2me_native_messaging_host.cc", |
| "me2me_native_messaging_host.h", |
| "pin_validator.cc", |
| "pin_validator.h", |
| "service_client.cc", |
| "service_client.h", |
| "test_util.cc", |
| "test_util.h", |
| "win/auth_code_getter.cc", |
| "win/auth_code_getter.h", |
| ] |
| |
| configs += [ |
| # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| "//build/config/compiler:no_size_t_to_int_warning", |
| "//build/config/compiler:wexit_time_destructors", |
| "//remoting/build/config:version", |
| ] |
| |
| deps = [ |
| "//base", |
| "//google_apis", |
| "//mojo/core/embedder", |
| "//remoting/base:authorization", |
| "//remoting/host:common", |
| "//remoting/host/native_messaging", |
| "//services/network/public/cpp", |
| "//services/network/public/mojom", |
| ] |
| |
| if (is_mac || is_ios) { |
| deps += [ "//remoting/host/mac:constants" ] |
| } |
| |
| if (is_win) { |
| deps += [ "//remoting/host/win:remoting_lib_idl" ] |
| } |
| } |