1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
6 import("//build/config/ui.gni")
7 import("//remoting/remoting_version.gni")
9 static_library("host") {
10 gypi_values = exec_script(
11 "//build/gypi_to_gn.py",
12 [ rebase_path("../remoting_host_srcs.gypi")],
14 [ "../remoting_host_srcs.gypi" ])
16 sources = rebase_path(
17 gypi_values.remoting_host_sources, ".", "//remoting")
21 configs += [ "//build/config/compiler:wexit_time_destructors" ]
23 defines = [ "WEBRTC_CHROMIUM_BUILD" ]
31 "//remoting/protocol",
32 "//remoting/resources",
33 "//ui/events/platform",
34 "//ui/events:dom4_keycode_converter",
43 #TODO : (kelvinp) Add GTK to the configs.
44 "//build/config/linux:x11",
49 "linux/x_server_clipboard.cc",
50 "linux/x_server_clipboard.h",
57 "//components/policy:policy_component_common",
73 "input_injector_x11.cc",
74 "local_input_monitor_x11.cc",
78 "chromeos/mouse_cursor_monitor_aura.cc",
79 "chromeos/mouse_cursor_monitor_aura.h",
81 "input_injector_chromeos.cc",
82 "input_injector_chromeos.h",
83 "linux/x_server_clipboard.cc",
84 "linux/x_server_clipboard.h",
85 "local_input_monitor_chromeos.cc",
90 "continue_window_linux.cc",
91 "disconnect_window_linux.cc",
92 "policy_hack/policy_watcher_linux.cc",
93 "remoting_me2me_host.cc",
99 "HOST_BUNDLE_NAME=\"$host_bundle_name\"",
100 "PREFPANE_BUNDLE_NAME=\"$prefpane_bundle_name\"",
104 "Accelerate.framework",
109 "//google_toolbox_for_mac"
115 "//third_party/libjingle:libpeerconnection",
116 "//third_party/webrtc/modules/desktop_capture",
119 sources += rebase_path(
120 gypi_values.remoting_cast_sources, ".", "//remoting")