OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 { | 5 { |
6 'include_dirs': [ | 6 'include_dirs': [ |
7 '../src/core', | 7 '../src/core', |
8 '../src/effects', | 8 '../src/effects', |
9 '../src/gpu', | 9 '../src/gpu', |
10 '../src/utils', | 10 '../src/utils', |
11 '../tools', | 11 '../tools', |
12 ], | 12 ], |
| 13 'sources': [ '<!@(python find.py ../bench "*.cpp")' ], |
| 14 |
13 'dependencies': [ | 15 'dependencies': [ |
14 'etc1.gyp:libetc1', | 16 'etc1.gyp:libetc1', |
15 'skia_lib.gyp:skia_lib', | 17 'skia_lib.gyp:skia_lib', |
16 'tools.gyp:resources', | 18 'tools.gyp:resources', |
17 'tools.gyp:sk_tool_utils', | 19 'tools.gyp:sk_tool_utils', |
18 ], | 20 ], |
19 'conditions': [ | 21 'conditions': [ |
20 ['skia_gpu == 1', { | 22 ['skia_gpu == 1', { |
21 'include_dirs': [ '../src/gpu' ], | 23 'include_dirs': [ '../src/gpu' ], |
22 'dependencies': [ 'gputest.gyp:skgputest' ], | 24 'dependencies': [ 'gputest.gyp:skgputest' ], |
23 }], | 25 }], |
24 ], | 26 ['not skia_android_framework', { |
25 'sources': [ | 27 'sources!': [ '../bench/nanobenchAndroid.cpp' ], |
26 '../bench/Benchmark.cpp', | 28 }], |
27 '../bench/Benchmark.h', | |
28 | |
29 '../bench/AAClipBench.cpp', | |
30 '../bench/AlternatingColorPatternBench.cpp', | |
31 '../bench/BezierBench.cpp', | |
32 '../bench/BigPathBench.cpp', | |
33 '../bench/BitmapBench.cpp', | |
34 '../bench/BitmapRectBench.cpp', | |
35 '../bench/BitmapScaleBench.cpp', | |
36 '../bench/BlurBench.cpp', | |
37 '../bench/BlurImageFilterBench.cpp', | |
38 '../bench/BlurRectBench.cpp', | |
39 '../bench/BlurRectsBench.cpp', | |
40 '../bench/BlurRoundRectBench.cpp', | |
41 '../bench/ChartBench.cpp', | |
42 '../bench/ChecksumBench.cpp', | |
43 '../bench/ChromeBench.cpp', | |
44 '../bench/CmapBench.cpp', | |
45 '../bench/ColorCubeBench.cpp', | |
46 '../bench/ColorFilterBench.cpp', | |
47 '../bench/ColorPrivBench.cpp', | |
48 '../bench/ControlBench.cpp', | |
49 '../bench/CoverageBench.cpp', | |
50 '../bench/DashBench.cpp', | |
51 '../bench/DeferredSurfaceCopyBench.cpp', | |
52 '../bench/DisplacementBench.cpp', | |
53 '../bench/ETCBitmapBench.cpp', | |
54 '../bench/FSRectBench.cpp', | |
55 '../bench/FontCacheBench.cpp', | |
56 '../bench/FontScalerBench.cpp', | |
57 '../bench/GameBench.cpp', | |
58 '../bench/GeometryBench.cpp', | |
59 '../bench/GrMemoryPoolBench.cpp', | |
60 '../bench/GrResourceCacheBench.cpp', | |
61 '../bench/GrOrderedSetBench.cpp', | |
62 '../bench/GradientBench.cpp', | |
63 '../bench/HairlinePathBench.cpp', | |
64 '../bench/ImageCacheBench.cpp', | |
65 '../bench/ImageFilterDAGBench.cpp', | |
66 '../bench/ImageFilterCollapse.cpp', | |
67 '../bench/InterpBench.cpp', | |
68 '../bench/LightingBench.cpp', | |
69 '../bench/LineBench.cpp', | |
70 '../bench/MagnifierBench.cpp', | |
71 '../bench/MathBench.cpp', | |
72 '../bench/Matrix44Bench.cpp', | |
73 '../bench/MatrixBench.cpp', | |
74 '../bench/MatrixConvolutionBench.cpp', | |
75 '../bench/MemcpyBench.cpp', | |
76 '../bench/MemoryBench.cpp', | |
77 '../bench/MemsetBench.cpp', | |
78 '../bench/MergeBench.cpp', | |
79 '../bench/MipMapBench.cpp', | |
80 '../bench/MorphologyBench.cpp', | |
81 '../bench/MutexBench.cpp', | |
82 '../bench/PMFloatBench.cpp', | |
83 '../bench/PatchBench.cpp', | |
84 '../bench/PatchGridBench.cpp', | |
85 '../bench/PathBench.cpp', | |
86 '../bench/PathIterBench.cpp', | |
87 '../bench/PerlinNoiseBench.cpp', | |
88 '../bench/PictureNestingBench.cpp', | |
89 '../bench/PictureOverheadBench.cpp', | |
90 '../bench/PicturePlaybackBench.cpp', | |
91 '../bench/PremulAndUnpremulAlphaOpsBench.cpp', | |
92 '../bench/RTreeBench.cpp', | |
93 '../bench/ReadPixBench.cpp', | |
94 '../bench/RectBench.cpp', | |
95 '../bench/RectanizerBench.cpp', | |
96 '../bench/RectoriBench.cpp', | |
97 '../bench/RefCntBench.cpp', | |
98 '../bench/RegionBench.cpp', | |
99 '../bench/RegionContainBench.cpp', | |
100 '../bench/RepeatTileBench.cpp', | |
101 '../bench/RotatedRectBench.cpp', | |
102 '../bench/ScalarBench.cpp', | |
103 '../bench/ShaderMaskBench.cpp', | |
104 '../bench/SkipZeroesBench.cpp', | |
105 '../bench/SortBench.cpp', | |
106 '../bench/StrokeBench.cpp', | |
107 '../bench/TableBench.cpp', | |
108 '../bench/TextBench.cpp', | |
109 '../bench/TextBlobBench.cpp', | |
110 '../bench/TileBench.cpp', | |
111 '../bench/VertBench.cpp', | |
112 '../bench/WritePixelsBench.cpp', | |
113 '../bench/WriterBench.cpp', | |
114 '../bench/XfermodeBench.cpp', | |
115 ], | 29 ], |
116 } | 30 } |
OLD | NEW |