Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/AdblockPlus.rc

Issue 10976008: Set version number in versioninfo automatically (Closed)
Patch Set: Created June 13, 2013, 10:31 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/engine/engine.rc ('k') | src/shared/Version.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/AdblockPlus.rc
===================================================================
--- a/src/plugin/AdblockPlus.rc
+++ b/src/plugin/AdblockPlus.rc
@@ -1,10 +1,11 @@
// Microsoft Visual C++ generated resource script.
//
+#include "../shared/Version.h"
#include "Resource.h"
#define APSTUDIO_READONLY_SYMBOLS
#include "winres.h"
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
@@ -13,40 +14,40 @@
IDR_PLUGIN_CLASS REGISTRY "AdBlockPlus.rgs"
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,0,2,0
- PRODUCTVERSION 0,0,2,0
+ FILEVERSION VERSIONINFO_VERSION
+ PRODUCTVERSION VERSIONINFO_VERSION
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Adblock Plus"
VALUE "FileDescription", "Adblock Plus Module"
- VALUE "FileVersion", "0, 0, 2, 0"
+ VALUE "FileVersion", VERSIONINFO_VERSION_STR
VALUE "InternalName", "Adblock Plus"
VALUE "LegalCopyright", "Copyright 2013"
VALUE "OriginalFilename", "AdblockPlus.dll"
VALUE "ProductName", "Adblock Plus"
- VALUE "ProductVersion", "0, 0, 2, 0"
+ VALUE "ProductVersion", VERSIONINFO_VERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
« no previous file with comments | « src/engine/engine.rc ('k') | src/shared/Version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld