| 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 ['chromeos==1', { |
| 314 'dependencies' : [ |
| 315 '../ash/ash.gyp:ash', |
| 316 '../content/content.gyp:content', |
| 317 '../ppapi/ppapi_internal.gyp:ppapi_host', |
| 318 '../skia/skia.gyp:skia', |
| 319 '../ui/aura/aura.gyp:aura', |
| 320 '../ui/compositor/compositor.gyp:compositor', |
| 321 ], |
| 322 'include_dirs': [ |
| 323 '../third_party/skia/include/utils', |
| 324 ], |
| 325 "sources!" : [ |
| 326 'host/continue_window.cc', |
| 327 'host/continue_window.h', |
| 328 'host/continue_window_linux.cc', |
| 329 'host/disconnect_window.cc', |
| 330 'host/disconnect_window_linux.cc', |
| 331 'host/remoting_me2me_host.cc', |
| 332 ] |
| 333 }, { # chromeos==0 |
| 334 "sources!" : [ |
| 335 'host/chromeos/aura_desktop_capturer.cc', |
| 336 'host/chromeos/aura_desktop_capturer.h', |
| 337 ], |
| 338 "dependencies" : [ |
| 339 # Always use GTK on Linux, even for Aura builds. |
| 340 '../build/linux/system.gyp:gtk', |
| 341 ] |
| 342 }], |
| 305 ['OS=="mac"', { | 343 ['OS=="mac"', { |
| 306 'dependencies': [ | 344 'dependencies': [ |
| 307 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', | 345 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy
p:google_toolbox_for_mac', |
| 308 ], | 346 ], |
| 309 'link_settings': { | 347 'link_settings': { |
| 310 'libraries': [ | 348 'libraries': [ |
| 311 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 349 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 312 'libpam.a', | 350 'libpam.a', |
| 313 ], | 351 ], |
| 314 }, | 352 }, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 'host/native_messaging/native_messaging_channel.cc', | 429 'host/native_messaging/native_messaging_channel.cc', |
| 392 'host/native_messaging/native_messaging_channel.h', | 430 'host/native_messaging/native_messaging_channel.h', |
| 393 'host/native_messaging/native_messaging_reader.cc', | 431 'host/native_messaging/native_messaging_reader.cc', |
| 394 'host/native_messaging/native_messaging_reader.h', | 432 'host/native_messaging/native_messaging_reader.h', |
| 395 'host/native_messaging/native_messaging_writer.cc', | 433 'host/native_messaging/native_messaging_writer.cc', |
| 396 'host/native_messaging/native_messaging_writer.h', | 434 'host/native_messaging/native_messaging_writer.h', |
| 397 ], | 435 ], |
| 398 }, # end of target 'remoting_native_messaging_base' | 436 }, # end of target 'remoting_native_messaging_base' |
| 399 | 437 |
| 400 { | 438 { |
| 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', | 439 'target_name': 'remoting_host_setup_base', |
| 436 'type': 'static_library', | 440 'type': 'static_library', |
| 437 'variables': { 'enable_wexit_time_destructors': 1, }, | 441 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 438 'dependencies': [ | 442 'dependencies': [ |
| 439 '../base/base.gyp:base', | 443 '../base/base.gyp:base', |
| 440 '../google_apis/google_apis.gyp:google_apis', | 444 '../google_apis/google_apis.gyp:google_apis', |
| 441 'remoting_host', | 445 'remoting_host', |
| 442 ], | 446 ], |
| 443 'defines': [ | 447 'defines': [ |
| 444 'VERSION=<(version_full)', | 448 'VERSION=<(version_full)', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 474 'dependencies': [ | 478 'dependencies': [ |
| 475 '../google_update/google_update.gyp:google_update', | 479 '../google_update/google_update.gyp:google_update', |
| 476 'remoting_lib_idl', | 480 'remoting_lib_idl', |
| 477 ], | 481 ], |
| 478 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 482 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 479 'msvs_disabled_warnings': [4267, ], | 483 'msvs_disabled_warnings': [4267, ], |
| 480 }], | 484 }], |
| 481 ], | 485 ], |
| 482 }, # end of target 'remoting_host_setup_base' | 486 }, # end of target 'remoting_host_setup_base' |
| 483 | 487 |
| 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. | 488 # Generates native messaging manifest files. |
| 509 { | 489 { |
| 510 'target_name': 'remoting_native_messaging_manifests', | 490 'target_name': 'remoting_native_messaging_manifests', |
| 511 'type': 'none', | 491 'type': 'none', |
| 512 'conditions': [ | 492 'conditions': [ |
| 513 [ 'OS == "win"', { | 493 [ 'OS == "win"', { |
| 514 'variables': { | 494 'variables': { |
| 515 'me2me_host_path': 'remoting_native_messaging_host.exe', | 495 'me2me_host_path': 'remoting_native_messaging_host.exe', |
| 516 'it2me_host_path': 'remote_assistance_host.exe', | 496 'it2me_host_path': 'remote_assistance_host.exe', |
| 517 }, | 497 }, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 '--template', '<(RULE_INPUT_PATH)', | 572 '--template', '<(RULE_INPUT_PATH)', |
| 593 '--locale_output', | 573 '--locale_output', |
| 594 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf
fix}.lproj/InfoPlist.strings', | 574 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf
fix}.lproj/InfoPlist.strings', |
| 595 '<@(remoting_locales)', | 575 '<@(remoting_locales)', |
| 596 ]}, | 576 ]}, |
| 597 ], | 577 ], |
| 598 }, # end of target 'remoting_infoplist_strings' | 578 }, # end of target 'remoting_infoplist_strings' |
| 599 ], # end of 'targets' | 579 ], # end of 'targets' |
| 600 }], # 'enable_remoting_host==1' | 580 }], # 'enable_remoting_host==1' |
| 601 | 581 |
| 602 ['OS!="win" and enable_remoting_host==1', { | 582 ['enable_me2me_host==1', { |
| 583 'targets': [ |
| 584 { |
| 585 'target_name': 'remoting_me2me_host_static', |
| 586 'type': 'static_library', |
| 587 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 588 'dependencies': [ |
| 589 '../base/base.gyp:base', |
| 590 '../base/base.gyp:base_i18n', |
| 591 '../net/net.gyp:net', |
| 592 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
| 593 'remoting_base', |
| 594 'remoting_breakpad', |
| 595 'remoting_host', |
| 596 'remoting_protocol', |
| 597 ], |
| 598 'defines': [ |
| 599 'VERSION=<(version_full)', |
| 600 ], |
| 601 'sources': [ |
| 602 'host/curtain_mode.h', |
| 603 'host/curtain_mode_linux.cc', |
| 604 'host/curtain_mode_mac.cc', |
| 605 'host/curtain_mode_win.cc', |
| 606 'host/posix/signal_handler.cc', |
| 607 'host/posix/signal_handler.h', |
| 608 ], |
| 609 'conditions': [ |
| 610 ['os_posix != 1', { |
| 611 'sources/': [ |
| 612 ['exclude', '^host/posix/'], |
| 613 ], |
| 614 }], |
| 615 ], # end of 'conditions' |
| 616 }, # end of target 'remoting_me2me_host_static' |
| 617 ] # end of targets |
| 618 }], # end of enable_me2me_host==1 |
| 619 |
| 620 ['enable_it2me_host==1', { |
| 621 'targets': [ |
| 622 { |
| 623 'target_name': 'remoting_it2me_host_static', |
| 624 'type': 'static_library', |
| 625 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 626 'dependencies': [ |
| 627 '../base/base.gyp:base_i18n', |
| 628 '../net/net.gyp:net', |
| 629 'remoting_base', |
| 630 'remoting_host', |
| 631 'remoting_infoplist_strings', |
| 632 'remoting_protocol', |
| 633 'remoting_resources', |
| 634 ], |
| 635 'defines': [ |
| 636 'VERSION=<(version_full)', |
| 637 ], |
| 638 'sources': [ |
| 639 'host/it2me/it2me_host.cc', |
| 640 'host/it2me/it2me_host.h', |
| 641 'host/it2me/it2me_native_messaging_host.cc', |
| 642 'host/it2me/it2me_native_messaging_host.h', |
| 643 ], |
| 644 }, # end of target 'remoting_it2me_host_static' |
| 645 ] # end of targets |
| 646 }], # end of 'enable_it2me_host==1' |
| 647 |
| 648 ['OS!="win" and enable_me2me_host==1', { |
| 603 'targets': [ | 649 'targets': [ |
| 604 { | 650 { |
| 605 'target_name': 'remoting_me2me_host', | 651 'target_name': 'remoting_me2me_host', |
| 606 'type': 'executable', | 652 'type': 'executable', |
| 607 'variables': { 'enable_wexit_time_destructors': 1, }, | 653 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 608 'dependencies': [ | 654 'dependencies': [ |
| 609 '../base/base.gyp:base', | 655 '../base/base.gyp:base', |
| 610 '../base/base.gyp:base_i18n', | 656 '../base/base.gyp:base_i18n', |
| 611 '<(icu_gyp_path):icudata', | 657 '<(icu_gyp_path):icudata', |
| 612 '../net/net.gyp:net', | 658 '../net/net.gyp:net', |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 '<(dump_product_syms_path)', | 816 '<(dump_product_syms_path)', |
| 771 '<(version_full)', | 817 '<(version_full)', |
| 772 ], | 818 ], |
| 773 }, # end of postbuild 'dump_symbols' | 819 }, # end of postbuild 'dump_symbols' |
| 774 ], # end of 'postbuilds' | 820 ], # end of 'postbuilds' |
| 775 }], # mac_breakpad==1 | 821 }], # mac_breakpad==1 |
| 776 ], # conditions | 822 ], # conditions |
| 777 }], # OS=mac | 823 }], # OS=mac |
| 778 ], | 824 ], |
| 779 }, # end of target 'remoting_me2me_native_messaging_host' | 825 }, # end of target 'remoting_me2me_native_messaging_host' |
| 826 ], # targets |
| 827 }], # end of OS!="win" and enable_me2me_host==1 |
| 828 |
| 829 ['OS!="win" and enable_it2me_host==1', { |
| 830 'targets': [ |
| 780 { | 831 { |
| 781 'target_name': 'remoting_it2me_native_messaging_host', | 832 'target_name': 'remoting_it2me_native_messaging_host', |
| 782 'type': 'executable', | 833 'type': 'executable', |
| 783 'product_name': 'remote_assistance_host', | 834 'product_name': 'remote_assistance_host', |
| 784 'variables': { 'enable_wexit_time_destructors': 1, }, | 835 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 785 'dependencies': [ | 836 'dependencies': [ |
| 786 '../base/base.gyp:base', | 837 '../base/base.gyp:base', |
| 787 'remoting_base', | 838 'remoting_base', |
| 788 'remoting_breakpad', | 839 'remoting_breakpad', |
| 789 'remoting_host', | 840 'remoting_host', |
| 790 'remoting_it2me_host_static', | 841 'remoting_it2me_host_static', |
| 791 'remoting_native_messaging_base', | 842 'remoting_native_messaging_base', |
| 792 'remoting_protocol', | 843 'remoting_protocol', |
| 793 ], | 844 ], |
| 794 'defines': [ | 845 'defines': [ |
| 795 'VERSION=<(version_full)', | 846 'VERSION=<(version_full)', |
| 796 ], | 847 ], |
| 797 'sources': [ | 848 'sources': [ |
| 798 'host/it2me/it2me_native_messaging_host_entry_point.cc', | 849 'host/it2me/it2me_native_messaging_host_entry_point.cc', |
| 799 'host/it2me/it2me_native_messaging_host_main.cc', | 850 'host/it2me/it2me_native_messaging_host_main.cc', |
| 800 'host/it2me/it2me_native_messaging_host_main.h', | 851 'host/it2me/it2me_native_messaging_host_main.h', |
| 801 ], | 852 ], |
| 802 'conditions': [ | 853 'conditions': [ |
| 803 ['OS=="linux"', { | 854 ['OS=="linux" and chromeos==0', { |
| 804 'dependencies': [ | 855 'dependencies': [ |
| 805 # Always use GTK on Linux, even for Aura builds. | 856 # Always use GTK on Linux, even for Aura builds. |
| 806 '../build/linux/system.gyp:gtk', | 857 '../build/linux/system.gyp:gtk', |
| 807 ], | 858 ], |
| 808 }], | 859 }], |
| 809 ['OS=="linux" and use_allocator!="none"', { | 860 ['OS=="linux" and use_allocator!="none"', { |
| 810 'dependencies': [ | 861 'dependencies': [ |
| 811 '../base/allocator/allocator.gyp:allocator', | 862 '../base/allocator/allocator.gyp:allocator', |
| 812 ], | 863 ], |
| 813 }], | 864 }], |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 '<(version_full)', | 916 '<(version_full)', |
| 866 ], | 917 ], |
| 867 }, # end of postbuild 'dump_symbols' | 918 }, # end of postbuild 'dump_symbols' |
| 868 ], # end of 'postbuilds' | 919 ], # end of 'postbuilds' |
| 869 }], # mac_breakpad==1 | 920 }], # mac_breakpad==1 |
| 870 ], # conditions | 921 ], # conditions |
| 871 }], # OS=mac | 922 }], # OS=mac |
| 872 ], | 923 ], |
| 873 }, # end of target 'remoting_it2me_native_messaging_host' | 924 }, # end of target 'remoting_it2me_native_messaging_host' |
| 874 ], # end of 'targets' | 925 ], # end of 'targets' |
| 875 }], # OS!="win" | 926 }], # # end of OS!="win" and enable_it2me_host==1 |
| 876 | 927 |
| 877 ], # end of 'conditions' | 928 ], # end of 'conditions' |
| 878 } | 929 } |
| OLD | NEW |