packages: chromium-browser/disable_dlog_and_dcheck_in_release_builds.patch....
arekm
arekm at pld-linux.org
Tue Jun 1 10:37:18 CEST 2010
Author: arekm Date: Tue Jun 1 08:37:18 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new from debian
---- Files affected:
packages/chromium-browser:
disable_dlog_and_dcheck_in_release_builds.patch.diff (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/chromium-browser/disable_dlog_and_dcheck_in_release_builds.patch.diff
diff -u /dev/null packages/chromium-browser/disable_dlog_and_dcheck_in_release_builds.patch.diff:1.1
--- /dev/null Tue Jun 1 10:37:18 2010
+++ packages/chromium-browser/disable_dlog_and_dcheck_in_release_builds.patch.diff Tue Jun 1 10:37:13 2010
@@ -0,0 +1,30 @@
+--- chromium-browser-6.0.423.0~svn20100601r48614.orig/debian/patches/disable_dlog_and_dcheck_in_release_builds.patch
++++ chromium-browser-6.0.423.0~svn20100601r48614/debian/patches/disable_dlog_and_dcheck_in_release_builds.patch
+@@ -0,0 +1,27 @@
++---
++ base/logging.h | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++Index: src/base/logging.h
++===================================================================
++--- src.orig/base/logging.h
+++++ src/base/logging.h
++@@ -382,17 +382,17 @@
++ // #ifndef NDEBUG
++ // foo.CheckThatFoo();
++ // #endif
++
++ // http://crbug.com/16512 is open for a real fix for this. For now, Windows
++ // uses OFFICIAL_BUILD and other platforms use the branding flag when NDEBUG is
++ // defined.
++ #if ( defined(OS_WIN) && defined(OFFICIAL_BUILD)) || \
++- (!defined(OS_WIN) && defined(NDEBUG) && defined(GOOGLE_CHROME_BUILD))
+++ (!defined(OS_WIN) && defined(NDEBUG))
++ // In order to have optimized code for official builds, remove DLOGs and
++ // DCHECKs.
++ #define OMIT_DLOG_AND_DCHECK 1
++ #endif
++
++ #ifdef OMIT_DLOG_AND_DCHECK
++
++ #define DLOG(severity) \
================================================================
More information about the pld-cvs-commit
mailing list