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

Unified Diff: chrome_frame/npchrome_frame_version.rc.version

Issue 11147012: Generate version resources for Chrome Frame using the same machinery as Chrome itself. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
Index: chrome_frame/npchrome_frame_version.rc.version
diff --git a/chrome/app/chrome_version.rc.version b/chrome_frame/npchrome_frame_version.rc.version
similarity index 63%
copy from chrome/app/chrome_version.rc.version
copy to chrome_frame/npchrome_frame_version.rc.version
index 0ec74bdd42dd5b6c4439696218d0778d4fad91a8..0cf5b2639fedddec6bb871b71217dbf6ef4e0045 100644
--- a/chrome/app/chrome_version.rc.version
+++ b/chrome_frame/npchrome_frame_version.rc.version
@@ -1,15 +1,17 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <verrsrc.h>
+#ifdef APSTUDIO_INVOKED
+# error Do not open this in the GUI, it will be massacred on save. Do not do it.
+#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
-VS_VERSION_INFO VERSIONINFO
+1 VERSIONINFO
FILEVERSION @MAJOR@,@MINOR@,@BUILD@,@PATCH@
PRODUCTVERSION @MAJOR@,@MINOR@,@BUILD@,@PATCH@
FILEFLAGSMASK 0x17L
@@ -19,15 +21,16 @@ VS_VERSION_INFO VERSIONINFO
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
- FILETYPE 0x1L
+ FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
- BLOCK "040904b0"
+ // Note that Firefox 3.0 requires the charset to be 04e4 (multi-lingual).
robertshield 2012/10/15 13:58:14 > 80
grt (UTC plus 2) 2012/10/15 14:43:24 Done.
+ BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "@COMPANY_FULLNAME@"
- VALUE "FileDescription", "@PRODUCT_FULLNAME@"
+ VALUE "FileDescription", "@PRODUCT_DESCRIPTION@"
VALUE "FileVersion", "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"
VALUE "InternalName", "@INTERNAL_NAME@"
VALUE "LegalCopyright", "@COPYRIGHT@"
@@ -38,10 +41,14 @@ BEGIN
VALUE "ProductShortName", "@PRODUCT_SHORTNAME@"
VALUE "LastChange", "@LASTCHANGE@"
VALUE "Official Build", "@OFFICIAL_BUILD@"
+ VALUE "MIMEType", "application/chromeframe"
+ VALUE "FileExtents", "chromeframe"
+ VALUE "FileOpenName", "chromeframe"
END
END
BLOCK "VarFileInfo"
BEGIN
- VALUE "Translation", 0x409, 1200
+ // Note that Firefox 3.0 requires the charset to be 1252 (multi-lingual).
robertshield 2012/10/15 13:58:14 > 80
grt (UTC plus 2) 2012/10/15 14:43:24 Done.
+ VALUE "Translation", 0x409, 1252
END
END

Powered by Google App Engine
This is Rietveld 408576698