| 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 chromeos==0 and use_x11==1)',
{ | 15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { |
| 16 'enable_me2me_host': 1, |
| 17 'enable_it2me_host': 1, |
| 16 'enable_remoting_host': 1, | 18 'enable_remoting_host': 1, |
| 17 }, { | 19 }, { |
| 20 'enable_me2me_host': 0, |
| 21 'enable_it2me_host': 0, |
| 18 'enable_remoting_host': 0, | 22 'enable_remoting_host': 0, |
| 19 }], | 23 }], |
| 24 ['chromeos==1', { |
| 25 'enable_me2me_host': 0, |
| 26 'enable_it2me_host': 0, |
| 27 }], |
| 20 ], | 28 ], |
| 21 }, | 29 }, |
| 22 | 30 |
| 23 'conditions': [ | 31 'conditions': [ |
| 24 ['enable_remoting_host==1', { | 32 ['enable_remoting_host==1', { |
| 25 'targets': [ | 33 'targets': [ |
| 26 { | 34 { |
| 27 'target_name': 'remoting_host', | 35 'target_name': 'remoting_host', |
| 28 'type': 'static_library', | 36 'type': 'static_library', |
| 29 'variables': { | 37 'variables': { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 57 'host/audio_scheduler.cc', | 65 'host/audio_scheduler.cc', |
| 58 'host/audio_scheduler.h', | 66 'host/audio_scheduler.h', |
| 59 'host/audio_silence_detector.cc', | 67 'host/audio_silence_detector.cc', |
| 60 'host/audio_silence_detector.h', | 68 'host/audio_silence_detector.h', |
| 61 'host/basic_desktop_environment.cc', | 69 'host/basic_desktop_environment.cc', |
| 62 'host/basic_desktop_environment.h', | 70 'host/basic_desktop_environment.h', |
| 63 'host/branding.cc', | 71 'host/branding.cc', |
| 64 'host/branding.h', | 72 'host/branding.h', |
| 65 'host/capture_scheduler.cc', | 73 'host/capture_scheduler.cc', |
| 66 'host/capture_scheduler.h', | 74 'host/capture_scheduler.h', |
| 75 'host/chromeos/aura_desktop_capturer.cc', |
| 76 'host/chromeos/aura_desktop_capturer.h', |
| 67 'host/chromium_port_allocator_factory.cc', | 77 'host/chromium_port_allocator_factory.cc', |
| 68 'host/chromium_port_allocator_factory.h', | 78 'host/chromium_port_allocator_factory.h', |
| 69 'host/chromoting_host.cc', | 79 'host/chromoting_host.cc', |
| 70 'host/chromoting_host.h', | 80 'host/chromoting_host.h', |
| 71 'host/chromoting_host_context.cc', | 81 'host/chromoting_host_context.cc', |
| 72 'host/chromoting_host_context.h', | 82 'host/chromoting_host_context.h', |
| 73 'host/chromoting_messages.cc', | 83 'host/chromoting_messages.cc', |
| 74 'host/chromoting_messages.h', | 84 'host/chromoting_messages.h', |
| 75 'host/chromoting_param_traits.cc', | 85 'host/chromoting_param_traits.cc', |
| 76 'host/chromoting_param_traits.h', | 86 'host/chromoting_param_traits.h', |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 'host/win/session_input_injector.h', | 290 'host/win/session_input_injector.h', |
| 281 'host/win/window_station_and_desktop.cc', | 291 'host/win/window_station_and_desktop.cc', |
| 282 'host/win/window_station_and_desktop.h', | 292 'host/win/window_station_and_desktop.h', |
| 283 'host/win/wts_terminal_monitor.cc', | 293 'host/win/wts_terminal_monitor.cc', |
| 284 'host/win/wts_terminal_monitor.h', | 294 'host/win/wts_terminal_monitor.h', |
| 285 'host/win/wts_terminal_observer.h', | 295 'host/win/wts_terminal_observer.h', |
| 286 ], | 296 ], |
| 287 'conditions': [ | 297 'conditions': [ |
| 288 ['OS=="linux"', { | 298 ['OS=="linux"', { |
| 289 'dependencies': [ | 299 'dependencies': [ |
| 290 # Always use GTK on Linux, even for Aura builds. | |
| 291 '../build/linux/system.gyp:gtk', | |
| 292 '../build/linux/system.gyp:x11', | 300 '../build/linux/system.gyp:x11', |
| 293 '../build/linux/system.gyp:xext', | 301 '../build/linux/system.gyp:xext', |
| 294 '../build/linux/system.gyp:xfixes', | 302 '../build/linux/system.gyp:xfixes', |
| 295 '../build/linux/system.gyp:xi', | 303 '../build/linux/system.gyp:xi', |
| 296 '../build/linux/system.gyp:xrandr', | 304 '../build/linux/system.gyp:xrandr', |
| 297 '../build/linux/system.gyp:xtst', | 305 '../build/linux/system.gyp:xtst', |
| 298 ], | 306 ], |
| 299 'link_settings': { | 307 'link_settings': { |
| 300 'libraries': [ | 308 'libraries': [ |
| 301 '-lpam', | 309 '-lpam', |
| 302 ], | 310 ], |
| 303 }, | 311 }, |
| 304 }], | 312 }], |
| 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 }], |
| 305 ['OS=="mac"', { | 346 ['OS=="mac"', { |
| 306 'dependencies': [ | 347 'dependencies': [ |
| 307 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 348 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
| 308 ], | 349 ], |
| 309 'link_settings': { | 350 'link_settings': { |
| 310 'libraries': [ | 351 'libraries': [ |
| 311 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 352 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 312 'libpam.a', | 353 'libpam.a', |
| 313 ], | 354 ], |
| 314 }, | 355 }, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 'host/native_messaging/native_messaging_channel.cc', | 432 'host/native_messaging/native_messaging_channel.cc', |
| 392 'host/native_messaging/native_messaging_channel.h', | 433 'host/native_messaging/native_messaging_channel.h', |
| 393 'host/native_messaging/native_messaging_reader.cc', | 434 'host/native_messaging/native_messaging_reader.cc', |
| 394 'host/native_messaging/native_messaging_reader.h', | 435 'host/native_messaging/native_messaging_reader.h', |
| 395 'host/native_messaging/native_messaging_writer.cc', | 436 'host/native_messaging/native_messaging_writer.cc', |
| 396 'host/native_messaging/native_messaging_writer.h', | 437 'host/native_messaging/native_messaging_writer.h', |
| 397 ], | 438 ], |
| 398 }, # end of target 'remoting_native_messaging_base' | 439 }, # end of target 'remoting_native_messaging_base' |
| 399 | 440 |
| 400 { | 441 { |
| 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 { | |
| 435 'target_name': 'remoting_host_setup_base', | 442 'target_name': 'remoting_host_setup_base', |
| 436 'type': 'static_library', | 443 'type': 'static_library', |
| 437 'variables': { 'enable_wexit_time_destructors': 1, }, | 444 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 438 'dependencies': [ | 445 'dependencies': [ |
| 439 '../base/base.gyp:base', | 446 '../base/base.gyp:base', |
| 440 '../google_apis/google_apis.gyp:google_apis', | 447 '../google_apis/google_apis.gyp:google_apis', |
| 441 'remoting_host', | 448 'remoting_host', |
| 442 ], | 449 ], |
| 443 'defines': [ | 450 'defines': [ |
| 444 'VERSION=<(version_full)', | 451 'VERSION=<(version_full)', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 474 'dependencies': [ | 481 'dependencies': [ |
| 475 '../google_update/google_update.gyp:google_update', | 482 '../google_update/google_update.gyp:google_update', |
| 476 'remoting_lib_idl', | 483 'remoting_lib_idl', |
| 477 ], | 484 ], |
| 478 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 485 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 479 'msvs_disabled_warnings': [4267, ], | 486 'msvs_disabled_warnings': [4267, ], |
| 480 }], | 487 }], |
| 481 ], | 488 ], |
| 482 }, # end of target 'remoting_host_setup_base' | 489 }, # end of target 'remoting_host_setup_base' |
| 483 | 490 |
| 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 | |
| 508 # Generates native messaging manifest files. | 491 # Generates native messaging manifest files. |
| 509 { | 492 { |
| 510 'target_name': 'remoting_native_messaging_manifests', | 493 'target_name': 'remoting_native_messaging_manifests', |
| 511 'type': 'none', | 494 'type': 'none', |
| 512 'conditions': [ | 495 'conditions': [ |
| 513 [ 'OS == "win"', { | 496 [ 'OS == "win"', { |
| 514 'variables': { | 497 'variables': { |
| 515 'me2me_host_path': 'remoting_native_messaging_host.exe', | 498 'me2me_host_path': 'remoting_native_messaging_host.exe', |
| 516 'it2me_host_path': 'remote_assistance_host.exe', | 499 'it2me_host_path': 'remote_assistance_host.exe', |
| 517 }, | 500 }, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 '--template', '<(RULE_INPUT_PATH)', | 593 '--template', '<(RULE_INPUT_PATH)', |
| 611 '--locale_output', | 594 '--locale_output', |
| 612 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf
fix}.lproj/InfoPlist.strings', | 595 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf
fix}.lproj/InfoPlist.strings', |
| 613 '<@(remoting_locales)', | 596 '<@(remoting_locales)', |
| 614 ]}, | 597 ]}, |
| 615 ], | 598 ], |
| 616 }, # end of target 'remoting_infoplist_strings' | 599 }, # end of target 'remoting_infoplist_strings' |
| 617 ], # end of 'targets' | 600 ], # end of 'targets' |
| 618 }], # 'enable_remoting_host==1' | 601 }], # 'enable_remoting_host==1' |
| 619 | 602 |
| 620 ['OS!="win" and enable_remoting_host==1', { | 603 ['enable_me2me_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', { |
| 621 'targets': [ | 670 'targets': [ |
| 622 { | 671 { |
| 623 'target_name': 'remoting_me2me_host', | 672 'target_name': 'remoting_me2me_host', |
| 624 'type': 'executable', | 673 'type': 'executable', |
| 625 'variables': { 'enable_wexit_time_destructors': 1, }, | 674 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 626 'dependencies': [ | 675 'dependencies': [ |
| 627 '../base/base.gyp:base', | 676 '../base/base.gyp:base', |
| 628 '../base/base.gyp:base_i18n', | 677 '../base/base.gyp:base_i18n', |
| 629 '<(icu_gyp_path):icudata', | 678 '<(icu_gyp_path):icudata', |
| 630 '../net/net.gyp:net', | 679 '../net/net.gyp:net', |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 '<(dump_product_syms_path)', | 837 '<(dump_product_syms_path)', |
| 789 '<(version_full)', | 838 '<(version_full)', |
| 790 ], | 839 ], |
| 791 }, # end of postbuild 'dump_symbols' | 840 }, # end of postbuild 'dump_symbols' |
| 792 ], # end of 'postbuilds' | 841 ], # end of 'postbuilds' |
| 793 }], # mac_breakpad==1 | 842 }], # mac_breakpad==1 |
| 794 ], # conditions | 843 ], # conditions |
| 795 }], # OS=mac | 844 }], # OS=mac |
| 796 ], | 845 ], |
| 797 }, # end of target 'remoting_me2me_native_messaging_host' | 846 }, # 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': [ |
| 798 { | 852 { |
| 799 'target_name': 'remoting_it2me_native_messaging_host', | 853 'target_name': 'remoting_it2me_native_messaging_host', |
| 800 'type': 'executable', | 854 'type': 'executable', |
| 801 'product_name': 'remote_assistance_host', | 855 'product_name': 'remote_assistance_host', |
| 802 'variables': { 'enable_wexit_time_destructors': 1, }, | 856 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 803 'dependencies': [ | 857 'dependencies': [ |
| 804 '../base/base.gyp:base', | 858 '../base/base.gyp:base', |
| 805 'remoting_base', | 859 'remoting_base', |
| 806 'remoting_breakpad', | 860 'remoting_breakpad', |
| 807 'remoting_host', | 861 'remoting_host', |
| 808 'remoting_it2me_host_static', | 862 'remoting_it2me_host_static', |
| 809 'remoting_native_messaging_base', | 863 'remoting_native_messaging_base', |
| 810 'remoting_protocol', | 864 'remoting_protocol', |
| 811 ], | 865 ], |
| 812 'defines': [ | 866 'defines': [ |
| 813 'VERSION=<(version_full)', | 867 'VERSION=<(version_full)', |
| 814 ], | 868 ], |
| 815 'sources': [ | 869 'sources': [ |
| 816 'host/it2me/it2me_native_messaging_host_entry_point.cc', | 870 'host/it2me/it2me_native_messaging_host_entry_point.cc', |
| 817 'host/it2me/it2me_native_messaging_host_main.cc', | 871 'host/it2me/it2me_native_messaging_host_main.cc', |
| 818 'host/it2me/it2me_native_messaging_host_main.h', | 872 'host/it2me/it2me_native_messaging_host_main.h', |
| 819 ], | 873 ], |
| 820 'conditions': [ | 874 'conditions': [ |
| 821 ['OS=="linux"', { | 875 ['OS=="linux" and chromeos==0', { |
| 822 'dependencies': [ | 876 'dependencies': [ |
| 823 # Always use GTK on Linux, even for Aura builds. | 877 # Always use GTK on Linux, even for Aura builds. |
| 824 '../build/linux/system.gyp:gtk', | 878 '../build/linux/system.gyp:gtk', |
| 825 ], | 879 ], |
| 826 }], | 880 }], |
| 827 ['OS=="linux" and use_allocator!="none"', { | 881 ['OS=="linux" and use_allocator!="none"', { |
| 828 'dependencies': [ | 882 'dependencies': [ |
| 829 '../base/allocator/allocator.gyp:allocator', | 883 '../base/allocator/allocator.gyp:allocator', |
| 830 ], | 884 ], |
| 831 }], | 885 }], |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 '<(version_full)', | 937 '<(version_full)', |
| 884 ], | 938 ], |
| 885 }, # end of postbuild 'dump_symbols' | 939 }, # end of postbuild 'dump_symbols' |
| 886 ], # end of 'postbuilds' | 940 ], # end of 'postbuilds' |
| 887 }], # mac_breakpad==1 | 941 }], # mac_breakpad==1 |
| 888 ], # conditions | 942 ], # conditions |
| 889 }], # OS=mac | 943 }], # OS=mac |
| 890 ], | 944 ], |
| 891 }, # end of target 'remoting_it2me_native_messaging_host' | 945 }, # end of target 'remoting_it2me_native_messaging_host' |
| 892 ], # end of 'targets' | 946 ], # end of 'targets' |
| 893 }], # OS!="win" | 947 }], # # end of OS!="win" and enable_it2me_host==1 |
| 894 | 948 |
| 895 ], # end of 'conditions' | 949 ], # end of 'conditions' |
| 896 } | 950 } |
| OLD | NEW |