Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: remoting/remoting.gyp

Issue 10828352: [Chromoting] Avoid potential conflicts leading to pending reboots while upgrading the me2me host: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made compilable and rebased Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/win/elevated_controller_idl.templ ('k') | remoting/tools/candle_and_light.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }],
121 ], 127 ],
122 'remoting_webapp_files': [ 128 'remoting_webapp_files': [
123 'resources/chromoting16.png', 129 'resources/chromoting16.png',
124 'resources/chromoting48.png', 130 'resources/chromoting48.png',
125 'resources/chromoting128.png', 131 'resources/chromoting128.png',
126 'resources/disclosure_arrow_down.png', 132 'resources/disclosure_arrow_down.png',
127 'resources/disclosure_arrow_right.png', 133 'resources/disclosure_arrow_right.png',
128 'resources/host_setup_instructions.png', 134 'resources/host_setup_instructions.png',
129 'resources/icon_cross.png', 135 'resources/icon_cross.png',
130 'resources/icon_host.png', 136 'resources/icon_host.png',
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 'target_name': 'remoting_breakpad_tester', 507 'target_name': 'remoting_breakpad_tester',
502 'type': 'executable', 508 'type': 'executable',
503 'variables': { 'enable_wexit_time_destructors': 1, }, 509 'variables': { 'enable_wexit_time_destructors': 1, },
504 'dependencies': [ 510 'dependencies': [
505 '../base/base.gyp:base', 511 '../base/base.gyp:base',
506 ], 512 ],
507 'sources': [ 513 'sources': [
508 'tools/breakpad_tester_win.cc', 514 'tools/breakpad_tester_win.cc',
509 ], 515 ],
510 }, # end of target 'remoting_breakpad_tester' 516 }, # end of target 'remoting_breakpad_tester'
511
512 { 517 {
513 'target_name': 'remoting_elevated_controller', 518 'target_name': 'remoting_elevated_controller',
514 'type': 'static_library', 519 'type': 'static_library',
515 'sources': [ 520 'sources': [
516 'host/win/elevated_controller.idl', 521 'host/win/elevated_controller_idl.templ',
517 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h', 522 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.h',
523 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.idl',
518 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c', 524 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller_i.c',
519 ], 525 ],
520 # This target exports a hard dependency because dependent targets may 526 # This target exports a hard dependency because dependent targets may
521 # include elevated_controller.h, a generated header. 527 # include elevated_controller.h, a generated header.
522 'hard_dependency': 1, 528 'hard_dependency': 1,
523 'msvs_settings': { 529 'msvs_settings': {
524 'VCMIDLTool': { 530 'VCMIDLTool': {
525 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/remoting/host', 531 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/remoting/host',
526 }, 532 },
527 }, 533 },
528 'direct_dependent_settings': { 534 'direct_dependent_settings': {
529 'include_dirs': [ 535 'include_dirs': [
530 '<(SHARED_INTERMEDIATE_DIR)', 536 '<(SHARED_INTERMEDIATE_DIR)',
531 ], 537 ],
532 }, 538 },
539 'rules': [
540 {
541 'rule_name': 'generate_idl',
542 'extension': 'templ',
543 'outputs': [
544 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.id l',
545 ],
546 'action': [
547 'python',
548 '<(version_py_path)',
549 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"',
550 '<(RULE_INPUT_PATH)',
551 '<@(_outputs)',
552 ],
553 'process_outputs_as_sources': 1,
554 'message': 'Generating <@(_outputs)'
555 },
556 ],
533 }, # end of target 'remoting_elevated_controller' 557 }, # end of target 'remoting_elevated_controller'
534 { 558 {
535 'target_name': 'remoting_host_controller', 559 'target_name': 'remoting_host_controller',
536 'type': 'executable', 560 'type': 'executable',
537 'variables': { 'enable_wexit_time_destructors': 1, }, 561 'variables': { 'enable_wexit_time_destructors': 1, },
538 'defines' : [ 562 'defines' : [
539 '_ATL_APARTMENT_THREADED', 563 '_ATL_APARTMENT_THREADED',
540 '_ATL_NO_AUTOMATIC_NAMESPACE', 564 '_ATL_NO_AUTOMATIC_NAMESPACE',
541 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', 565 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
542 'STRICT', 566 'STRICT',
567 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"',
543 ], 568 ],
544 'include_dirs': [ 569 'include_dirs': [
545 '<(INTERMEDIATE_DIR)', 570 '<(INTERMEDIATE_DIR)',
546 ], 571 ],
547 'dependencies': [ 572 'dependencies': [
548 '../base/base.gyp:base', 573 '../base/base.gyp:base',
549 'remoting_breakpad', 574 'remoting_breakpad',
550 'remoting_elevated_controller', 575 'remoting_elevated_controller',
551 'remoting_protocol', 576 'remoting_protocol',
552 'remoting_version_resources', 577 'remoting_version_resources',
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 'resources/chromoting.ico', 785 'resources/chromoting.ico',
761 'tools/candle_and_light.py', 786 'tools/candle_and_light.py',
762 ], 787 ],
763 'outputs': [ 788 'outputs': [
764 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi', 789 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).msi',
765 ], 790 ],
766 'msvs_cygwin_shell': 0, 791 'msvs_cygwin_shell': 0,
767 'action': [ 792 'action': [
768 'python', 'tools/candle_and_light.py', 793 'python', 'tools/candle_and_light.py',
769 '--wix_path', '<(wix_path)', 794 '--wix_path', '<(wix_path)',
795 '--controller_clsid', '{<(daemon_controller_clsid)}',
770 '--version', '<(version_full)', 796 '--version', '<(version_full)',
771 '--product_dir', '<(PRODUCT_DIR).', 797 '--product_dir', '<(PRODUCT_DIR).',
772 '--intermediate_dir', '<(INTERMEDIATE_DIR).', 798 '--intermediate_dir', '<(INTERMEDIATE_DIR).',
773 '--sas_dll_path', '<(sas_dll_path)', 799 '--sas_dll_path', '<(sas_dll_path)',
774 '--input', '<(RULE_INPUT_PATH)', 800 '--input', '<(RULE_INPUT_PATH)',
775 '--output', '<@(_outputs)', 801 '--output', '<@(_outputs)',
776 '<@(_wix_defines)', 802 '<@(_wix_defines)',
777 ], 803 ],
778 'message': 'Generating <@(_outputs)', 804 'message': 'Generating <@(_outputs)',
779 }, 805 },
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 '../base/allocator/allocator.gyp:allocator', 1886 '../base/allocator/allocator.gyp:allocator',
1861 ], 1887 ],
1862 }, 1888 },
1863 ], 1889 ],
1864 ], 1890 ],
1865 }], 1891 }],
1866 ], # end of 'conditions' 1892 ], # end of 'conditions'
1867 }, # end of target 'remoting_unittests' 1893 }, # end of target 'remoting_unittests'
1868 ], # end of targets 1894 ], # end of targets
1869 } 1895 }
OLDNEW
« no previous file with comments | « remoting/host/win/elevated_controller_idl.templ ('k') | remoting/tools/candle_and_light.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698