From 1f2fe99dc4baa689bf34cef8c85f105d5957db75 Mon Sep 17 00:00:00 2001 From: "jrg@chromium.org" Date: Mon, 1 Jun 2009 18:27:27 +0000 Subject: Tweak SVNVersion be happier (matches windows). Fix about:version so "Developer build" says "Official build" when relevant, and lists SVN version for developer builds. BUG=12064 Review URL: http://codereview.chromium.org/118036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17337 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_version_info_mac.mm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'base') diff --git a/base/file_version_info_mac.mm b/base/file_version_info_mac.mm index 00f470b..7090003 100644 --- a/base/file_version_info_mac.mm +++ b/base/file_version_info_mac.mm @@ -103,11 +103,15 @@ std::wstring FileVersionInfo::special_build() { } std::wstring FileVersionInfo::last_change() { - return L""; + return GetStringValue(L"SVNRevision"); } bool FileVersionInfo::is_official_build() { +#if defined (GOOGLE_CHROME_BUILD) + return true; +#else return false; +#endif } bool FileVersionInfo::GetValue(const wchar_t* name, std::wstring* value_str) { -- cgit v1.1