123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- # 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",
- "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",
- ]
- configs += [
- "//build/config/compiler:wexit_time_destructors",
- "//remoting/build/config:version",
- ]
- deps = [
- "//base",
- "//extensions/browser/api/messaging:native_messaging",
- "//google_apis",
- "//mojo/core/embedder",
- "//remoting/base:authorization",
- "//remoting/base:base",
- "//remoting/host:common",
- "//remoting/host:resources",
- "//remoting/host/native_messaging",
- "//remoting/protocol:protocol",
- "//services/network/public/cpp",
- "//services/network/public/mojom",
- ]
- if (is_linux || is_chromeos) {
- sources += [
- "daemon_controller_delegate_linux.cc",
- "daemon_controller_delegate_linux.h",
- ]
- }
- if (is_mac) {
- sources += [
- "daemon_controller_delegate_mac.h",
- "daemon_controller_delegate_mac.mm",
- ]
- deps += [
- "//remoting/host/mac:permission_checking",
- "//remoting/resources:strings_grit",
- "//ui/base:base",
- ]
- }
- if (is_apple) {
- deps += [ "//remoting/host/mac:constants" ]
- }
- if (is_win) {
- sources += [
- "daemon_controller_delegate_win.cc",
- "daemon_controller_delegate_win.h",
- ]
- deps += [
- "//remoting/host/win:elevated_native_messaging_host",
- "//remoting/host/win:remoting_lib_idl",
- "//remoting/host/win:security_descriptor",
- ]
- }
- }
- source_set("start_host_main_headers") {
- sources = [ "start_host_main.h" ]
- deps = [ "//remoting/host:host_main_headers" ]
- }
- source_set("start_host_main") {
- sources = [
- "host_starter.cc",
- "host_starter.h",
- "host_stopper.cc",
- "host_stopper.h",
- "start_host_main.cc",
- ]
- if (!is_win) {
- sources += [
- "start_host_as_root.cc",
- "start_host_as_root.h",
- ]
- }
- deps = [
- "//google_apis",
- "//mojo/core/embedder",
- "//net",
- "//remoting/base:base",
- "//remoting/host:common",
- "//remoting/host/setup",
- "//remoting/host/setup:start_host_main_headers",
- "//services/network:network_service",
- "//services/network/public/cpp:cpp",
- "//third_party/libjingle_xmpp:rtc_xmllite",
- "//third_party/webrtc_overrides:webrtc_component",
- ]
- configs += [
- "//build/config/compiler:wexit_time_destructors",
- "//remoting/build/config:host_implementation",
- "//remoting/build/config:version",
- ]
- }
- source_set("native_messaging_host_main_headers") {
- sources = [ "me2me_native_messaging_host_main.h" ]
- deps = [ "//remoting/host:host_main_headers" ]
- }
- source_set("native_messaging_host_main") {
- configs += [
- "//build/config/compiler:wexit_time_destructors",
- "//remoting/build/config:host_implementation",
- "//remoting/build/config:version",
- ]
- sources = [ "me2me_native_messaging_host_main.cc" ]
- deps = [
- ":native_messaging_host_main_headers",
- "//base",
- "//build:chromeos_buildflags",
- "//mojo/core/embedder",
- "//net",
- "//remoting/base",
- "//remoting/base:authorization",
- "//remoting/base:breakpad",
- "//remoting/host",
- "//remoting/host:common",
- "//remoting/host/base",
- "//remoting/host/native_messaging",
- "//remoting/host/setup",
- "//services/network:network_service",
- "//services/network/public/cpp",
- "//services/network/public/mojom",
- ]
- }
|