#if !defined(OFFICIAL_BUILD) // Print stack traces to stderr when crashes occur. This opens up security // holes so it should never be enabled for official builds. base::debug::EnableInProcessStackDumping(); #if defined(OS_WIN) base::RouteStdioToConsole(false); LoadLibraryA("dbghelp.dll"); #endif #endif
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Not saying this specific change is a good idea or not, but more generally:I think anyone shipping apps based on Chromium to users *should* be defining OFFICIAL_BUILD, and if there's any problem preventing them from doing so then we should fix those problems. OFFICIAL_BUILD is intended to be the final "this is for actual users to use" switch, vs building in Release which is "don't include debug stuff because I want to have reasonably realistic performance/memory numbers".
Yeah, those are incorrect and should be testing for the Chrome branding instead (or maybe the AND of both). WebView builds its non-branded AOSP binaries with OFFICIAL_BUILD (and there are probably other examples) so it's not even only third parties who would have issues with these.