summaryrefslogtreecommitdiffstats
path: root/base/base.gyp
diff options
context:
space:
mode:
authormmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 20:07:45 +0000
committermmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 20:07:45 +0000
commit8a0098f59d6170cf0050d3ebd25b45ee77919137 (patch)
tree12f7fc56463fac407303d5f5d2b4ce6bbdb05e80 /base/base.gyp
parentd511f8444a98574e343d56fd4fda22b0f5c83a84 (diff)
downloadchromium_src-8a0098f59d6170cf0050d3ebd25b45ee77919137.zip
chromium_src-8a0098f59d6170cf0050d3ebd25b45ee77919137.tar.gz
chromium_src-8a0098f59d6170cf0050d3ebd25b45ee77919137.tar.bz2
Include version information in Linux chrome.
This makes use of, and scons-enables, the Linux version header in Issue 45028. BUG=8132 Review URL: http://codereview.chromium.org/42542 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r--base/base.gyp12
1 files changed, 9 insertions, 3 deletions
diff --git a/base/base.gyp b/base/base.gyp
index da7a0df..2c185d3 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -324,7 +324,9 @@
{
'action_name': 'linux_version',
'variables': {
- 'template_input_path': 'file_version_info_linux.h.version'
+ 'template_input_path': 'file_version_info_linux.h.version',
+ 'template_output_path':
+ '<(INTERMEDIATE_DIR)/base/file_version_info_linux.h',
},
'inputs': [
'<(template_input_path)',
@@ -339,11 +341,15 @@
}],
],
'outputs': [
- '<(INTERMEDIATE_DIR)/base/file_version_info_linux.h',
+ # Use a non-existant output so this action always runs and
+ # generates version information, e.g. to capture revision
+ # changes, which aren't captured by file dependencies.
+ '<(INTERMEDIATE_DIR)/base/file_version_info_linux.bogus',
],
'action': [
'../chrome/tools/build/linux/version.sh',
- '<(template_input_path)', '<@(_outputs)', '../chrome'
+ '<(template_input_path)', '<(template_output_path)',
+ '../chrome'
],
},
],