1# sources and conditions used in skia's bench.gyp and chromium's skia.gyp
2#
3{
4  'sources': [
5    '../bench/benchmain.cpp',
6    '../bench/BenchTimer.h',
7    '../bench/BenchTimer.cpp',
8    '../bench/BenchSysTimer_mach.h',
9    '../bench/BenchSysTimer_mach.cpp',
10    '../bench/BenchSysTimer_posix.h',
11    '../bench/BenchSysTimer_posix.cpp',
12    '../bench/BenchSysTimer_windows.h',
13    '../bench/BenchSysTimer_windows.cpp',
14    '../bench/BenchGpuTimer_gl.h',
15    '../bench/BenchGpuTimer_gl.cpp',
16
17    '../bench/SkBenchmark.h',
18    '../bench/SkBenchmark.cpp',
19
20    '../bench/AAClipBench.cpp',
21    '../bench/BitmapBench.cpp',
22    '../bench/BlurBench.cpp',
23    '../bench/ChromeBench.cpp',
24    '../bench/DecodeBench.cpp',
25    '../bench/FontScalerBench.cpp',
26    '../bench/GradientBench.cpp',
27    '../bench/MathBench.cpp',
28    '../bench/MatrixBench.cpp',
29    '../bench/MutexBench.cpp',
30    '../bench/PathBench.cpp',
31    '../bench/PicturePlaybackBench.cpp',
32    '../bench/RectBench.cpp',
33    '../bench/RepeatTileBench.cpp',
34    '../bench/ScalarBench.cpp',
35    '../bench/ShaderMaskBench.cpp',
36    '../bench/TextBench.cpp',
37    '../bench/VertBench.cpp',
38  ],
39  'conditions': [
40    [ 'skia_os != "mac"', {
41      'sources!': [
42        '../bench/BenchSysTimer_mach.h',
43        '../bench/BenchSysTimer_mach.cpp',
44      ],
45    }],
46    [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', {
47      'sources!': [
48        '../bench/BenchSysTimer_posix.h',
49        '../bench/BenchSysTimer_posix.cpp',
50      ],
51    }],
52    [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
53      'link_settings': {
54        'libraries': [
55          '-lrt',
56        ],
57      },
58    }],
59    [ 'skia_os != "win"', {
60      'sources!': [
61        '../bench/BenchSysTimer_windows.h',
62        '../bench/BenchSysTimer_windows.cpp',
63      ],
64    }],
65  ],
66}
67
68# Local Variables:
69# tab-width:2
70# indent-tabs-mode:nil
71# End:
72# vim: set expandtab tabstop=2 shiftwidth=2:
73