diff options
author | 2016-04-28 08:12:55 -0700 | |
---|---|---|
committer | 2016-04-28 08:12:55 -0700 | |
commit | 28d5bdd97ebbbdfff49d2e719b24a6343b0f0b48 (patch) | |
tree | 0844d9f033c93102c900b7b4e11604e7d53a907e /src/core/SkStream.cpp | |
parent | 9fbee8408ec4578aead049f1bf43f1d9d4039b7b (diff) |
Revert of Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. (patchset #2 id:20001 of https://codereview.chromium.org/1927583002/ )
Reason for revert:
still blocking DEPS roll
Original issue's description:
> Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER.
>
> The Release_Developer build type is now used to build Skia with
> release level optimizations but still enable SK_DEBUG. This in turn
> means that SkASSERTS and SkRTConf are available in this mode.
>
> Further we can then remove SK_DEVELOPER as a define as it is true
> iff SK_DEBUG is true.
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1927583002
> DOCS_PREVIEW= https://skia.org/?cl=1927583002
>
> Committed: https://skia.googlesource.com/skia/+/48d6f88479e72efaf9b9d8f9c0769acb1ba773db
TBR=bungeman@gmail.com,bungeman@google.com,benjaminwagner@google.com,djsollen@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review-Url: https://codereview.chromium.org/1918253006
Diffstat (limited to 'src/core/SkStream.cpp')
-rw-r--r-- | src/core/SkStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp index e2b3e6454c..6dbde4dc6d 100644 --- a/src/core/SkStream.cpp +++ b/src/core/SkStream.cpp @@ -817,7 +817,7 @@ SkStreamAsset* SkDynamicMemoryWStream::detachAsStream() { void SkDebugWStream::newline() { -#if defined(SK_DEBUG) +#if defined(SK_DEBUG) || defined(SK_DEVELOPER) SkDebugf("\n"); fBytesWritten++; #endif @@ -825,7 +825,7 @@ void SkDebugWStream::newline() bool SkDebugWStream::write(const void* buffer, size_t size) { -#if defined(SK_DEBUG) +#if defined(SK_DEBUG) || defined(SK_DEVELOPER) char* s = new char[size+1]; memcpy(s, buffer, size); s[size] = 0; |