summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mini_installer
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 01:36:15 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 01:36:15 +0000
commit225dc0cc9b7da42d990915cdd48df32ece8e2f54 (patch)
treeec21a703d9bcc77e1564471577fa74ace1389e3e /chrome/installer/mini_installer
parenta402c1172e84e4dd85003a93ba6f4aa270acc2dc (diff)
downloadchromium_src-225dc0cc9b7da42d990915cdd48df32ece8e2f54.zip
chromium_src-225dc0cc9b7da42d990915cdd48df32ece8e2f54.tar.gz
chromium_src-225dc0cc9b7da42d990915cdd48df32ece8e2f54.tar.bz2
Remove the #include of verrsrc.h from mini_installer_version.rc.version. This makes building mini_installer on platforms with different SDK levels irksome.
BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8761013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/mini_installer')
-rw-r--r--chrome/installer/mini_installer/mini_installer_exe_version.rc.version7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/installer/mini_installer/mini_installer_exe_version.rc.version b/chrome/installer/mini_installer/mini_installer_exe_version.rc.version
index c15cfc3..8d383cf 100644
--- a/chrome/installer/mini_installer/mini_installer_exe_version.rc.version
+++ b/chrome/installer/mini_installer/mini_installer_exe_version.rc.version
@@ -2,9 +2,12 @@
//
// Version
//
-#include "verrsrc.h"
-VS_VERSION_INFO VERSIONINFO
+// Use the ordinal 1 here, to avoid needing to #include a header file
+// to use the VS_VERSION_INFO macro. This header file changes with different
+// SDK versions which causes headaches building in some environments. The
+// VERSIONINFO resource will always be at index 1.
+1 VERSIONINFO
FILEVERSION @MAJOR@,@MINOR@,@BUILD@,@PATCH@
PRODUCTVERSION @MAJOR@,@MINOR@,@BUILD@,@PATCH@
FILEFLAGSMASK 0x17L