OLD | NEW |
1 # GYP file to build performance testbench. | 1 # GYP file to build performance testbench. |
2 # | 2 # |
3 { | 3 { |
4 'includes': [ | 4 'includes': [ |
5 'apptype_console.gypi', | 5 'apptype_console.gypi', |
6 ], | 6 ], |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'bench', | 9 'target_name': 'bench', |
10 'type': 'executable', | 10 'type': 'executable', |
11 'include_dirs' : [ | |
12 '../src/core', | |
13 '../src/effects', | |
14 '../src/utils', | |
15 ], | |
16 'dependencies': [ | 11 'dependencies': [ |
17 'skia_lib.gyp:skia_lib', | 12 'skia_lib.gyp:skia_lib', |
18 'bench_timer', | 13 'bench_timer', |
19 'flags.gyp:flags', | 14 'flags.gyp:flags', |
20 'jsoncpp.gyp:jsoncpp', | 15 'jsoncpp.gyp:jsoncpp', |
21 ], | 16 ], |
22 'sources': [ | 17 'sources': [ |
23 '../bench/AAClipBench.cpp', | |
24 '../bench/BicubicBench.cpp', | |
25 '../bench/BitmapBench.cpp', | |
26 '../bench/BitmapRectBench.cpp', | |
27 '../bench/BitmapScaleBench.cpp', | |
28 '../bench/BlurBench.cpp', | |
29 '../bench/BlurImageFilterBench.cpp', | |
30 '../bench/BlurRectBench.cpp', | |
31 '../bench/BlurRoundRectBench.cpp', | |
32 '../bench/ChartBench.cpp', | |
33 '../bench/ChecksumBench.cpp', | |
34 '../bench/ChromeBench.cpp', | |
35 '../bench/CmapBench.cpp', | |
36 '../bench/ColorFilterBench.cpp', | |
37 '../bench/ColorPrivBench.cpp', | |
38 '../bench/CoverageBench.cpp', | |
39 '../bench/DashBench.cpp', | |
40 '../bench/DecodeBench.cpp', | |
41 '../bench/DeferredCanvasBench.cpp', | |
42 '../bench/DeferredSurfaceCopyBench.cpp', | |
43 '../bench/DisplacementBench.cpp', | |
44 '../bench/FSRectBench.cpp', | |
45 '../bench/FontCacheBench.cpp', | |
46 '../bench/FontScalerBench.cpp', | |
47 '../bench/GameBench.cpp', | |
48 '../bench/GrMemoryPoolBench.cpp', | |
49 '../bench/GrResourceCacheBench.cpp', | |
50 '../bench/GradientBench.cpp', | |
51 '../bench/HairlinePathBench.cpp', | |
52 '../bench/ImageCacheBench.cpp', | |
53 '../bench/ImageDecodeBench.cpp', | |
54 '../bench/InterpBench.cpp', | |
55 '../bench/LightingBench.cpp', | |
56 '../bench/LineBench.cpp', | |
57 '../bench/MagnifierBench.cpp', | |
58 '../bench/MathBench.cpp', | |
59 '../bench/Matrix44Bench.cpp', | |
60 '../bench/MatrixBench.cpp', | |
61 '../bench/MatrixConvolutionBench.cpp', | |
62 '../bench/MemoryBench.cpp', | |
63 '../bench/MemsetBench.cpp', | |
64 '../bench/MergeBench.cpp', | |
65 '../bench/MorphologyBench.cpp', | |
66 '../bench/MutexBench.cpp', | |
67 '../bench/PathBench.cpp', | |
68 '../bench/PathIterBench.cpp', | |
69 '../bench/PathUtilsBench.cpp', | |
70 '../bench/PerlinNoiseBench.cpp', | |
71 '../bench/PicturePlaybackBench.cpp', | |
72 '../bench/PictureRecordBench.cpp', | |
73 '../bench/PremulAndUnpremulAlphaOpsBench.cpp', | |
74 '../bench/QuadTreeBench.cpp', | |
75 '../bench/RTreeBench.cpp', | |
76 '../bench/ReadPixBench.cpp', | |
77 '../bench/RectBench.cpp', | |
78 '../bench/RectoriBench.cpp', | |
79 '../bench/RefCntBench.cpp', | |
80 '../bench/RegionBench.cpp', | |
81 '../bench/RegionContainBench.cpp', | |
82 '../bench/RepeatTileBench.cpp', | |
83 '../bench/ScalarBench.cpp', | |
84 '../bench/ShaderMaskBench.cpp', | |
85 '../bench/SkipZeroesBench.cpp', | |
86 '../bench/SortBench.cpp', | |
87 '../bench/StackBench.cpp', | |
88 '../bench/StrokeBench.cpp', | |
89 '../bench/TableBench.cpp', | |
90 '../bench/TextBench.cpp', | |
91 '../bench/TileBench.cpp', | |
92 '../bench/VertBench.cpp', | |
93 '../bench/WritePixelsBench.cpp', | |
94 '../bench/WriterBench.cpp', | |
95 '../bench/XfermodeBench.cpp', | |
96 | |
97 '../bench/SkBenchLogger.cpp', | 18 '../bench/SkBenchLogger.cpp', |
98 '../bench/SkBenchLogger.h', | 19 '../bench/SkBenchLogger.h', |
99 '../bench/SkBenchmark.cpp', | |
100 '../bench/SkBenchmark.h', | |
101 '../bench/SkGMBench.cpp', | 20 '../bench/SkGMBench.cpp', |
102 '../bench/SkGMBench.h', | 21 '../bench/SkGMBench.h', |
103 | |
104 '../bench/benchmain.cpp', | 22 '../bench/benchmain.cpp', |
105 ], | 23 ], |
106 'conditions': [ | 24 'conditions': [ |
107 ['skia_gpu == 1', | 25 ['skia_gpu == 1', |
108 { | 26 { |
109 'include_dirs' : [ | 27 'include_dirs' : [ |
110 '../src/gpu', | 28 '../src/gpu', |
111 ], | 29 ], |
112 'dependencies': [ | 30 'dependencies': [ |
113 'gputest.gyp:skgputest', | 31 'gputest.gyp:skgputest', |
114 ], | 32 ], |
115 }, | 33 }, |
116 ], | 34 ], |
117 ], | 35 ], |
118 'includes': [ | 36 'includes': [ |
| 37 'bench.gypi', |
119 'gmslides.gypi', | 38 'gmslides.gypi', |
120 ], | 39 ], |
121 }, | 40 }, |
122 { | 41 { |
123 'target_name' : 'bench_timer', | 42 'target_name' : 'bench_timer', |
124 'type': 'static_library', | 43 'type': 'static_library', |
125 'sources': [ | 44 'sources': [ |
126 '../bench/BenchTimer.h', | 45 '../bench/BenchTimer.h', |
127 '../bench/BenchTimer.cpp', | 46 '../bench/BenchTimer.cpp', |
128 '../bench/BenchSysTimer_mach.h', | 47 '../bench/BenchSysTimer_mach.h', |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 ['skia_gpu == 1', { | 87 ['skia_gpu == 1', { |
169 'sources': [ | 88 'sources': [ |
170 '../bench/BenchGpuTimer_gl.h', | 89 '../bench/BenchGpuTimer_gl.h', |
171 '../bench/BenchGpuTimer_gl.cpp', | 90 '../bench/BenchGpuTimer_gl.cpp', |
172 ], | 91 ], |
173 }], | 92 }], |
174 ], | 93 ], |
175 } | 94 } |
176 ], | 95 ], |
177 } | 96 } |
OLD | NEW |