Chromium Code Reviews| 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 ], |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 548 'VERSION=<(version_full)', | 548 'VERSION=<(version_full)', |
| 549 ], | 549 ], |
| 550 'sources': [ | 550 'sources': [ |
| 551 'host/it2me/it2me_host.cc', | 551 'host/it2me/it2me_host.cc', |
| 552 'host/it2me/it2me_host.h', | 552 'host/it2me/it2me_host.h', |
| 553 'host/it2me/it2me_native_messaging_host.cc', | 553 'host/it2me/it2me_native_messaging_host.cc', |
| 554 'host/it2me/it2me_native_messaging_host.h', | 554 'host/it2me/it2me_native_messaging_host.h', |
| 555 ], | 555 ], |
| 556 }, # end of target 'remoting_it2me_host_static' | 556 }, # end of target 'remoting_it2me_host_static' |
| 557 { | 557 { |
| 558 'target_name': 'remoting_me2me_native_messaging_host', | |
| 559 'type': 'executable', | |
| 560 'product_name': 'remoting_native_messaging_host', | |
| 561 'variables': { 'enable_wexit_time_destructors': 1, }, | |
| 562 'dependencies': [ | |
| 563 '../base/base.gyp:base', | |
| 564 'remoting_host', | |
| 565 'remoting_host_setup_base', | |
| 566 'remoting_native_messaging_base', | |
| 567 ], | |
| 568 'sources': [ | |
| 569 'host/setup/me2me_native_messaging_host_main.cc', | |
| 570 ], | |
| 571 'conditions': [ | |
| 572 ['OS=="linux" and linux_use_tcmalloc==1', { | |
| 573 'dependencies': [ | |
| 574 '../base/allocator/allocator.gyp:allocator', | |
| 575 ], | |
| 576 }], | |
| 577 ], | |
| 578 }, # end of target 'remoting_me2me_native_messaging_host' | |
| 579 { | |
| 558 'target_name': 'remoting_it2me_native_messaging_host', | 580 'target_name': 'remoting_it2me_native_messaging_host', |
| 559 'type': 'executable', | 581 'type': 'executable', |
| 560 'variables': { 'enable_wexit_time_destructors': 1, }, | 582 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 561 'dependencies': [ | 583 'dependencies': [ |
| 562 '../base/base.gyp:base', | 584 '../base/base.gyp:base', |
| 563 'remoting_base', | 585 'remoting_base', |
| 564 'remoting_breakpad', | 586 'remoting_breakpad', |
| 565 'remoting_host', | 587 'remoting_host', |
| 566 'remoting_it2me_host_static', | 588 'remoting_it2me_host_static', |
| 567 'remoting_native_messaging_base', | 589 'remoting_native_messaging_base', |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 601 ], | 623 ], |
| 602 }, # end of target 'remoting_it2me_native_messaging_host' | 624 }, # end of target 'remoting_it2me_native_messaging_host' |
| 603 | 625 |
| 604 # Generates native messaging manifest files. | 626 # Generates native messaging manifest files. |
| 605 { | 627 { |
| 606 'target_name': 'remoting_native_messaging_manifests', | 628 'target_name': 'remoting_native_messaging_manifests', |
| 607 'type': 'none', | 629 'type': 'none', |
| 608 'conditions': [ | 630 'conditions': [ |
| 609 [ 'OS == "win"', { | 631 [ 'OS == "win"', { |
| 610 'variables': { | 632 'variables': { |
| 611 'me2me_host_path': 'remoting_host.exe', | 633 'me2me_host_path': 'remoting_native_messaging_host.exe', |
| 612 'it2me_host_path': 'remoting_assistance_host.exe', | 634 'it2me_host_path': 'remoting_assistance_host.exe', |
| 613 }, | 635 }, |
| 614 }], | 636 }], |
| 615 [ 'OS == "mac"', { | 637 [ 'OS == "mac"', { |
| 616 'variables': { | 638 'variables': { |
| 617 'me2me_host_path': | 639 'me2me_host_path': |
| 618 '/Library/PrivilegedHelperTools/org.chromium.chromoting.me2m e_host.app/Contents/MacOS/native_messaging_host', | 640 '/Library/PrivilegedHelperTools/org.chromium.chromoting.me2m e_host.app/Contents/MacOS/native_messaging_host', |
| 619 'it2me_host_path': | 641 'it2me_host_path': |
| 620 '/Library/PrivilegedHelperTools/org.chromium.chromoting.me2m e_host.app/Contents/MacOS/remote_assistance_host', | 642 '/Library/PrivilegedHelperTools/org.chromium.chromoting.me2m e_host.app/Contents/MacOS/remote_assistance_host', |
| 621 }, | 643 }, |
| 622 }], | 644 }], |
| 623 [ 'OS != "mac" and OS != "win"', { | 645 [ 'OS != "mac" and OS != "win"', { |
| 624 'variables': { | 646 'variables': { |
| 625 'me2me_host_path': | 647 'me2me_host_path': |
| 626 '/opt/google/chrome-remote-desktop/native-messaging-host', | 648 '/opt/google/chrome-remote-desktop/native-messaging-host', |
| 627 'it2me_host_path': | 649 'it2me_host_path': |
| 628 '/opt/google/chrome-remote-desktop/remote-assistance-host', | 650 '/opt/google/chrome-remote-desktop/remote-assistance-host', |
| 629 }, | 651 }, |
| 630 }], | 652 }], |
| 631 ], # conditions | 653 ], # conditions |
| 632 'sources': [ | 654 'sources': [ |
| 655 'host/setup/com.google.chrome.remote_desktop.json.jinja2', | |
|
Sergey Ulanov
2014/02/13 01:53:24
I believe the previous order was correct.
weitao
2014/02/13 18:13:09
Done.
| |
| 633 'host/it2me/com.google.chrome.remote_assistance.json.jinja2', | 656 'host/it2me/com.google.chrome.remote_assistance.json.jinja2', |
| 634 'host/setup/com.google.chrome.remote_desktop.json.jinja2', | |
| 635 ], | 657 ], |
| 636 'rules': [{ | 658 'rules': [{ |
| 637 'rule_name': 'generate_manifest', | 659 'rule_name': 'generate_manifest', |
| 638 'extension': 'jinja2', | 660 'extension': 'jinja2', |
| 639 'inputs': [ | 661 'inputs': [ |
| 640 '<(remoting_localize_path)', | 662 '<(remoting_localize_path)', |
| 641 '<(branding_path)', | 663 '<(branding_path)', |
| 642 '<(RULE_INPUT_PATH)', | 664 '<(RULE_INPUT_PATH)', |
| 643 ], | 665 ], |
| 644 'outputs': [ | 666 'outputs': [ |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 780 }], # mac_breakpad==1 | 802 }], # mac_breakpad==1 |
| 781 ], # conditions | 803 ], # conditions |
| 782 }], # OS=mac | 804 }], # OS=mac |
| 783 ['OS=="linux" and linux_use_tcmalloc==1', { | 805 ['OS=="linux" and linux_use_tcmalloc==1', { |
| 784 'dependencies': [ | 806 'dependencies': [ |
| 785 '../base/allocator/allocator.gyp:allocator', | 807 '../base/allocator/allocator.gyp:allocator', |
| 786 ], | 808 ], |
| 787 }], # OS=linux | 809 }], # OS=linux |
| 788 ], # end of 'conditions' | 810 ], # end of 'conditions' |
| 789 }, # end of target 'remoting_me2me_host' | 811 }, # end of target 'remoting_me2me_host' |
| 790 { | |
| 791 'target_name': 'remoting_me2me_native_messaging_host', | |
| 792 'type': 'executable', | |
| 793 'product_name': 'remoting_native_messaging_host', | |
| 794 'variables': { 'enable_wexit_time_destructors': 1, }, | |
| 795 'dependencies': [ | |
| 796 '../base/base.gyp:base', | |
| 797 'remoting_host', | |
| 798 'remoting_host_setup_base', | |
| 799 'remoting_native_messaging_base', | |
| 800 ], | |
| 801 'sources': [ | |
| 802 'host/setup/me2me_native_messaging_host_main.cc', | |
| 803 ], | |
| 804 'conditions': [ | |
| 805 ['OS=="linux" and linux_use_tcmalloc==1', { | |
| 806 'dependencies': [ | |
| 807 '../base/allocator/allocator.gyp:allocator', | |
| 808 ], | |
| 809 }], | |
| 810 ], | |
| 811 }, # end of target 'remoting_me2me_native_messaging_host' | |
| 812 ], # end of 'targets' | 812 ], # end of 'targets' |
| 813 }], # OS!="win" | 813 }], # OS!="win" |
| 814 | 814 |
| 815 ], # end of 'conditions' | 815 ], # end of 'conditions' |
| 816 } | 816 } |
| OLD | NEW |