OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'remoting_host_linux.gypi', | 7 'remoting_host_linux.gypi', |
8 'remoting_host_mac.gypi', | 8 'remoting_host_mac.gypi', |
9 'remoting_host_win.gypi', | 9 'remoting_host_win.gypi', |
10 ], | 10 ], |
11 | 11 |
12 'variables': { | 12 'variables': { |
13 'conditions': [ | 13 'conditions': [ |
14 # Remoting host is supported only on Windows, OSX and Linux (with X11). | 14 # Remoting host is supported only on Windows, OSX and Linux (with X11). |
15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { | 15 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0 and use_x11==1)',
{ |
16 'enable_me2me_host': 1, | |
17 'enable_it2me_host': 1, | |
18 'enable_remoting_host': 1, | 16 'enable_remoting_host': 1, |
19 }, { | 17 }, { |
20 'enable_me2me_host': 0, | |
21 'enable_it2me_host': 0, | |
22 'enable_remoting_host': 0, | 18 'enable_remoting_host': 0, |
23 }], | 19 }], |
24 ['chromeos==1', { | |
25 'enable_me2me_host': 0, | |
26 'enable_it2me_host': 0, | |
27 }], | |
28 ], | 20 ], |
29 }, | 21 }, |
30 | 22 |
31 'conditions': [ | 23 'conditions': [ |
32 ['enable_remoting_host==1', { | 24 ['enable_remoting_host==1', { |
33 'targets': [ | 25 'targets': [ |
34 { | 26 { |
35 'target_name': 'remoting_host', | 27 'target_name': 'remoting_host', |
36 'type': 'static_library', | 28 'type': 'static_library', |
37 'variables': { | 29 'variables': { |
(...skipping 27 matching lines...) Expand all Loading... |
65 'host/audio_scheduler.cc', | 57 'host/audio_scheduler.cc', |
66 'host/audio_scheduler.h', | 58 'host/audio_scheduler.h', |
67 'host/audio_silence_detector.cc', | 59 'host/audio_silence_detector.cc', |
68 'host/audio_silence_detector.h', | 60 'host/audio_silence_detector.h', |
69 'host/basic_desktop_environment.cc', | 61 'host/basic_desktop_environment.cc', |
70 'host/basic_desktop_environment.h', | 62 'host/basic_desktop_environment.h', |
71 'host/branding.cc', | 63 'host/branding.cc', |
72 'host/branding.h', | 64 'host/branding.h', |
73 'host/capture_scheduler.cc', | 65 'host/capture_scheduler.cc', |
74 'host/capture_scheduler.h', | 66 'host/capture_scheduler.h', |
75 'host/chromeos/aura_desktop_capturer.cc', | |
76 'host/chromeos/aura_desktop_capturer.h', | |
77 'host/chromium_port_allocator_factory.cc', | 67 'host/chromium_port_allocator_factory.cc', |
78 'host/chromium_port_allocator_factory.h', | 68 'host/chromium_port_allocator_factory.h', |
79 'host/chromoting_host.cc', | 69 'host/chromoting_host.cc', |
80 'host/chromoting_host.h', | 70 'host/chromoting_host.h', |
81 'host/chromoting_host_context.cc', | 71 'host/chromoting_host_context.cc', |
82 'host/chromoting_host_context.h', | 72 'host/chromoting_host_context.h', |
83 'host/chromoting_messages.cc', | 73 'host/chromoting_messages.cc', |
84 'host/chromoting_messages.h', | 74 'host/chromoting_messages.h', |
85 'host/chromoting_param_traits.cc', | 75 'host/chromoting_param_traits.cc', |
86 'host/chromoting_param_traits.h', | 76 'host/chromoting_param_traits.h', |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 'host/win/session_input_injector.h', | 280 'host/win/session_input_injector.h', |
291 'host/win/window_station_and_desktop.cc', | 281 'host/win/window_station_and_desktop.cc', |
292 'host/win/window_station_and_desktop.h', | 282 'host/win/window_station_and_desktop.h', |
293 'host/win/wts_terminal_monitor.cc', | 283 'host/win/wts_terminal_monitor.cc', |
294 'host/win/wts_terminal_monitor.h', | 284 'host/win/wts_terminal_monitor.h', |
295 'host/win/wts_terminal_observer.h', | 285 'host/win/wts_terminal_observer.h', |
296 ], | 286 ], |
297 'conditions': [ | 287 'conditions': [ |
298 ['OS=="linux"', { | 288 ['OS=="linux"', { |
299 'dependencies': [ | 289 'dependencies': [ |
| 290 # Always use GTK on Linux, even for Aura builds. |
| 291 '../build/linux/system.gyp:gtk', |
300 '../build/linux/system.gyp:x11', | 292 '../build/linux/system.gyp:x11', |
301 '../build/linux/system.gyp:xext', | 293 '../build/linux/system.gyp:xext', |
302 '../build/linux/system.gyp:xfixes', | 294 '../build/linux/system.gyp:xfixes', |
303 '../build/linux/system.gyp:xi', | 295 '../build/linux/system.gyp:xi', |
304 '../build/linux/system.gyp:xrandr', | 296 '../build/linux/system.gyp:xrandr', |
305 '../build/linux/system.gyp:xtst', | 297 '../build/linux/system.gyp:xtst', |
306 ], | 298 ], |
307 'link_settings': { | 299 'link_settings': { |
308 'libraries': [ | 300 'libraries': [ |
309 '-lpam', | 301 '-lpam', |
310 ], | 302 ], |
311 }, | 303 }, |
312 }], | 304 }], |
313 ['OS=="linux" and chromeos==0', { | |
314 'dependencies' : [ | |
315 # Always use GTK on Linux, even for Aura builds. | |
316 '../build/linux/system.gyp:gtk', | |
317 ], | |
318 }], | |
319 ['chromeos==1', { | |
320 'dependencies' : [ | |
321 '../ash/ash.gyp:ash', | |
322 '../cc/cc.gyp:cc', | |
323 '../content/content.gyp:content', | |
324 '../ppapi/ppapi_internal.gyp:ppapi_host', | |
325 '../skia/skia.gyp:skia', | |
326 '../ui/aura/aura.gyp:aura', | |
327 '../ui/compositor/compositor.gyp:compositor', | |
328 ], | |
329 'include_dirs': [ | |
330 '../third_party/skia/include/utils', | |
331 ], | |
332 'sources!' : [ | |
333 'host/continue_window.cc', | |
334 'host/continue_window.h', | |
335 'host/continue_window_linux.cc', | |
336 'host/disconnect_window.cc', | |
337 'host/disconnect_window_linux.cc', | |
338 'host/remoting_me2me_host.cc', | |
339 ] | |
340 }, { # chromeos==0 | |
341 'sources!' : [ | |
342 'host/chromeos/aura_desktop_capturer.cc', | |
343 'host/chromeos/aura_desktop_capturer.h', | |
344 ], | |
345 }], | |
346 ['OS=="mac"', { | 305 ['OS=="mac"', { |
347 'dependencies': [ | 306 'dependencies': [ |
348 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 307 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
349 ], | 308 ], |
350 'link_settings': { | 309 'link_settings': { |
351 'libraries': [ | 310 'libraries': [ |
352 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 311 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
353 'libpam.a', | 312 'libpam.a', |
354 ], | 313 ], |
355 }, | 314 }, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 'host/native_messaging/native_messaging_channel.cc', | 391 'host/native_messaging/native_messaging_channel.cc', |
433 'host/native_messaging/native_messaging_channel.h', | 392 'host/native_messaging/native_messaging_channel.h', |
434 'host/native_messaging/native_messaging_reader.cc', | 393 'host/native_messaging/native_messaging_reader.cc', |
435 'host/native_messaging/native_messaging_reader.h', | 394 'host/native_messaging/native_messaging_reader.h', |
436 'host/native_messaging/native_messaging_writer.cc', | 395 'host/native_messaging/native_messaging_writer.cc', |
437 'host/native_messaging/native_messaging_writer.h', | 396 'host/native_messaging/native_messaging_writer.h', |
438 ], | 397 ], |
439 }, # end of target 'remoting_native_messaging_base' | 398 }, # end of target 'remoting_native_messaging_base' |
440 | 399 |
441 { | 400 { |
| 401 'target_name': 'remoting_me2me_host_static', |
| 402 'type': 'static_library', |
| 403 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 404 'dependencies': [ |
| 405 '../base/base.gyp:base', |
| 406 '../base/base.gyp:base_i18n', |
| 407 '../net/net.gyp:net', |
| 408 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
| 409 'remoting_base', |
| 410 'remoting_breakpad', |
| 411 'remoting_host', |
| 412 'remoting_protocol', |
| 413 ], |
| 414 'defines': [ |
| 415 'VERSION=<(version_full)', |
| 416 ], |
| 417 'sources': [ |
| 418 'host/curtain_mode.h', |
| 419 'host/curtain_mode_linux.cc', |
| 420 'host/curtain_mode_mac.cc', |
| 421 'host/curtain_mode_win.cc', |
| 422 'host/posix/signal_handler.cc', |
| 423 'host/posix/signal_handler.h', |
| 424 ], |
| 425 'conditions': [ |
| 426 ['os_posix != 1', { |
| 427 'sources/': [ |
| 428 ['exclude', '^host/posix/'], |
| 429 ], |
| 430 }], |
| 431 ], # end of 'conditions' |
| 432 }, # end of target 'remoting_me2me_host_static' |
| 433 |
| 434 { |
442 'target_name': 'remoting_host_setup_base', | 435 'target_name': 'remoting_host_setup_base', |
443 'type': 'static_library', | 436 'type': 'static_library', |
444 'variables': { 'enable_wexit_time_destructors': 1, }, | 437 'variables': { 'enable_wexit_time_destructors': 1, }, |
445 'dependencies': [ | 438 'dependencies': [ |
446 '../base/base.gyp:base', | 439 '../base/base.gyp:base', |
447 '../google_apis/google_apis.gyp:google_apis', | 440 '../google_apis/google_apis.gyp:google_apis', |
448 'remoting_host', | 441 'remoting_host', |
449 ], | 442 ], |
450 'defines': [ | 443 'defines': [ |
451 'VERSION=<(version_full)', | 444 'VERSION=<(version_full)', |
(...skipping 29 matching lines...) Expand all Loading... |
481 'dependencies': [ | 474 'dependencies': [ |
482 '../google_update/google_update.gyp:google_update', | 475 '../google_update/google_update.gyp:google_update', |
483 'remoting_lib_idl', | 476 'remoting_lib_idl', |
484 ], | 477 ], |
485 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 478 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
486 'msvs_disabled_warnings': [4267, ], | 479 'msvs_disabled_warnings': [4267, ], |
487 }], | 480 }], |
488 ], | 481 ], |
489 }, # end of target 'remoting_host_setup_base' | 482 }, # end of target 'remoting_host_setup_base' |
490 | 483 |
| 484 { |
| 485 'target_name': 'remoting_it2me_host_static', |
| 486 'type': 'static_library', |
| 487 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 488 'dependencies': [ |
| 489 '../base/base.gyp:base_i18n', |
| 490 '../net/net.gyp:net', |
| 491 'remoting_base', |
| 492 'remoting_host', |
| 493 'remoting_infoplist_strings', |
| 494 'remoting_protocol', |
| 495 'remoting_resources', |
| 496 ], |
| 497 'defines': [ |
| 498 'VERSION=<(version_full)', |
| 499 ], |
| 500 'sources': [ |
| 501 'host/it2me/it2me_host.cc', |
| 502 'host/it2me/it2me_host.h', |
| 503 'host/it2me/it2me_native_messaging_host.cc', |
| 504 'host/it2me/it2me_native_messaging_host.h', |
| 505 ], |
| 506 }, # end of target 'remoting_it2me_host_static' |
| 507 |
491 # Generates native messaging manifest files. | 508 # Generates native messaging manifest files. |
492 { | 509 { |
493 'target_name': 'remoting_native_messaging_manifests', | 510 'target_name': 'remoting_native_messaging_manifests', |
494 'type': 'none', | 511 'type': 'none', |
495 'conditions': [ | 512 'conditions': [ |
496 [ 'OS == "win"', { | 513 [ 'OS == "win"', { |
497 'variables': { | 514 'variables': { |
498 'me2me_host_path': 'remoting_native_messaging_host.exe', | 515 'me2me_host_path': 'remoting_native_messaging_host.exe', |
499 'it2me_host_path': 'remote_assistance_host.exe', | 516 'it2me_host_path': 'remote_assistance_host.exe', |
500 }, | 517 }, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 '--template', '<(RULE_INPUT_PATH)', | 610 '--template', '<(RULE_INPUT_PATH)', |
594 '--locale_output', | 611 '--locale_output', |
595 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf
fix}.lproj/InfoPlist.strings', | 612 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf
fix}.lproj/InfoPlist.strings', |
596 '<@(remoting_locales)', | 613 '<@(remoting_locales)', |
597 ]}, | 614 ]}, |
598 ], | 615 ], |
599 }, # end of target 'remoting_infoplist_strings' | 616 }, # end of target 'remoting_infoplist_strings' |
600 ], # end of 'targets' | 617 ], # end of 'targets' |
601 }], # 'enable_remoting_host==1' | 618 }], # 'enable_remoting_host==1' |
602 | 619 |
603 ['enable_me2me_host==1', { | 620 ['OS!="win" and enable_remoting_host==1', { |
604 'targets': [ | |
605 { | |
606 'target_name': 'remoting_me2me_host_static', | |
607 'type': 'static_library', | |
608 'variables': { 'enable_wexit_time_destructors': 1, }, | |
609 'dependencies': [ | |
610 '../base/base.gyp:base', | |
611 '../base/base.gyp:base_i18n', | |
612 '../net/net.gyp:net', | |
613 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | |
614 'remoting_base', | |
615 'remoting_breakpad', | |
616 'remoting_host', | |
617 'remoting_protocol', | |
618 ], | |
619 'defines': [ | |
620 'VERSION=<(version_full)', | |
621 ], | |
622 'sources': [ | |
623 'host/curtain_mode.h', | |
624 'host/curtain_mode_linux.cc', | |
625 'host/curtain_mode_mac.cc', | |
626 'host/curtain_mode_win.cc', | |
627 'host/posix/signal_handler.cc', | |
628 'host/posix/signal_handler.h', | |
629 ], | |
630 'conditions': [ | |
631 ['os_posix != 1', { | |
632 'sources/': [ | |
633 ['exclude', '^host/posix/'], | |
634 ], | |
635 }], | |
636 ], # end of 'conditions' | |
637 }, # end of target 'remoting_me2me_host_static' | |
638 ] # end of targets | |
639 }], # end of enable_me2me_host==1 | |
640 | |
641 ['enable_it2me_host==1', { | |
642 'targets': [ | |
643 { | |
644 'target_name': 'remoting_it2me_host_static', | |
645 'type': 'static_library', | |
646 'variables': { 'enable_wexit_time_destructors': 1, }, | |
647 'dependencies': [ | |
648 '../base/base.gyp:base_i18n', | |
649 '../net/net.gyp:net', | |
650 'remoting_base', | |
651 'remoting_host', | |
652 'remoting_infoplist_strings', | |
653 'remoting_protocol', | |
654 'remoting_resources', | |
655 ], | |
656 'defines': [ | |
657 'VERSION=<(version_full)', | |
658 ], | |
659 'sources': [ | |
660 'host/it2me/it2me_host.cc', | |
661 'host/it2me/it2me_host.h', | |
662 'host/it2me/it2me_native_messaging_host.cc', | |
663 'host/it2me/it2me_native_messaging_host.h', | |
664 ], | |
665 }, # end of target 'remoting_it2me_host_static' | |
666 ] # end of targets | |
667 }], # end of 'enable_it2me_host==1' | |
668 | |
669 ['OS!="win" and enable_me2me_host==1', { | |
670 'targets': [ | 621 'targets': [ |
671 { | 622 { |
672 'target_name': 'remoting_me2me_host', | 623 'target_name': 'remoting_me2me_host', |
673 'type': 'executable', | 624 'type': 'executable', |
674 'variables': { 'enable_wexit_time_destructors': 1, }, | 625 'variables': { 'enable_wexit_time_destructors': 1, }, |
675 'dependencies': [ | 626 'dependencies': [ |
676 '../base/base.gyp:base', | 627 '../base/base.gyp:base', |
677 '../base/base.gyp:base_i18n', | 628 '../base/base.gyp:base_i18n', |
678 '<(icu_gyp_path):icudata', | 629 '<(icu_gyp_path):icudata', |
679 '../net/net.gyp:net', | 630 '../net/net.gyp:net', |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 '<(dump_product_syms_path)', | 788 '<(dump_product_syms_path)', |
838 '<(version_full)', | 789 '<(version_full)', |
839 ], | 790 ], |
840 }, # end of postbuild 'dump_symbols' | 791 }, # end of postbuild 'dump_symbols' |
841 ], # end of 'postbuilds' | 792 ], # end of 'postbuilds' |
842 }], # mac_breakpad==1 | 793 }], # mac_breakpad==1 |
843 ], # conditions | 794 ], # conditions |
844 }], # OS=mac | 795 }], # OS=mac |
845 ], | 796 ], |
846 }, # end of target 'remoting_me2me_native_messaging_host' | 797 }, # end of target 'remoting_me2me_native_messaging_host' |
847 ], # targets | |
848 }], # end of OS!="win" and enable_me2me_host==1 | |
849 | |
850 ['OS!="win" and enable_it2me_host==1', { | |
851 'targets': [ | |
852 { | 798 { |
853 'target_name': 'remoting_it2me_native_messaging_host', | 799 'target_name': 'remoting_it2me_native_messaging_host', |
854 'type': 'executable', | 800 'type': 'executable', |
855 'product_name': 'remote_assistance_host', | 801 'product_name': 'remote_assistance_host', |
856 'variables': { 'enable_wexit_time_destructors': 1, }, | 802 'variables': { 'enable_wexit_time_destructors': 1, }, |
857 'dependencies': [ | 803 'dependencies': [ |
858 '../base/base.gyp:base', | 804 '../base/base.gyp:base', |
859 'remoting_base', | 805 'remoting_base', |
860 'remoting_breakpad', | 806 'remoting_breakpad', |
861 'remoting_host', | 807 'remoting_host', |
862 'remoting_it2me_host_static', | 808 'remoting_it2me_host_static', |
863 'remoting_native_messaging_base', | 809 'remoting_native_messaging_base', |
864 'remoting_protocol', | 810 'remoting_protocol', |
865 ], | 811 ], |
866 'defines': [ | 812 'defines': [ |
867 'VERSION=<(version_full)', | 813 'VERSION=<(version_full)', |
868 ], | 814 ], |
869 'sources': [ | 815 'sources': [ |
870 'host/it2me/it2me_native_messaging_host_entry_point.cc', | 816 'host/it2me/it2me_native_messaging_host_entry_point.cc', |
871 'host/it2me/it2me_native_messaging_host_main.cc', | 817 'host/it2me/it2me_native_messaging_host_main.cc', |
872 'host/it2me/it2me_native_messaging_host_main.h', | 818 'host/it2me/it2me_native_messaging_host_main.h', |
873 ], | 819 ], |
874 'conditions': [ | 820 'conditions': [ |
875 ['OS=="linux" and chromeos==0', { | 821 ['OS=="linux"', { |
876 'dependencies': [ | 822 'dependencies': [ |
877 # Always use GTK on Linux, even for Aura builds. | 823 # Always use GTK on Linux, even for Aura builds. |
878 '../build/linux/system.gyp:gtk', | 824 '../build/linux/system.gyp:gtk', |
879 ], | 825 ], |
880 }], | 826 }], |
881 ['OS=="linux" and use_allocator!="none"', { | 827 ['OS=="linux" and use_allocator!="none"', { |
882 'dependencies': [ | 828 'dependencies': [ |
883 '../base/allocator/allocator.gyp:allocator', | 829 '../base/allocator/allocator.gyp:allocator', |
884 ], | 830 ], |
885 }], | 831 }], |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 '<(version_full)', | 883 '<(version_full)', |
938 ], | 884 ], |
939 }, # end of postbuild 'dump_symbols' | 885 }, # end of postbuild 'dump_symbols' |
940 ], # end of 'postbuilds' | 886 ], # end of 'postbuilds' |
941 }], # mac_breakpad==1 | 887 }], # mac_breakpad==1 |
942 ], # conditions | 888 ], # conditions |
943 }], # OS=mac | 889 }], # OS=mac |
944 ], | 890 ], |
945 }, # end of target 'remoting_it2me_native_messaging_host' | 891 }, # end of target 'remoting_it2me_native_messaging_host' |
946 ], # end of 'targets' | 892 ], # end of 'targets' |
947 }], # # end of OS!="win" and enable_it2me_host==1 | 893 }], # OS!="win" |
948 | 894 |
949 ], # end of 'conditions' | 895 ], # end of 'conditions' |
950 } | 896 } |
OLD | NEW |