seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 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', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 16 | |
| 17 | '../bench/SkBenchmark.h', |
| 18 | '../bench/SkBenchmark.cpp', |
| 19 | |
| 20 | '../bench/BitmapBench.cpp', |
| 21 | '../bench/BlurBench.cpp', |
tomhudson@google.com | 71dd3e0 | 2011-10-27 13:27:20 +0000 | [diff] [blame^] | 22 | '../bench/ChromeBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 23 | '../bench/DecodeBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 24 | '../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.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 58 | ], |
| 59 | } |
| 60 | |
| 61 | # Local Variables: |
| 62 | # tab-width:2 |
| 63 | # indent-tabs-mode:nil |
| 64 | # End: |
| 65 | # vim: set expandtab tabstop=2 shiftwidth=2: |