blob: b46abc5d72699f901884eda07553ec9b4b116e5d [file] [log] [blame]
seanpaul@google.com1134f982011-09-15 14:24:33 +00001# 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',
seanpaul@google.com1134f982011-09-15 14:24:33 +000016
17 '../bench/SkBenchmark.h',
18 '../bench/SkBenchmark.cpp',
19
20 '../bench/BitmapBench.cpp',
21 '../bench/BlurBench.cpp',
tomhudson@google.com71dd3e02011-10-27 13:27:20 +000022 '../bench/ChromeBench.cpp',
seanpaul@google.com1134f982011-09-15 14:24:33 +000023 '../bench/DecodeBench.cpp',
seanpaul@google.com1134f982011-09-15 14:24:33 +000024 '../bench/GradientBench.cpp',
25 '../bench/MathBench.cpp',
26 '../bench/MatrixBench.cpp',
27 '../bench/PathBench.cpp',
28 '../bench/RectBench.cpp',
29 '../bench/RepeatTileBench.cpp',
30 '../bench/ScalarBench.cpp',
31 '../bench/TextBench.cpp',
32 ],
33 'conditions': [
34 [ 'skia_os != "mac"', {
35 'sources!': [
36 '../bench/BenchSysTimer_mach.h',
37 '../bench/BenchSysTimer_mach.cpp',
38 ],
39 }],
40 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]', {
41 'sources!': [
42 '../bench/BenchSysTimer_posix.h',
43 '../bench/BenchSysTimer_posix.cpp',
44 ],
45 },{
46 'link_settings': {
47 'libraries': [
48 '-lrt',
49 ],
50 },
51 }],
52 [ 'skia_os != "win"', {
53 'sources!': [
54 '../bench/BenchSysTimer_windows.h',
55 '../bench/BenchSysTimer_windows.cpp',
56 ],
57 }],
seanpaul@google.com1134f982011-09-15 14:24:33 +000058 ],
59}
60
61# Local Variables:
62# tab-width:2
63# indent-tabs-mode:nil
64# End:
65# vim: set expandtab tabstop=2 shiftwidth=2: