Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Unified Diff: skia/skia.gyp

Issue 9965037: Adding build-time option to enable the tracing of skia events in (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/skia_trace_shim.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/skia.gyp
===================================================================
--- skia/skia.gyp (revision 129170)
+++ skia/skia.gyp (working copy)
@@ -721,6 +721,7 @@
'ext/SkMemory_new_handler.cpp',
'ext/skia_sandbox_support_win.h',
'ext/skia_sandbox_support_win.cc',
+ 'ext/skia_trace_shim.h',
'ext/skia_utils_mac.mm',
'ext/skia_utils_mac.h',
'ext/skia_utils_win.cc',
@@ -759,6 +760,12 @@
'SK_DISABLE_FAST_AA_STROKE_RECT',
'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)',
+ # tracing of skia events is disabled by default. To enable
+ # tracing for your build, comment-out the line
+ # #undef SK_USER_TRACE_INCLUDE_FILE
+ # in file config/SkUserConfig.h
+ 'SK_USER_TRACE_INCLUDE_FILE="skia/ext/skia_trace_shim.h"',
senorblanco 2012/04/02 20:49:12 I'd prefer to do this all in one place, not in two
+
# temporary for landing Skia rev 3077 with minimal layout test breakage
'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS',
« no previous file with comments | « skia/ext/skia_trace_shim.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698