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

Side by Side 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, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « skia/ext/skia_trace_shim.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'skia', 8 'target_name': 'skia',
9 'type': '<(component)', 9 'type': '<(component)',
10 'variables': { 10 'variables': {
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 'ext/platform_canvas_skia.cc', 714 'ext/platform_canvas_skia.cc',
715 'ext/platform_canvas_win.cc', 715 'ext/platform_canvas_win.cc',
716 'ext/platform_device.cc', 716 'ext/platform_device.cc',
717 'ext/platform_device.h', 717 'ext/platform_device.h',
718 'ext/platform_device_linux.cc', 718 'ext/platform_device_linux.cc',
719 'ext/platform_device_mac.cc', 719 'ext/platform_device_mac.cc',
720 'ext/platform_device_win.cc', 720 'ext/platform_device_win.cc',
721 'ext/SkMemory_new_handler.cpp', 721 'ext/SkMemory_new_handler.cpp',
722 'ext/skia_sandbox_support_win.h', 722 'ext/skia_sandbox_support_win.h',
723 'ext/skia_sandbox_support_win.cc', 723 'ext/skia_sandbox_support_win.cc',
724 'ext/skia_trace_shim.h',
724 'ext/skia_utils_mac.mm', 725 'ext/skia_utils_mac.mm',
725 'ext/skia_utils_mac.h', 726 'ext/skia_utils_mac.h',
726 'ext/skia_utils_win.cc', 727 'ext/skia_utils_win.cc',
727 'ext/skia_utils_win.h', 728 'ext/skia_utils_win.h',
728 'ext/vector_canvas.cc', 729 'ext/vector_canvas.cc',
729 'ext/vector_canvas.h', 730 'ext/vector_canvas.h',
730 'ext/vector_platform_device_emf_win.cc', 731 'ext/vector_platform_device_emf_win.cc',
731 'ext/vector_platform_device_emf_win.h', 732 'ext/vector_platform_device_emf_win.h',
732 'ext/vector_platform_device_skia.cc', 733 'ext/vector_platform_device_skia.cc',
733 'ext/vector_platform_device_skia.h', 734 'ext/vector_platform_device_skia.h',
(...skipping 18 matching lines...) Expand all
752 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram eworks', 753 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram eworks',
753 ], 754 ],
754 'defines': [ 755 'defines': [
755 'SK_BUILD_NO_IMAGE_ENCODE', 756 'SK_BUILD_NO_IMAGE_ENCODE',
756 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', 757 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
757 'GR_STATIC_RECT_VB=1', 758 'GR_STATIC_RECT_VB=1',
758 'GR_AGGRESSIVE_SHADER_OPTS=1', 759 'GR_AGGRESSIVE_SHADER_OPTS=1',
759 'SK_DISABLE_FAST_AA_STROKE_RECT', 760 'SK_DISABLE_FAST_AA_STROKE_RECT',
760 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', 761 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)',
761 762
763 # tracing of skia events is disabled by default. To enable
764 # tracing for your build, comment-out the line
765 # #undef SK_USER_TRACE_INCLUDE_FILE
766 # in file config/SkUserConfig.h
767 '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
768
762 # temporary for landing Skia rev 3077 with minimal layout test breakage 769 # temporary for landing Skia rev 3077 with minimal layout test breakage
763 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', 770 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS',
764 771
765 # skia uses static initializers to initialize the serialization logic 772 # skia uses static initializers to initialize the serialization logic
766 # of its "pictures" library. This is currently not used in chrome; if 773 # of its "pictures" library. This is currently not used in chrome; if
767 # it ever gets used the processes that use it need to call 774 # it ever gets used the processes that use it need to call
768 # SkGraphics::Init(). 775 # SkGraphics::Init().
769 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', 776 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0',
770 777
771 # Temporarily disable the Skia fix in 778 # Temporarily disable the Skia fix in
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 ], 1256 ],
1250 'include_dirs': [ 1257 'include_dirs': [
1251 '..', 1258 '..',
1252 ], 1259 ],
1253 'sources': [ 1260 'sources': [
1254 'ext/image_operations_bench.cc', 1261 'ext/image_operations_bench.cc',
1255 ], 1262 ],
1256 }, 1263 },
1257 ], 1264 ],
1258 } 1265 }
OLDNEW
« 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