aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-04-29 06:41:35 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-29 06:41:35 -0700
commitefe46d20949efbc59bedd1f28e6f42a0dd069688 (patch)
treeebeb5c3fac4bd4c26f55c3fd6f417fd2c65f7ec9 /tools
parentfe635fd76bbc375d527d1884af23cc617ca364ee (diff)
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=1931903002 DOCS_PREVIEW= https://skia.org/?cl=1931903002 Review-Url: https://codereview.chromium.org/1931903002
Diffstat (limited to 'tools')
-rw-r--r--tools/pinspect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pinspect.cpp b/tools/pinspect.cpp
index 57aaf1e722..4dfabcdca4 100644
--- a/tools/pinspect.cpp
+++ b/tools/pinspect.cpp
@@ -45,12 +45,12 @@ static sk_sp<SkPicture> inspect(const char path[]) {
}
static void dumpOps(SkPicture* pic) {
-#ifdef SK_DEVELOPER
+#ifdef SK_DEBUG
SkDebugfDumper dumper;
SkDumpCanvas canvas(&dumper);
canvas.drawPicture(pic);
#else
- printf("SK_DEVELOPER mode not enabled\n");
+ printf("SK_DEBUG mode not enabled\n");
#endif
}