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

Unified Diff: chrome/chrome.gyp

Issue 7390037: Generating separate version resources for: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/other.ver ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 93100)
+++ chrome/chrome.gyp (working copy)
@@ -1425,23 +1425,31 @@
],
},
{
- 'target_name': 'chrome_dll_version',
+ 'target_name': 'chrome_version_resources',
'type': 'none',
'dependencies': [
'../build/util/build_util.gyp:lastchange',
],
'direct_dependent_settings': {
'include_dirs': [
- '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome_version',
],
},
- 'actions': [
+ 'sources': [
+ 'app/chrome_exe.ver',
+ 'app/chrome_dll.ver',
+ 'app/nacl64_exe.ver',
+ 'app/nacl64_dll.ver',
+ 'app/other.ver',
+ ],
+ 'rules': [
{
- 'action_name': 'version',
+ 'rule_name': 'version',
+ 'extension': 'ver',
'variables': {
'lastchange_path':
'<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
- 'template_input_path': 'app/chrome_dll_version.rc.version',
+ 'template_input_path': 'app/chrome_version.rc.version',
},
'conditions': [
[ 'branding == "Chrome"', {
@@ -1461,11 +1469,12 @@
'<(lastchange_path)',
],
'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome_version/<(RULE_INPUT_ROOT)_version.rc',
],
'action': [
'python',
'<(version_py_path)',
+ '-f', '<(RULE_INPUT_PATH)',
'-f', '<(version_path)',
'-f', '<(branding_path)',
'-f', '<(lastchange_path)',
« no previous file with comments | « chrome/app/other.ver ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698