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

Side by Side Diff: skia/skia.gyp

Issue 15967010: Add skiaBenchmarking.getOps() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
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': {
11 # We have to nest variables inside variables so that they can be overrid den
nduca 2013/06/11 23:52:13 confused, this wont be always on? If thats the cas
f(malita) 2013/06/12 13:32:37 Alright... was hesitant to go there, yet :) I don'
12 # through GYP_DEFINES.
13 'variables': {
14 'enable_graphics_context_annotations%': 0,
15 },
16
11 'conditions': [ 17 'conditions': [
12 ['OS== "ios"', { 18 ['OS== "ios"', {
13 'skia_support_gpu': 0, 19 'skia_support_gpu': 0,
14 }, { 20 }, {
15 'skia_support_gpu': 1, 21 'skia_support_gpu': 1,
16 }], 22 }],
17 ], 23 ],
18 24
19 'optimize': 'max', 25 'optimize': 'max',
20 26
21 # These two set the paths so we can include skia/gyp/core.gypi 27 # These two set the paths so we can include skia/gyp/core.gypi
22 'skia_src_path': '../third_party/skia/src', 28 'skia_src_path': '../third_party/skia/src',
23 'skia_include_path': '../third_party/skia/include', 29 'skia_include_path': '../third_party/skia/include',
30
31 'enable_graphics_context_annotations%': '<(enable_graphics_context_annot ations)',
24 }, 32 },
25 33
26 'includes': [ 34 'includes': [
27 '../third_party/skia/gyp/core.gypi', 35 '../third_party/skia/gyp/core.gypi',
28 '../third_party/skia/gyp/effects.gypi', 36 '../third_party/skia/gyp/effects.gypi',
29 ], 37 ],
30 38
31 'sources': [ 39 'sources': [
32 # this should likely be moved into src/utils in skia 40 # this should likely be moved into src/utils in skia
33 '../third_party/skia/src/core/SkFlate.cpp', 41 '../third_party/skia/src/core/SkFlate.cpp',
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 #'../third_party/skia/src/ports/SkXMLParser_expat.cpp', 130 #'../third_party/skia/src/ports/SkXMLParser_expat.cpp',
123 #'../third_party/skia/src/ports/SkXMLParser_tinyxml.cpp', 131 #'../third_party/skia/src/ports/SkXMLParser_tinyxml.cpp',
124 #'../third_party/skia/src/ports/SkXMLPullParser_expat.cpp', 132 #'../third_party/skia/src/ports/SkXMLPullParser_expat.cpp',
125 133
126 '../third_party/skia/src/sfnt/SkOTUtils.cpp', 134 '../third_party/skia/src/sfnt/SkOTUtils.cpp',
127 '../third_party/skia/src/sfnt/SkOTUtils.h', 135 '../third_party/skia/src/sfnt/SkOTUtils.h',
128 136
129 '../third_party/skia/include/utils/mac/SkCGUtils.h', 137 '../third_party/skia/include/utils/mac/SkCGUtils.h',
130 '../third_party/skia/include/utils/SkDeferredCanvas.h', 138 '../third_party/skia/include/utils/SkDeferredCanvas.h',
131 '../third_party/skia/include/utils/SkMatrix44.h', 139 '../third_party/skia/include/utils/SkMatrix44.h',
140 '../third_party/skia/src/utils/debugger/SkDebugCanvas.cpp',
141 '../third_party/skia/src/utils/debugger/SkDebugCanvas.h',
142 '../third_party/skia/src/utils/debugger/SkDrawCommand.cpp',
143 '../third_party/skia/src/utils/debugger/SkDrawCommand.h',
144 '../third_party/skia/src/utils/debugger/SkObjectParser.cpp',
145 '../third_party/skia/src/utils/debugger/SkObjectParser.h',
132 '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp', 146 '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp',
133 '../third_party/skia/src/utils/SkBase64.cpp', 147 '../third_party/skia/src/utils/SkBase64.cpp',
134 '../third_party/skia/src/utils/SkBase64.h', 148 '../third_party/skia/src/utils/SkBase64.h',
135 '../third_party/skia/src/utils/SkBitSet.cpp', 149 '../third_party/skia/src/utils/SkBitSet.cpp',
136 '../third_party/skia/src/utils/SkBitSet.h', 150 '../third_party/skia/src/utils/SkBitSet.h',
137 '../third_party/skia/src/utils/SkDeferredCanvas.cpp', 151 '../third_party/skia/src/utils/SkDeferredCanvas.cpp',
138 '../third_party/skia/src/utils/SkMatrix44.cpp', 152 '../third_party/skia/src/utils/SkMatrix44.cpp',
139 '../third_party/skia/src/utils/SkNullCanvas.cpp', 153 '../third_party/skia/src/utils/SkNullCanvas.cpp',
140 '../third_party/skia/include/utils/SkNWayCanvas.h', 154 '../third_party/skia/include/utils/SkNWayCanvas.h',
141 '../third_party/skia/src/utils/SkNWayCanvas.cpp', 155 '../third_party/skia/src/utils/SkNWayCanvas.cpp',
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 'xcode_settings': { 555 'xcode_settings': {
542 'WARNING_CFLAGS!': [ 556 'WARNING_CFLAGS!': [
543 # Don't warn about string->bool used in asserts. 557 # Don't warn about string->bool used in asserts.
544 '-Wstring-conversion', 558 '-Wstring-conversion',
545 ], 559 ],
546 }, 560 },
547 'cflags!': [ 561 'cflags!': [
548 '-Wstring-conversion', 562 '-Wstring-conversion',
549 ], 563 ],
550 }], 564 }],
565 ['enable_graphics_context_annotations == 1', {
566 'defines': [
567 # Enable pretty-printing of certain Skia structures.
568 'SK_DEVELOPER',
nduca 2013/06/11 23:52:13 what implications does this have?
f(malita) 2013/06/12 13:32:37 It mostly enables toString methods on some Skia ty
569 ],
570 }],
551 ], 571 ],
552 'dependencies': [ 572 'dependencies': [
553 'skia_opts', 573 'skia_opts',
554 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 574 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
555 '../third_party/sfntly/sfntly.gyp:sfntly', 575 '../third_party/sfntly/sfntly.gyp:sfntly',
556 '../third_party/zlib/zlib.gyp:zlib', 576 '../third_party/zlib/zlib.gyp:zlib',
557 ], 577 ],
558 'direct_dependent_settings': { 578 'direct_dependent_settings': {
559 'include_dirs': [ 579 'include_dirs': [
560 'config', 580 'config',
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 'sources': [ 864 'sources': [
845 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', 865 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp',
846 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 866 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
847 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', 867 '../third_party/skia/src/opts/SkUtils_opts_none.cpp',
848 ], 868 ],
849 }, 869 },
850 ], 870 ],
851 }], 871 }],
852 ], 872 ],
853 } 873 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698