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 | |
reed@google.com | 57c4957 | 2011-10-31 14:33:35 +0000 | [diff] [blame] | 20 | '../bench/AAClipBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 21 | '../bench/BitmapBench.cpp', |
| 22 | '../bench/BlurBench.cpp', |
tomhudson@google.com | 71dd3e0 | 2011-10-27 13:27:20 +0000 | [diff] [blame] | 23 | '../bench/ChromeBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 24 | '../bench/DecodeBench.cpp', |
reed@google.com | 6e5a45c | 2011-11-02 21:02:57 +0000 | [diff] [blame] | 25 | '../bench/FontScalerBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 26 | '../bench/GradientBench.cpp', |
reed@google.com | b8c3917 | 2012-03-07 12:36:07 +0000 | [diff] [blame] | 27 | '../bench/InterpBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 28 | '../bench/MathBench.cpp', |
| 29 | '../bench/MatrixBench.cpp', |
tomhudson@google.com | 410e9dc | 2011-11-14 17:30:08 +0000 | [diff] [blame] | 30 | '../bench/MutexBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 31 | '../bench/PathBench.cpp', |
djsollen@google.com | 809a2a9 | 2012-02-23 20:57:09 +0000 | [diff] [blame] | 32 | '../bench/PicturePlaybackBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 33 | '../bench/RectBench.cpp', |
| 34 | '../bench/RepeatTileBench.cpp', |
| 35 | '../bench/ScalarBench.cpp', |
reed@google.com | cc58651 | 2011-11-15 15:29:45 +0000 | [diff] [blame] | 36 | '../bench/ShaderMaskBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 37 | '../bench/TextBench.cpp', |
reed@google.com | 05d63ae | 2011-10-28 18:57:32 +0000 | [diff] [blame] | 38 | '../bench/VertBench.cpp', |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 39 | ], |
| 40 | 'conditions': [ |
| 41 | [ 'skia_os != "mac"', { |
| 42 | 'sources!': [ |
| 43 | '../bench/BenchSysTimer_mach.h', |
| 44 | '../bench/BenchSysTimer_mach.cpp', |
| 45 | ], |
| 46 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 47 | [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 48 | 'sources!': [ |
| 49 | '../bench/BenchSysTimer_posix.h', |
| 50 | '../bench/BenchSysTimer_posix.cpp', |
| 51 | ], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 52 | }], |
| 53 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 54 | 'link_settings': { |
| 55 | 'libraries': [ |
| 56 | '-lrt', |
| 57 | ], |
| 58 | }, |
| 59 | }], |
| 60 | [ 'skia_os != "win"', { |
| 61 | 'sources!': [ |
| 62 | '../bench/BenchSysTimer_windows.h', |
| 63 | '../bench/BenchSysTimer_windows.cpp', |
| 64 | ], |
| 65 | }], |
seanpaul@google.com | 1134f98 | 2011-09-15 14:24:33 +0000 | [diff] [blame] | 66 | ], |
| 67 | } |
| 68 | |
| 69 | # Local Variables: |
| 70 | # tab-width:2 |
| 71 | # indent-tabs-mode:nil |
| 72 | # End: |
| 73 | # vim: set expandtab tabstop=2 shiftwidth=2: |