diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-11 18:28:32 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-11 18:28:32 +0000 |
commit | b5f7615d258c25908fc09161d2458e9c8f50ef2c (patch) | |
tree | 2ec10ec01c5b3cd1a187861cf612b5bfa5c77ae2 /chrome_frame/chrome_frame.gyp | |
parent | 476e8c9a3bf203b6b0612020cecc52dad353f027 (diff) | |
download | chromium_src-b5f7615d258c25908fc09161d2458e9c8f50ef2c.zip chromium_src-b5f7615d258c25908fc09161d2458e9c8f50ef2c.tar.gz chromium_src-b5f7615d258c25908fc09161d2458e9c8f50ef2c.tar.bz2 |
Replace lastchange and branding information in npchrome_frame.dll.
TEST=No code change but the version table of npchrome_frame.dll should now contain the proper company name, copyright and the last revision number.
BUG=none
Review URL: http://codereview.chromium.org/1528026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame.gyp')
-rw-r--r-- | chrome_frame/chrome_frame.gyp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame.gyp b/chrome_frame/chrome_frame.gyp index 7689d2c..9a53fe9 100644 --- a/chrome_frame/chrome_frame.gyp +++ b/chrome_frame/chrome_frame.gyp @@ -7,6 +7,13 @@ 'chromium_code': 1, 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)', + 'variables': { + 'version_py_path': '../tools/build/version.py', + 'version_path': 'VERSION', + }, + 'version_py_path': '<(version_py_path) -f', + 'version_path': '<(version_path)', + # Keep the archive builder happy. 'chrome_personalization%': 1, 'use_syncapi_stub%': 0, @@ -771,11 +778,25 @@ 'variables': { 'version_py': '../chrome/tools/build/version.py', 'version_path': '../chrome/VERSION', + 'lastchange_path': + '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', 'template_input_path': 'chrome_tab_version.rc.version', }, + 'conditions': [ + [ 'branding == "Chrome"', { + 'variables': { + 'branding_path': '../chrome/app/theme/google_chrome/BRANDING', + }, + }, { # else branding!="Chrome" + 'variables': { + 'branding_path': '../chrome/app/theme/chromium/BRANDING', + }, + }], + ], 'inputs': [ '<(template_input_path)', '<(version_path)', + '<(branding_path)', ], 'outputs': [ '<(INTERMEDIATE_DIR)/chrome_tab_version.rc', @@ -784,6 +805,8 @@ 'python', '<(version_py)', '-f', '<(version_path)', + '-f', '<(branding_path)', + '-f', '<(lastchange_path)', '<(template_input_path)', '<@(_outputs)', ], |