aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-04-27 13:37:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 13:37:23 -0700
commit48d6f88479e72efaf9b9d8f9c0769acb1ba773db (patch)
treef18ff1170d5b1ded3c666cd550f58b9a803f026a /tools
parent2f1c42e8448bbbadeb3df1c626faa90aa33f8907 (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=1927583002 DOCS_PREVIEW= https://skia.org/?cl=1927583002 Review-Url: https://codereview.chromium.org/1927583002
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
}