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/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/util/version.gni") | 8 import("//build/util/version.gni") |
9 import("//remoting/remoting_host.gni") | 9 import("//remoting/remoting_host.gni") |
10 import("//remoting/remoting_locales.gni") | 10 import("//remoting/remoting_locales.gni") |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 deps = [ | 73 deps = [ |
74 "//base:i18n", | 74 "//base:i18n", |
75 "//components/policy:policy_component_common", | 75 "//components/policy:policy_component_common", |
76 "//crypto", | 76 "//crypto", |
77 "//google_apis", | 77 "//google_apis", |
78 "//ipc", | 78 "//ipc", |
79 "//remoting/base", | 79 "//remoting/base", |
80 "//remoting/protocol", | 80 "//remoting/protocol", |
81 "//remoting/resources", | 81 "//remoting/resources", |
82 "//ui/base", | 82 "//ui/base", |
| 83 "//ui/events:dom_keycode_converter", |
83 "//ui/events/platform", | 84 "//ui/events/platform", |
84 "//ui/events:dom_keycode_converter", | |
85 ] | 85 ] |
86 | 86 |
87 if (enable_configuration_policy) { | 87 if (enable_configuration_policy) { |
88 deps += [ "//components/policy:policy" ] | 88 deps += [ "//components/policy:policy" ] |
89 } | 89 } |
90 | 90 |
91 if (is_linux && !is_chromeos) { | 91 if (is_linux && !is_chromeos) { |
92 libs += [ "pam" ] | 92 libs += [ "pam" ] |
93 } | 93 } |
94 | 94 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 rebase_path(remoting_host_srcs_gypi_values.remoting_cast_sources, | 199 rebase_path(remoting_host_srcs_gypi_values.remoting_cast_sources, |
200 ".", | 200 ".", |
201 "//remoting") | 201 "//remoting") |
202 } | 202 } |
203 } | 203 } |
204 | 204 |
205 source_set("test_support") { | 205 source_set("test_support") { |
206 testonly = true | 206 testonly = true |
207 | 207 |
208 sources = [ | 208 sources = [ |
209 "fake_desktop_capturer.cc", | |
210 "fake_desktop_capturer.h", | |
211 "fake_desktop_environment.cc", | 209 "fake_desktop_environment.cc", |
212 "fake_desktop_environment.h", | 210 "fake_desktop_environment.h", |
213 "fake_host_extension.cc", | 211 "fake_host_extension.cc", |
214 "fake_host_extension.h", | 212 "fake_host_extension.h", |
215 "fake_host_status_monitor.h", | 213 "fake_host_status_monitor.h", |
216 "fake_host_status_monitor.h", | 214 "fake_host_status_monitor.h", |
217 "fake_mouse_cursor_monitor.cc", | 215 "fake_mouse_cursor_monitor.cc", |
218 "fake_mouse_cursor_monitor.h", | 216 "fake_mouse_cursor_monitor.h", |
219 "fake_oauth_token_getter.cc", | 217 "fake_oauth_token_getter.cc", |
220 "fake_oauth_token_getter.h", | 218 "fake_oauth_token_getter.h", |
(...skipping 22 matching lines...) Expand all Loading... |
243 } | 241 } |
244 | 242 |
245 # The host portions of the remoting unit tests. | 243 # The host portions of the remoting unit tests. |
246 source_set("unit_tests") { | 244 source_set("unit_tests") { |
247 testonly = true | 245 testonly = true |
248 | 246 |
249 sources = [ | 247 sources = [ |
250 "audio_pump_unittest.cc", | 248 "audio_pump_unittest.cc", |
251 "audio_silence_detector_unittest.cc", | 249 "audio_silence_detector_unittest.cc", |
252 "backoff_timer_unittest.cc", | 250 "backoff_timer_unittest.cc", |
253 "capture_scheduler_unittest.cc", | |
254 "chromeos/aura_desktop_capturer_unittest.cc", | 251 "chromeos/aura_desktop_capturer_unittest.cc", |
255 "chromeos/clipboard_aura_unittest.cc", | 252 "chromeos/clipboard_aura_unittest.cc", |
256 "chromoting_host_context_unittest.cc", | 253 "chromoting_host_context_unittest.cc", |
257 "chromoting_host_unittest.cc", | 254 "chromoting_host_unittest.cc", |
258 "client_session_unittest.cc", | 255 "client_session_unittest.cc", |
259 "config_file_watcher_unittest.cc", | 256 "config_file_watcher_unittest.cc", |
260 "daemon_process_unittest.cc", | 257 "daemon_process_unittest.cc", |
261 "desktop_process_unittest.cc", | 258 "desktop_process_unittest.cc", |
262 "desktop_shape_tracker_unittest.cc", | 259 "desktop_shape_tracker_unittest.cc", |
263 "gcd_rest_client_unittest.cc", | 260 "gcd_rest_client_unittest.cc", |
(...skipping 24 matching lines...) Expand all Loading... |
288 "resources_unittest.cc", | 285 "resources_unittest.cc", |
289 "screen_resolution_unittest.cc", | 286 "screen_resolution_unittest.cc", |
290 "server_log_entry_host_unittest.cc", | 287 "server_log_entry_host_unittest.cc", |
291 "setup/me2me_native_messaging_host_unittest.cc", | 288 "setup/me2me_native_messaging_host_unittest.cc", |
292 "setup/oauth_helper_unittest.cc", | 289 "setup/oauth_helper_unittest.cc", |
293 "setup/pin_validator_unittest.cc", | 290 "setup/pin_validator_unittest.cc", |
294 "shaped_desktop_capturer_unittest.cc", | 291 "shaped_desktop_capturer_unittest.cc", |
295 "third_party_auth_config_unittest.cc", | 292 "third_party_auth_config_unittest.cc", |
296 "token_validator_factory_impl_unittest.cc", | 293 "token_validator_factory_impl_unittest.cc", |
297 "touch_injector_win_unittest.cc", | 294 "touch_injector_win_unittest.cc", |
298 "video_frame_pump_unittest.cc", | |
299 "video_frame_recorder_unittest.cc", | 295 "video_frame_recorder_unittest.cc", |
300 "win/rdp_client_unittest.cc", | 296 "win/rdp_client_unittest.cc", |
301 "win/worker_process_launcher_unittest.cc", | 297 "win/worker_process_launcher_unittest.cc", |
302 ] | 298 ] |
303 | 299 |
304 if (use_ozone || is_chromeos) { | 300 if (use_ozone || is_chromeos) { |
305 sources -= [ "local_input_monitor_unittest.cc" ] | 301 sources -= [ "local_input_monitor_unittest.cc" ] |
306 } | 302 } |
307 if (is_chromeos) { | 303 if (is_chromeos) { |
308 sources -= [ "linux/x_server_clipboard_unittest.cc" ] | 304 sources -= [ "linux/x_server_clipboard_unittest.cc" ] |
309 } | 305 } |
310 | 306 |
311 configs += [ "//remoting:version" ] | 307 configs += [ "//remoting:version" ] |
312 | 308 |
313 deps = [ | 309 deps = [ |
314 ":host", | 310 ":host", |
315 ":test_support", | 311 ":test_support", |
316 "//remoting/host/setup", | |
317 "//remoting/host/it2me:common", | 312 "//remoting/host/it2me:common", |
318 "//remoting/host/native_messaging", | 313 "//remoting/host/native_messaging", |
| 314 "//remoting/host/setup", |
319 "//remoting/proto", | 315 "//remoting/proto", |
320 "//skia", | 316 "//skia", |
321 "//testing/gmock", | 317 "//testing/gmock", |
322 "//testing/gtest", | 318 "//testing/gtest", |
323 ] | 319 ] |
324 | 320 |
325 if (enable_configuration_policy) { | 321 if (enable_configuration_policy) { |
326 deps += [ "//components/policy:policy_component_test_support" ] | 322 deps += [ "//components/policy:policy_component_test_support" ] |
327 } | 323 } |
328 } | 324 } |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 } | 507 } |
512 | 508 |
513 if (!is_win) { | 509 if (!is_win) { |
514 executable("remoting_me2me_host") { | 510 executable("remoting_me2me_host") { |
515 sources = [ | 511 sources = [ |
516 "host_main.cc", | 512 "host_main.cc", |
517 "host_main.h", | 513 "host_main.h", |
518 ] | 514 ] |
519 | 515 |
520 deps = [ | 516 deps = [ |
| 517 ":credits", |
521 ":remoting_me2me_host_static", | 518 ":remoting_me2me_host_static", |
522 ":credits", | |
523 "//build/config/sanitizers:deps", | 519 "//build/config/sanitizers:deps", |
524 ] | 520 ] |
525 } | 521 } |
526 | 522 |
527 executable("native_messaging_host") { | 523 executable("native_messaging_host") { |
528 sources = [ | 524 sources = [ |
529 "setup/me2me_native_messaging_host_entry_point.cc", | 525 "setup/me2me_native_messaging_host_entry_point.cc", |
530 "setup/me2me_native_messaging_host_main.cc", | 526 "setup/me2me_native_messaging_host_main.cc", |
531 "setup/me2me_native_messaging_host_main.h", | 527 "setup/me2me_native_messaging_host_main.h", |
532 ] | 528 ] |
533 | 529 |
534 deps = [ | 530 deps = [ |
535 ":remoting_infoplist_strings", | 531 ":remoting_infoplist_strings", |
536 "//base", | 532 "//base", |
537 "//remoting/base:breakpad", | 533 "//remoting/base:breakpad", |
538 "//remoting/host", | 534 "//remoting/host", |
| 535 "//remoting/host/native_messaging", |
539 "//remoting/host/setup", | 536 "//remoting/host/setup", |
540 "//remoting/host/native_messaging", | |
541 ] | 537 ] |
542 | 538 |
543 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 539 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
544 | 540 |
545 # The |major|, |build| and |patch| versions are inherited from Chrome. | 541 # The |major|, |build| and |patch| versions are inherited from Chrome. |
546 # Since Chrome's |minor| version is always '0', we replace it with a | 542 # Since Chrome's |minor| version is always '0', we replace it with a |
547 # Chromoting-specific patch version. | 543 # Chromoting-specific patch version. |
548 defines = [ "VERSION=" + "$chrome_version_major" + "." + | 544 defines = [ "VERSION=" + "$chrome_version_major" + "." + |
549 "$remoting_version_patch" + "." + "$chrome_version_build" + | 545 "$remoting_version_patch" + "." + "$chrome_version_build" + |
550 "." + "$chrome_version_patch" ] | 546 "." + "$chrome_version_patch" ] |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 "//remoting/resources", | 643 "//remoting/resources", |
648 "//third_party/icu:icudata", | 644 "//third_party/icu:icudata", |
649 ] | 645 ] |
650 } | 646 } |
651 } else { | 647 } else { |
652 group("remoting_me2me_host_archive") { | 648 group("remoting_me2me_host_archive") { |
653 } | 649 } |
654 } | 650 } |
655 } | 651 } |
656 } | 652 } |
OLD | NEW |