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 'variables': { | 6 'variables': { |
7 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 | 10 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 'webapp/_locales.official/zh_CN/messages.json', | 111 'webapp/_locales.official/zh_CN/messages.json', |
112 'webapp/_locales.official/zh_TW/messages.json', | 112 'webapp/_locales.official/zh_TW/messages.json', |
113 ], | 113 ], |
114 }, { # else: branding!="Chrome" | 114 }, { # else: branding!="Chrome" |
115 # Must match host/plugin/constants.h | 115 # Must match host/plugin/constants.h |
116 'host_plugin_name': 'Chromoting Host', | 116 'host_plugin_name': 'Chromoting Host', |
117 'remoting_webapp_locale_files': [ | 117 'remoting_webapp_locale_files': [ |
118 'webapp/_locales/en/messages.json', | 118 'webapp/_locales/en/messages.json', |
119 ], | 119 ], |
120 }], | 120 }], |
121 ['OS=="win"', { | |
122 # Use auto-generated CLSID for the daemon controller to make sure that | |
123 # the newly installed version of the controller will be used during | |
124 # upgrade even if there is an old instance running already. | |
125 'daemon_controller_clsid': '<!(python tools/uuidgen.py)', | |
126 }], | |
127 ], | 121 ], |
128 'remoting_webapp_files': [ | 122 'remoting_webapp_files': [ |
129 'resources/chromoting16.png', | 123 'resources/chromoting16.png', |
130 'resources/chromoting48.png', | 124 'resources/chromoting48.png', |
131 'resources/chromoting128.png', | 125 'resources/chromoting128.png', |
132 'resources/disclosure_arrow_down.png', | 126 'resources/disclosure_arrow_down.png', |
133 'resources/disclosure_arrow_right.png', | 127 'resources/disclosure_arrow_right.png', |
134 'resources/host_setup_instructions.png', | 128 'resources/host_setup_instructions.png', |
135 'resources/icon_cross.png', | 129 'resources/icon_cross.png', |
136 'resources/icon_host.png', | 130 'resources/icon_host.png', |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 '../base/base.gyp:base', | 505 '../base/base.gyp:base', |
512 ], | 506 ], |
513 'sources': [ | 507 'sources': [ |
514 'tools/breakpad_tester_win.cc', | 508 'tools/breakpad_tester_win.cc', |
515 ], | 509 ], |
516 }, # end of target 'remoting_breakpad_tester' | 510 }, # end of target 'remoting_breakpad_tester' |
517 | 511 |
518 { | 512 { |
519 'target_name': 'remoting_elevated_controller', | 513 'target_name': 'remoting_elevated_controller', |
520 'type': 'static_library', | 514 'type': 'static_library', |
521 'defines' : [ | |
522 'DAEMON_CONTROLLER_CLSID=<(daemon_controller_clsid)', | |
523 ], | |
524 'sources': [ | 515 'sources': [ |
525 'host/win/elevated_controller.idl', | 516 'host/win/elevated_controller.idl', |
526 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h', | 517 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h', |
527 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c', | 518 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c', |
528 ], | 519 ], |
529 # This target exports a hard dependency because dependent targets may | 520 # This target exports a hard dependency because dependent targets may |
530 # include elevated_controller.h, a generated header. | 521 # include elevated_controller.h, a generated header. |
531 'hard_dependency': 1, | 522 'hard_dependency': 1, |
532 'msvs_settings': { | 523 'msvs_settings': { |
533 'VCMIDLTool': { | 524 'VCMIDLTool': { |
534 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/remoting/host', | 525 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/remoting/host', |
535 }, | 526 }, |
536 }, | 527 }, |
537 'direct_dependent_settings': { | 528 'direct_dependent_settings': { |
538 'include_dirs': [ | 529 'include_dirs': [ |
539 '<(SHARED_INTERMEDIATE_DIR)', | 530 '<(SHARED_INTERMEDIATE_DIR)', |
540 ], | 531 ], |
541 }, | 532 }, |
542 }, # end of target 'remoting_elevated_controller' | 533 }, # end of target 'remoting_elevated_controller' |
543 { | 534 { |
544 'target_name': 'remoting_host_controller', | 535 'target_name': 'remoting_host_controller', |
545 'type': 'executable', | 536 'type': 'executable', |
546 'variables': { 'enable_wexit_time_destructors': 1, }, | 537 'variables': { 'enable_wexit_time_destructors': 1, }, |
547 'defines' : [ | 538 'defines' : [ |
548 '_ATL_APARTMENT_THREADED', | 539 '_ATL_APARTMENT_THREADED', |
549 '_ATL_NO_AUTOMATIC_NAMESPACE', | 540 '_ATL_NO_AUTOMATIC_NAMESPACE', |
550 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', | 541 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', |
551 'STRICT', | 542 'STRICT', |
552 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', | |
553 ], | 543 ], |
554 'include_dirs': [ | 544 'include_dirs': [ |
555 '<(INTERMEDIATE_DIR)', | 545 '<(INTERMEDIATE_DIR)', |
556 ], | 546 ], |
557 'dependencies': [ | 547 'dependencies': [ |
558 '../base/base.gyp:base', | 548 '../base/base.gyp:base', |
559 'remoting_breakpad', | 549 'remoting_breakpad', |
560 'remoting_elevated_controller', | 550 'remoting_elevated_controller', |
561 'remoting_protocol', | 551 'remoting_protocol', |
562 'remoting_version_resources', | 552 'remoting_version_resources', |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 'resources/chromoting.ico', | 756 'resources/chromoting.ico', |
767 'tools/candle_and_light.py', | 757 'tools/candle_and_light.py', |
768 ], | 758 ], |
769 'outputs': [ | 759 'outputs': [ |
770 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', | 760 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', |
771 ], | 761 ], |
772 'msvs_cygwin_shell': 0, | 762 'msvs_cygwin_shell': 0, |
773 'action': [ | 763 'action': [ |
774 'python', 'tools/candle_and_light.py', | 764 'python', 'tools/candle_and_light.py', |
775 '--wix_path', '<(wix_path)', | 765 '--wix_path', '<(wix_path)', |
776 '--controller_clsid', '{<(daemon_controller_clsid)}', | |
777 '--version', '<(version_full)', | 766 '--version', '<(version_full)', |
778 '--product_dir', '<(PRODUCT_DIR).', | 767 '--product_dir', '<(PRODUCT_DIR).', |
779 '--intermediate_dir', '<(INTERMEDIATE_DIR).', | 768 '--intermediate_dir', '<(INTERMEDIATE_DIR).', |
780 '--sas_dll_path', '<(sas_dll_path)', | 769 '--sas_dll_path', '<(sas_dll_path)', |
781 '--input', '<(RULE_INPUT_PATH)', | 770 '--input', '<(RULE_INPUT_PATH)', |
782 '--output', '<@(_outputs)', | 771 '--output', '<@(_outputs)', |
783 '<@(_wix_defines)', | 772 '<@(_wix_defines)', |
784 ], | 773 ], |
785 'message': 'Generating <@(_outputs)', | 774 'message': 'Generating <@(_outputs)', |
786 }, | 775 }, |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1862 '../base/allocator/allocator.gyp:allocator', | 1851 '../base/allocator/allocator.gyp:allocator', |
1863 ], | 1852 ], |
1864 }, | 1853 }, |
1865 ], | 1854 ], |
1866 ], | 1855 ], |
1867 }], | 1856 }], |
1868 ], # end of 'conditions' | 1857 ], # end of 'conditions' |
1869 }, # end of target 'remoting_unittests' | 1858 }, # end of target 'remoting_unittests' |
1870 ], # end of targets | 1859 ], # end of targets |
1871 } | 1860 } |
OLD | NEW |