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