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

Side by Side Diff: remoting/remoting.gyp

Issue 10579002: Cleanup: merging three different constants.h into a single header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/wts_session_process_launcher_win.cc ('k') | remoting/tools/me2me_virtual_host.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 # Use consistent strings across all platforms. Note that the plugin name 10 # Use consistent strings across all platforms. Note that the plugin name
11 # is brand-dependent and is defined further down. 11 # is brand-dependent and is defined further down.
12 # Must match host/plugin/constants.h 12 # Must match base/constants.h
13 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', 13 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host',
14 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.', 14 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.',
15 15
16 # The version is composed from major & minor versions specific to remoting 16 # The version is composed from major & minor versions specific to remoting
17 # and build & patch versions inherited from Chrome. 17 # and build & patch versions inherited from Chrome.
18 'version_py_path': '../chrome/tools/build/version.py', 18 'version_py_path': '../chrome/tools/build/version.py',
19 'version_path': '../remoting/VERSION', 19 'version_path': '../remoting/VERSION',
20 'chrome_version_path': '../chrome/VERSION', 20 'chrome_version_path': '../chrome/VERSION',
21 'version_full': 21 'version_full':
22 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' 22 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").'
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ['os_posix == 1 and OS != "mac" and target_arch == "arm"', { 54 ['os_posix == 1 and OS != "mac" and target_arch == "arm"', {
55 # linux 64 bit 55 # linux 64 bit
56 'host_plugin_extension': 'arm.so', 56 'host_plugin_extension': 'arm.so',
57 'host_plugin_prefix': 'lib', 57 'host_plugin_prefix': 'lib',
58 }], 58 }],
59 ['OS=="win"', { 59 ['OS=="win"', {
60 'host_plugin_extension': 'dll', 60 'host_plugin_extension': 'dll',
61 'host_plugin_prefix': '', 61 'host_plugin_prefix': '',
62 }], 62 }],
63 ['branding=="Chrome"', { 63 ['branding=="Chrome"', {
64 # Must match host/plugin/constants.h 64 # Must match base/constants.h
65 'host_plugin_name': 'Chrome Remote Desktop Host', 65 'host_plugin_name': 'Chrome Remote Desktop Host',
66 'remoting_webapp_locale_files': [ 66 'remoting_webapp_locale_files': [
67 'webapp/_locales.official/ar/messages.json', 67 'webapp/_locales.official/ar/messages.json',
68 'webapp/_locales.official/bg/messages.json', 68 'webapp/_locales.official/bg/messages.json',
69 'webapp/_locales.official/ca/messages.json', 69 'webapp/_locales.official/ca/messages.json',
70 'webapp/_locales.official/cs/messages.json', 70 'webapp/_locales.official/cs/messages.json',
71 'webapp/_locales.official/da/messages.json', 71 'webapp/_locales.official/da/messages.json',
72 'webapp/_locales.official/de/messages.json', 72 'webapp/_locales.official/de/messages.json',
73 'webapp/_locales.official/el/messages.json', 73 'webapp/_locales.official/el/messages.json',
74 'webapp/_locales.official/en/messages.json', 74 'webapp/_locales.official/en/messages.json',
(...skipping 26 matching lines...) Expand all
101 'webapp/_locales.official/sr/messages.json', 101 'webapp/_locales.official/sr/messages.json',
102 'webapp/_locales.official/sv/messages.json', 102 'webapp/_locales.official/sv/messages.json',
103 'webapp/_locales.official/th/messages.json', 103 'webapp/_locales.official/th/messages.json',
104 'webapp/_locales.official/tr/messages.json', 104 'webapp/_locales.official/tr/messages.json',
105 'webapp/_locales.official/uk/messages.json', 105 'webapp/_locales.official/uk/messages.json',
106 'webapp/_locales.official/vi/messages.json', 106 'webapp/_locales.official/vi/messages.json',
107 'webapp/_locales.official/zh_CN/messages.json', 107 'webapp/_locales.official/zh_CN/messages.json',
108 'webapp/_locales.official/zh_TW/messages.json', 108 'webapp/_locales.official/zh_TW/messages.json',
109 ], 109 ],
110 }, { # else: branding!="Chrome" 110 }, { # else: branding!="Chrome"
111 # Must match host/plugin/constants.h 111 # Must match base/constants.h
112 'host_plugin_name': 'Chromoting Host', 112 'host_plugin_name': 'Chromoting Host',
113 'remoting_webapp_locale_files': [ 113 'remoting_webapp_locale_files': [
114 'webapp/_locales/en/messages.json', 114 'webapp/_locales/en/messages.json',
115 ], 115 ],
116 }], 116 }],
117 ], 117 ],
118 'remoting_webapp_files': [ 118 'remoting_webapp_files': [
119 'resources/icon_cross.png', 119 'resources/icon_cross.png',
120 'resources/icon_host.png', 120 'resources/icon_host.png',
121 'resources/icon_pencil.png', 121 'resources/icon_pencil.png',
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 '_ATL_APARTMENT_THREADED', 502 '_ATL_APARTMENT_THREADED',
503 '_ATL_NO_AUTOMATIC_NAMESPACE', 503 '_ATL_NO_AUTOMATIC_NAMESPACE',
504 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', 504 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
505 'STRICT', 505 'STRICT',
506 ], 506 ],
507 'include_dirs': [ 507 'include_dirs': [
508 '<(INTERMEDIATE_DIR)', 508 '<(INTERMEDIATE_DIR)',
509 ], 509 ],
510 'dependencies': [ 510 'dependencies': [
511 '../base/base.gyp:base', 511 '../base/base.gyp:base',
512 'remoting_base',
simonmorris 2012/06/18 20:30:12 Is this necessary?
alexeypa (please no reviews) 2012/06/18 20:34:02 Yes. It needs values from constants.cc.
512 'remoting_breakpad', 513 'remoting_breakpad',
513 'remoting_elevated_controller', 514 'remoting_elevated_controller',
514 'remoting_protocol', 515 'remoting_protocol',
515 'remoting_version_resources', 516 'remoting_version_resources',
516 ], 517 ],
517 'sources': [ 518 'sources': [
518 'host/branding.cc', 519 'host/branding.cc',
519 'host/branding.h', 520 'host/branding.h',
520 'host/elevated_controller.rc', 521 'host/elevated_controller.rc',
521 'host/elevated_controller_module_win.cc', 522 'host/elevated_controller_module_win.cc',
(...skipping 28 matching lines...) Expand all
550 }, # end of target 'remoting_host_controller' 551 }, # end of target 'remoting_host_controller'
551 { 552 {
552 'target_name': 'remoting_service', 553 'target_name': 'remoting_service',
553 'type': 'executable', 554 'type': 'executable',
554 'variables': { 'enable_wexit_time_destructors': 1, }, 555 'variables': { 'enable_wexit_time_destructors': 1, },
555 'dependencies': [ 556 'dependencies': [
556 '../base/base.gyp:base', 557 '../base/base.gyp:base',
557 '../base/base.gyp:base_static', 558 '../base/base.gyp:base_static',
558 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 559 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
559 '../ipc/ipc.gyp:ipc', 560 '../ipc/ipc.gyp:ipc',
561 'remoting_base',
560 'remoting_breakpad', 562 'remoting_breakpad',
561 'remoting_version_resources', 563 'remoting_version_resources',
562 ], 564 ],
563 'sources': [ 565 'sources': [
564 'base/scoped_sc_handle_win.h', 566 'base/scoped_sc_handle_win.h',
565 'host/branding.cc', 567 'host/branding.cc',
566 'host/branding.h', 568 'host/branding.h',
567 'host/chromoting_messages.cc', 569 'host/chromoting_messages.cc',
568 'host/chromoting_messages.h', 570 'host/chromoting_messages.h',
569 'host/constants.h',
570 'host/constants_win.cc',
571 'host/host_service.rc', 571 'host/host_service.rc',
572 'host/host_service_resource.h', 572 'host/host_service_resource.h',
573 'host/host_service_win.cc', 573 'host/host_service_win.cc',
574 'host/host_service_win.h', 574 'host/host_service_win.h',
575 'host/sas_injector.h', 575 'host/sas_injector.h',
576 'host/sas_injector_win.cc', 576 'host/sas_injector_win.cc',
577 'host/usage_stats_consent.h', 577 'host/usage_stats_consent.h',
578 'host/usage_stats_consent_win.cc', 578 'host/usage_stats_consent_win.cc',
579 'host/wts_console_monitor_win.h', 579 'host/wts_console_monitor_win.h',
580 'host/wts_console_observer_win.h', 580 'host/wts_console_observer_win.h',
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 'type': 'static_library', 788 'type': 'static_library',
789 'variables': { 'enable_wexit_time_destructors': 1, }, 789 'variables': { 'enable_wexit_time_destructors': 1, },
790 'dependencies': [ 790 'dependencies': [
791 '../base/base.gyp:base', 791 '../base/base.gyp:base',
792 ], 792 ],
793 'sources': [ 793 'sources': [
794 'base/breakpad.h', 794 'base/breakpad.h',
795 'base/breakpad_linux.cc', 795 'base/breakpad_linux.cc',
796 'base/breakpad_mac.mm', 796 'base/breakpad_mac.mm',
797 'base/breakpad_win.cc', 797 'base/breakpad_win.cc',
798 'host/constants.h',
799 'host/constants_win.cc',
800 ], 798 ],
801 'conditions': [ 799 'conditions': [
802 ['OS=="win"', { 800 ['OS=="win"', {
803 'dependencies': [ 801 'dependencies': [
804 '../breakpad/breakpad.gyp:breakpad_handler', 802 '../breakpad/breakpad.gyp:breakpad_handler',
805 ], 803 ],
806 }], 804 }],
807 ], 805 ],
808 }, # end of target 'remoting_breakpad' 806 }, # end of target 'remoting_breakpad'
809 807
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 'host/chromoting_host.cc', 1110 'host/chromoting_host.cc',
1113 'host/chromoting_host.h', 1111 'host/chromoting_host.h',
1114 'host/chromoting_host_context.cc', 1112 'host/chromoting_host_context.cc',
1115 'host/chromoting_host_context.h', 1113 'host/chromoting_host_context.h',
1116 'host/client_session.cc', 1114 'host/client_session.cc',
1117 'host/client_session.h', 1115 'host/client_session.h',
1118 'host/clipboard.h', 1116 'host/clipboard.h',
1119 'host/clipboard_linux.cc', 1117 'host/clipboard_linux.cc',
1120 'host/clipboard_mac.mm', 1118 'host/clipboard_mac.mm',
1121 'host/clipboard_win.cc', 1119 'host/clipboard_win.cc',
1122 'host/constants.h',
1123 'host/constants_win.cc',
1124 'host/continue_window.h', 1120 'host/continue_window.h',
1125 'host/continue_window_gtk.cc', 1121 'host/continue_window_gtk.cc',
1126 'host/continue_window_mac.mm', 1122 'host/continue_window_mac.mm',
1127 'host/continue_window_win.cc', 1123 'host/continue_window_win.cc',
1128 'host/curtain.h', 1124 'host/curtain.h',
1129 'host/curtain_linux.cc', 1125 'host/curtain_linux.cc',
1130 'host/curtain_mac.cc', 1126 'host/curtain_mac.cc',
1131 'host/curtain_win.cc', 1127 'host/curtain_win.cc',
1132 'host/desktop_environment.cc', 1128 'host/desktop_environment.cc',
1133 'host/desktop_environment.h', 1129 'host/desktop_environment.h',
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 '../base/allocator/allocator.gyp:allocator', 1762 '../base/allocator/allocator.gyp:allocator',
1767 ], 1763 ],
1768 }, 1764 },
1769 ], 1765 ],
1770 ], 1766 ],
1771 }], 1767 }],
1772 ], # end of 'conditions' 1768 ], # end of 'conditions'
1773 }, # end of target 'remoting_unittests' 1769 }, # end of target 'remoting_unittests'
1774 ], # end of targets 1770 ], # end of targets
1775 } 1771 }
OLDNEW
« no previous file with comments | « remoting/host/wts_session_process_launcher_win.cc ('k') | remoting/tools/me2me_virtual_host.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698