diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 15:38:01 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-02 15:38:01 +0000 |
commit | 8d54bd6a28c7b81936271b3cf1eb8e9ec768bd26 (patch) | |
tree | 5090a8f84f5ec5cedd05a73a6ef22c310a9469b7 /chrome_frame | |
parent | 3c1ec4155c8e4e66c2a9ce53e6e1673aa555e14d (diff) | |
download | chromium_src-8d54bd6a28c7b81936271b3cf1eb8e9ec768bd26.zip chromium_src-8d54bd6a28c7b81936271b3cf1eb8e9ec768bd26.tar.gz chromium_src-8d54bd6a28c7b81936271b3cf1eb8e9ec768bd26.tar.bz2 |
Add version information to chrome_launcher.exe.
BUG=35036
TEST=Check chrome_launcher.exe properties, check that it has version information.
Review URL: http://codereview.chromium.org/2497001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_launcher.gyp | 15 | ||||
-rw-r--r-- | chrome_frame/chrome_launcher_version.rc | 47 |
2 files changed, 61 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_launcher.gyp b/chrome_frame/chrome_frame_launcher.gyp index 97e1629..e502d75 100644 --- a/chrome_frame/chrome_frame_launcher.gyp +++ b/chrome_frame/chrome_frame_launcher.gyp @@ -10,6 +10,13 @@ 'chrome_personalization%': 1, 'use_syncapi_stub%': 0, + 'variables': { + 'version_py_path': '../tools/build/version.py', + 'version_path': 'VERSION', + }, + 'version_py_path': '<(version_py_path) -f', + 'version_path': '<(version_path)', + 'conditions': [ ['OS=="win"', { 'python': [ @@ -38,9 +45,16 @@ 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16', 'dependencies': [ '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/chrome.gyp:chrome_version_info', + '../chrome/chrome.gyp:chrome_version_header', + ], + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)', + '<(SHARED_INTERMEDIATE_DIR)', ], 'sources': [ 'chrome_launcher_main.cc', + 'chrome_launcher_version.rc', 'chrome_launcher.cc', 'chrome_launcher.h', ], @@ -53,7 +67,6 @@ 'AdditionalDependencies': [ 'shlwapi.lib', ], - }, }, 'configurations': { diff --git a/chrome_frame/chrome_launcher_version.rc b/chrome_frame/chrome_launcher_version.rc new file mode 100644 index 0000000..b7bb21c --- /dev/null +++ b/chrome_frame/chrome_launcher_version.rc @@ -0,0 +1,47 @@ +#include "version.h" + +#ifdef APSTUDIO_INVOKED +# error Don't open this in the GUI, it'll be massacred on save. +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +1 VERSIONINFO + FILEVERSION CHROME_VERSION + PRODUCTVERSION CHROME_VERSION + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904e4" + BEGIN + VALUE "CompanyName", COMPANY_FULLNAME_STRING + VALUE "CompanyShortName", COMPANY_SHORTNAME_STRING + VALUE "ProductName", "Google Chrome Frame" + VALUE "ProductShortName", "ChromeFrame" + VALUE "ProductVersion", CHROME_VERSION_STRING + VALUE "FileDescription", "Chrome Frame renders the Web of the future in the browsers of the past. It's like strapping a rocket engine to a minivan." + VALUE "FileVersion", CHROME_VERSION_STRING + VALUE "InternalName", "Google Chrome Frame Launcher" + VALUE "LegalCopyright", COPYRIGHT_STRING + VALUE "OriginalFilename", "chrome_launcher.exe" + VALUE "LastChange", LASTCHANGE_STRING + VALUE "Official Build", OFFICIAL_BUILD_STRING + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END |