summaryrefslogtreecommitdiffstats
path: root/chrome/tools/build
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 16:19:04 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-13 16:19:04 +0000
commit768ecee9bfbf922f2c1645a7858c89c6cd381e12 (patch)
tree477a4490f52525e0797d1ea8917b6cfc84d7b33f /chrome/tools/build
parentf767ae7a1e904c6a7410dc4529f921e33939674a (diff)
downloadchromium_src-768ecee9bfbf922f2c1645a7858c89c6cd381e12.zip
chromium_src-768ecee9bfbf922f2c1645a7858c89c6cd381e12.tar.gz
chromium_src-768ecee9bfbf922f2c1645a7858c89c6cd381e12.tar.bz2
Removing OFFICIAL_BUILD as we do not really need it when we have CHROME_BUILD_TYPE=_official.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/build')
-rw-r--r--chrome/tools/build/win/version.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/tools/build/win/version.bat b/chrome/tools/build/win/version.bat
index 0a9504f..afdfa1a 100644
--- a/chrome/tools/build/win/version.bat
+++ b/chrome/tools/build/win/version.bat
@@ -18,7 +18,8 @@ cat %SolutionDir%\VERSION | sed "s/\(.*\)/set \1/" > %VarsBat%
:: Load branding strings as environment variables
cat %SolutionDir%\BRANDING | sed "s/\(.*\)/set \1/" >> %VarsBat%
-if not "%OFFICIAL_BUILD%" == "1" set OFFICIAL_BUILD=0
+set OFFICIAL_BUILD=0
+if "%CHROME_BUILD_TYPE%" == "_official" set OFFICIAL_BUILD=1
:: Determine the current repository revision number
set PATH=%~dp0..\..\..\..\third_party\svn;%PATH%