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

Side by Side Diff: remoting/remoting.gyp

Issue 11058004: [Chromoting] Update remoting version numbering pattern (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/VERSION ('k') | no next file » | 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
11 'remoting_host_linux_clipboard%': 1, 11 'remoting_host_linux_clipboard%': 1,
12 'remoting_multi_process%': 0, 12 'remoting_multi_process%': 0,
13 13
14 # The version is composed from major & minor versions specific to remoting 14 # The major, build and patch versions are inherited from Chrome.
15 # and build & patch versions inherited from Chrome. 15 # The minor version is specific to remoting - it is usually '0', but may
16 # be incremented when we need to push updates for the same major version.
16 'version_py_path': '../chrome/tools/build/version.py', 17 'version_py_path': '../chrome/tools/build/version.py',
17 'version_path': '../remoting/VERSION', 18 'remoting_version_path': '../remoting/VERSION',
18 'chrome_version_path': '../chrome/VERSION', 19 'chrome_version_path': '../chrome/VERSION',
20 'version_major':
21 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@MAJOR@")',
22 'version_minor':
23 '<!(python <(version_py_path) -f <(remoting_version_path) -t "@MINOR@")',
19 'version_full': 24 'version_full':
20 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' 25 '<(version_major).<(version_minor).'
21 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@.@PATCH @")', 26 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@.@PATCH @")',
Wez 2012/10/05 00:56:43 nit: Pull out version_build to make these two more
22 'version_short': 27 'version_short':
23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@").' 28 '<(version_major).<(version_minor).'
24 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@")', 29 '<!(python <(version_py_path) -f <(chrome_version_path) -t "@BUILD@")',
25 30
26 'branding_path': '../remoting/branding_<(branding)', 31 'branding_path': '../remoting/branding_<(branding)',
27 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP YRIGHT@")', 32 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP YRIGHT@")',
28 33
29 # Use consistent strings across all platforms. 34 # Use consistent strings across all platforms.
30 # These values must match host/plugin/constants.h 35 # These values must match host/plugin/constants.h
31 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', 36 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host',
32 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_DESCRIPTION@")', 37 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_DESCRIPTION@")',
33 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H OST_PLUGIN_FILE_NAME@")', 38 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H OST_PLUGIN_FILE_NAME@")',
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 'PreferencePanes/org.chromium.chromoting.prefPane', 338 'PreferencePanes/org.chromium.chromoting.prefPane',
334 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app', 339 'PrivilegedHelperTools/org.chromium.chromoting.me2me_host.app',
335 'Applications/<(host_uninstaller_name).app', 340 'Applications/<(host_uninstaller_name).app',
336 ], 341 ],
337 'source_files': [ 342 'source_files': [
338 '<@(remoting_host_installer_mac_files)', 343 '<@(remoting_host_installer_mac_files)',
339 ], 344 ],
340 'defs': [ 345 'defs': [
341 'VERSION=<(version_full)', 346 'VERSION=<(version_full)',
342 'VERSION_SHORT=<(version_short)', 347 'VERSION_SHORT=<(version_short)',
343 'VERSION_MAJOR=<!(python <(version_py_path) -f <(version_path) - t "@MAJOR@")', 348 'VERSION_MAJOR=<(version_major)',
344 'VERSION_MINOR=<!(python <(version_py_path) -f <(version_path) - t "@MINOR@")', 349 'VERSION_MINOR=<(version_minor)',
345 'COPYRIGHT_INFO=<(copyright_info)', 350 'COPYRIGHT_INFO=<(copyright_info)',
346 'HOST_NAME=<(host_name)', 351 'HOST_NAME=<(host_name)',
347 'HOST_SERVICE_NAME=<(host_service_name)', 352 'HOST_SERVICE_NAME=<(host_service_name)',
348 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)', 353 'HOST_UNINSTALLER_NAME=<(host_uninstaller_name)',
349 'HOST_PKG=<(host_name)', 354 'HOST_PKG=<(host_name)',
350 'HOST_SERVICE_PKG=<(host_service_name_nospace)', 355 'HOST_SERVICE_PKG=<(host_service_name_nospace)',
351 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)', 356 'HOST_UNINSTALLER_PKG=<(host_uninstaller_name_nospace)',
352 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)', 357 'BUNDLE_ID_HOST=<(bundle_prefix).<(host_name_nospace)',
353 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos pace)', 358 'BUNDLE_ID_HOST_SERVICE=<(bundle_prefix).<(host_service_name_nos pace)',
354 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name_nospace)', 359 'BUNDLE_ID_HOST_UNINSTALLER=<(bundle_prefix).<(host_uninstaller_ name_nospace)',
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 # - (branding_path) - UI/localizable strings. 645 # - (branding_path) - UI/localizable strings.
641 # - xxx.ver - per-binary non-localizable strings such as the binary 646 # - xxx.ver - per-binary non-localizable strings such as the binary
642 # name. 647 # name.
643 { 648 {
644 'target_name': 'remoting_version_resources', 649 'target_name': 'remoting_version_resources',
645 'type': 'none', 650 'type': 'none',
646 'inputs': [ 651 'inputs': [
647 '<(branding_path)', 652 '<(branding_path)',
648 'version.rc.version', 653 'version.rc.version',
649 '<(DEPTH)/build/util/LASTCHANGE', 654 '<(DEPTH)/build/util/LASTCHANGE',
650 '<(version_path)', 655 '<(remoting_version_path)',
651 '<(chrome_version_path)', 656 '<(chrome_version_path)',
652 ], 657 ],
653 'direct_dependent_settings': { 658 'direct_dependent_settings': {
654 'include_dirs': [ 659 'include_dirs': [
655 '<(SHARED_INTERMEDIATE_DIR)/remoting', 660 '<(SHARED_INTERMEDIATE_DIR)/remoting',
656 ], 661 ],
657 }, 662 },
658 'sources': [ 663 'sources': [
659 'host/plugin/remoting_host_plugin.ver', 664 'host/plugin/remoting_host_plugin.ver',
660 'host/remoting_desktop.ver', 665 'host/remoting_desktop.ver',
661 'host/remoting_host_me2me.ver', 666 'host/remoting_host_me2me.ver',
662 'host/win/remoting_controller.ver', 667 'host/win/remoting_controller.ver',
663 'host/win/remoting_daemon.ver', 668 'host/win/remoting_daemon.ver',
664 ], 669 ],
665 'rules': [ 670 'rules': [
666 { 671 {
667 'rule_name': 'version', 672 'rule_name': 'version',
668 'extension': 'ver', 673 'extension': 'ver',
669 'variables': { 674 'variables': {
670 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', 675 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
671 'template_input_path': 'version.rc.version', 676 'template_input_path': 'version.rc.version',
672 }, 677 },
673 'inputs': [ 678 'inputs': [
674 '<(template_input_path)', 679 '<(template_input_path)',
675 '<(version_path)', 680 '<(remoting_version_path)',
676 '<(chrome_version_path)', 681 '<(chrome_version_path)',
677 '<(branding_path)', 682 '<(branding_path)',
678 '<(lastchange_path)', 683 '<(lastchange_path)',
679 ], 684 ],
680 'outputs': [ 685 'outputs': [
681 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)_version. rc', 686 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)_version. rc',
682 ], 687 ],
683 'action': [ 688 'action': [
684 'python', 689 'python',
685 '<(version_py_path)', 690 '<(version_py_path)',
686 '-f', '<(RULE_INPUT_PATH)', 691 '-f', '<(RULE_INPUT_PATH)',
687 '-f', '<(chrome_version_path)', 692 '-f', '<(chrome_version_path)',
688 '-f', '<(version_path)', 693 '-f', '<(remoting_version_path)',
689 '-f', '<(branding_path)', 694 '-f', '<(branding_path)',
690 '-f', '<(lastchange_path)', 695 '-f', '<(lastchange_path)',
691 '<(template_input_path)', 696 '<(template_input_path)',
692 '<@(_outputs)', 697 '<@(_outputs)',
693 ], 698 ],
694 'message': 'Generating version information in <@(_outputs)' 699 'message': 'Generating version information in <@(_outputs)'
695 }, 700 },
696 ], 701 ],
697 }, # end of target 'remoting_version_resources' 702 }, # end of target 'remoting_version_resources'
698 ], # end of 'targets' 703 ], # end of 'targets'
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 1125
1121 { 1126 {
1122 'target_name': 'remoting_webapp', 1127 'target_name': 'remoting_webapp',
1123 'type': 'none', 1128 'type': 'none',
1124 'dependencies': [ 1129 'dependencies': [
1125 'remoting_host_plugin', 1130 'remoting_host_plugin',
1126 ], 1131 ],
1127 'sources': [ 1132 'sources': [
1128 'webapp/build-webapp.py', 1133 'webapp/build-webapp.py',
1129 'webapp/verify-webapp.py', 1134 'webapp/verify-webapp.py',
1130 '<(version_path)', 1135 '<(remoting_version_path)',
1131 '<(chrome_version_path)', 1136 '<(chrome_version_path)',
1132 '<@(remoting_webapp_files)', 1137 '<@(remoting_webapp_files)',
1133 '<@(remoting_webapp_locale_files)', 1138 '<@(remoting_webapp_locale_files)',
1134 ], 1139 ],
1135 # Can't use a 'copies' because we need to manipulate 1140 # Can't use a 'copies' because we need to manipulate
1136 # the manifest file to get the right plugin name. 1141 # the manifest file to get the right plugin name.
1137 # Also we need to move the plugin into the me2mom 1142 # Also we need to move the plugin into the me2mom
1138 # folder, which means 2 copies, and gyp doesn't 1143 # folder, which means 2 copies, and gyp doesn't
1139 # seem to guarantee the ordering of 2 copies statements 1144 # seem to guarantee the ordering of 2 copies statements
1140 # when the actual project is generated. 1145 # when the actual project is generated.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 ], 1177 ],
1173 }, 1178 },
1174 { 1179 {
1175 'action_name': 'Build Remoting WebApp', 1180 'action_name': 'Build Remoting WebApp',
1176 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp', 1181 'output_dir': '<(PRODUCT_DIR)/remoting/remoting.webapp',
1177 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_plug in.<(host_plugin_extension)', 1182 'plugin_path': '<(PRODUCT_DIR)/<(host_plugin_prefix)remoting_host_plug in.<(host_plugin_extension)',
1178 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', 1183 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip',
1179 'inputs': [ 1184 'inputs': [
1180 'webapp/build-webapp.py', 1185 'webapp/build-webapp.py',
1181 '<(_plugin_path)', 1186 '<(_plugin_path)',
1182 '<(version_path)', 1187 '<(remoting_version_path)',
1183 '<(chrome_version_path)', 1188 '<(chrome_version_path)',
1184 '<@(remoting_webapp_files)', 1189 '<@(remoting_webapp_files)',
1185 '<@(remoting_webapp_locale_files)', 1190 '<@(remoting_webapp_locale_files)',
1186 ], 1191 ],
1187 'outputs': [ 1192 'outputs': [
1188 '<(_output_dir)', 1193 '<(_output_dir)',
1189 '<(_zip_path)', 1194 '<(_zip_path)',
1190 ], 1195 ],
1191 'action': [ 1196 'action': [
1192 'python', 'webapp/build-webapp.py', 1197 'python', 'webapp/build-webapp.py',
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
1988 '../base/allocator/allocator.gyp:allocator', 1993 '../base/allocator/allocator.gyp:allocator',
1989 ], 1994 ],
1990 }, 1995 },
1991 ], 1996 ],
1992 ], 1997 ],
1993 }], 1998 }],
1994 ], # end of 'conditions' 1999 ], # end of 'conditions'
1995 }, # end of target 'remoting_unittests' 2000 }, # end of target 'remoting_unittests'
1996 ], # end of targets 2001 ], # end of targets
1997 } 2002 }
OLDNEW
« no previous file with comments | « remoting/VERSION ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698