OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//remoting/remoting_host.gni") | 7 import("//remoting/remoting_host.gni") |
8 import("//remoting/remoting_locales.gni") | 8 import("//remoting/remoting_locales.gni") |
9 import("//remoting/remoting_srcs.gni") | 9 import("//remoting/remoting_srcs.gni") |
10 import("//remoting/remoting_version.gni") | 10 import("//remoting/remoting_version.gni") |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 "//remoting/protocol", | 73 "//remoting/protocol", |
74 "//remoting/resources", | 74 "//remoting/resources", |
75 "//ui/events/platform", | 75 "//ui/events/platform", |
76 "//ui/events:dom_keycode_converter", | 76 "//ui/events:dom_keycode_converter", |
77 ] | 77 ] |
78 | 78 |
79 if (enable_configuration_policy) { | 79 if (enable_configuration_policy) { |
80 deps += [ "//components/policy:policy" ] | 80 deps += [ "//components/policy:policy" ] |
81 } | 81 } |
82 | 82 |
83 if (is_linux && !is_chromeos) { | 83 if (is_linux && !is_chromeos_ui) { |
84 libs += [ "pam" ] | 84 libs += [ "pam" ] |
85 } | 85 } |
86 | 86 |
87 if (use_x11) { | 87 if (use_x11) { |
88 configs += [ | 88 configs += [ |
89 "//build/config/linux:x11", | 89 "//build/config/linux:x11", |
90 "//build/config/linux:xrandr", | 90 "//build/config/linux:xrandr", |
91 ] | 91 ] |
92 if (!is_chromeos) { | 92 if (!is_chromeos_ui) { |
93 deps += [ "//build/config/linux/gtk" ] | 93 deps += [ "//build/config/linux/gtk" ] |
94 } | 94 } |
95 } else { | 95 } else { |
96 sources -= [ | 96 sources -= [ |
97 "clipboard_x11.cc", | 97 "clipboard_x11.cc", |
98 "desktop_resizer_x11.cc", | 98 "desktop_resizer_x11.cc", |
99 "input_injector_x11.cc", | 99 "input_injector_x11.cc", |
100 "local_input_monitor_x11.cc", | 100 "local_input_monitor_x11.cc", |
101 ] | 101 ] |
102 if (is_linux) { | 102 if (is_linux) { |
103 # These will already be filtered out on non-Linux. | 103 # These will already be filtered out on non-Linux. |
104 sources -= [ | 104 sources -= [ |
105 "linux/x11_util.cc", | 105 "linux/x11_util.cc", |
106 "linux/x_server_clipboard.cc", | 106 "linux/x_server_clipboard.cc", |
107 "linux/x_server_clipboard.h", | 107 "linux/x_server_clipboard.h", |
108 ] | 108 ] |
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 if (!use_ozone) { | 112 if (!use_ozone) { |
113 sources -= [ "desktop_resizer_ozone.cc" ] | 113 sources -= [ "desktop_resizer_ozone.cc" ] |
114 } | 114 } |
115 | 115 |
116 if (is_chromeos) { | 116 if (is_chromeos_ui) { |
117 # TODO(GYP): crbug.com/481627. These should only be included | 117 # TODO(GYP): crbug.com/481627. These should only be included |
118 # when enable_me2me_host is true. | 118 # when enable_me2me_host is true. |
119 sources -= [ | 119 sources -= [ |
120 "me2me_desktop_environment.cc", | 120 "me2me_desktop_environment.cc", |
121 "me2me_desktop_environment.h", | 121 "me2me_desktop_environment.h", |
122 ] | 122 ] |
123 deps += [ | 123 deps += [ |
124 "//cc", | 124 "//cc", |
125 "//gpu/command_buffer/common", | 125 "//gpu/command_buffer/common", |
126 "//ppapi/host", | 126 "//ppapi/host", |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 "shaped_desktop_capturer_unittest.cc", | 291 "shaped_desktop_capturer_unittest.cc", |
292 "third_party_auth_config_unittest.cc", | 292 "third_party_auth_config_unittest.cc", |
293 "token_validator_factory_impl_unittest.cc", | 293 "token_validator_factory_impl_unittest.cc", |
294 "touch_injector_win_unittest.cc", | 294 "touch_injector_win_unittest.cc", |
295 "video_frame_pump_unittest.cc", | 295 "video_frame_pump_unittest.cc", |
296 "video_frame_recorder_unittest.cc", | 296 "video_frame_recorder_unittest.cc", |
297 "win/rdp_client_unittest.cc", | 297 "win/rdp_client_unittest.cc", |
298 "win/worker_process_launcher_unittest.cc", | 298 "win/worker_process_launcher_unittest.cc", |
299 ] | 299 ] |
300 | 300 |
301 if (use_ozone || is_chromeos) { | 301 if (use_ozone || is_chromeos_ui) { |
302 sources -= [ "local_input_monitor_unittest.cc" ] | 302 sources -= [ "local_input_monitor_unittest.cc" ] |
303 } | 303 } |
304 if (is_chromeos) { | 304 if (is_chromeos_ui) { |
305 sources -= [ "linux/x_server_clipboard_unittest.cc" ] | 305 sources -= [ "linux/x_server_clipboard_unittest.cc" ] |
306 } | 306 } |
307 | 307 |
308 configs += [ "//remoting:version" ] | 308 configs += [ "//remoting:version" ] |
309 | 309 |
310 deps = [ | 310 deps = [ |
311 ":host", | 311 ":host", |
312 ":test_support", | 312 ":test_support", |
313 "//remoting/host/setup", | 313 "//remoting/host/setup", |
314 "//remoting/host/it2me:common", | 314 "//remoting/host/it2me:common", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 ] | 465 ] |
466 | 466 |
467 deps = [ | 467 deps = [ |
468 ":remoting_me2me_host_static", | 468 ":remoting_me2me_host_static", |
469 ":credits", | 469 ":credits", |
470 ] | 470 ] |
471 } | 471 } |
472 } | 472 } |
473 } | 473 } |
474 } | 474 } |
OLD | NEW |