summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 22:01:26 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 22:01:26 +0000
commit1405220aad5d0885a3f583e95d9a96e76455b1c7 (patch)
tree86dcdcc3d656a236a958bbf93f7851cdbd3c59c3 /chrome/chrome.gyp
parent6b82c608d606fc848c3b0849204968e9e649ef86 (diff)
downloadchromium_src-1405220aad5d0885a3f583e95d9a96e76455b1c7.zip
chromium_src-1405220aad5d0885a3f583e95d9a96e76455b1c7.tar.gz
chromium_src-1405220aad5d0885a3f583e95d9a96e76455b1c7.tar.bz2
Eliminate char/wchar_t conversions, probably-unsafe statics, and disk access
when determining the framework and helper app paths on the Mac. BUG=24833 TEST=app still works, tests still pass Review URL: http://codereview.chromium.org/267102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rwxr-xr-xchrome/chrome.gyp22
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index c072347..fd0c7c1 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -470,6 +470,28 @@
'common/pref_names.cc',
'common/pref_names.h',
],
+ 'actions': [
+ {
+ 'action_name': 'Make chrome_version.cc',
+ 'variables': {
+ 'make_version_cc_path': 'tools/build/make_version_cc.py',
+ },
+ 'inputs': [
+ '<(make_version_cc_path)',
+ 'VERSION',
+ ],
+ 'outputs': [
+ '<(INTERMEDIATE_DIR)/chrome_version.cc',
+ ],
+ 'action': [
+ 'python',
+ '<(make_version_cc_path)',
+ '<@(_outputs)',
+ '<(version_full)',
+ ],
+ 'process_outputs_as_sources': 1,
+ },
+ ],
},
{
'target_name': 'common',