From efe46d20949efbc59bedd1f28e6f42a0dd069688 Mon Sep 17 00:00:00 2001 From: djsollen Date: Fri, 29 Apr 2016 06:41:35 -0700 Subject: 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 --- tools/pinspect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 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 } -- cgit v1.2.3