diff options
Diffstat (limited to 'gyp/bench.gyp')
-rw-r--r-- | gyp/bench.gyp | 69 |
1 files changed, 2 insertions, 67 deletions
diff --git a/gyp/bench.gyp b/gyp/bench.gyp index bae46f8d60..73472a57a0 100644 --- a/gyp/bench.gyp +++ b/gyp/bench.gyp @@ -9,36 +9,8 @@ { 'target_name': 'bench', 'type': 'executable', - 'sources': [ - '../bench/benchmain.cpp', - '../bench/BenchTimer.h', - '../bench/BenchTimer.cpp', - '../bench/BenchSysTimer_mach.h', - '../bench/BenchSysTimer_mach.cpp', - '../bench/BenchSysTimer_posix.h', - '../bench/BenchSysTimer_posix.cpp', - '../bench/BenchSysTimer_windows.h', - '../bench/BenchSysTimer_windows.cpp', - '../bench/BenchGpuTimer_gl.h', - '../bench/BenchGpuTimer_gl.cpp', - '../bench/BenchGpuTimer_none.h', - '../bench/BenchGpuTimer_none.cpp', - - '../bench/SkBenchmark.h', - '../bench/SkBenchmark.cpp', - - '../bench/BitmapBench.cpp', - '../bench/BlurBench.cpp', - '../bench/DecodeBench.cpp', - '../bench/FPSBench.cpp', - '../bench/GradientBench.cpp', - '../bench/MathBench.cpp', - '../bench/MatrixBench.cpp', - '../bench/PathBench.cpp', - '../bench/RectBench.cpp', - '../bench/RepeatTileBench.cpp', - '../bench/ScalarBench.cpp', - '../bench/TextBench.cpp', + 'includes': [ + 'bench.gypi' ], 'dependencies': [ 'core.gyp:core', @@ -48,43 +20,6 @@ 'images.gyp:images', 'utils.gyp:utils', ], - 'conditions': [ - [ 'skia_os != "mac"', { - 'sources!': [ - '../bench/BenchSysTimer_mach.h', - '../bench/BenchSysTimer_mach.cpp', - ], - }], - [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris"]', { - 'sources!': [ - '../bench/BenchSysTimer_posix.h', - '../bench/BenchSysTimer_posix.cpp', - ], - },{ - 'link_settings': { - 'libraries': [ - '-lrt', - ], - }, - }], - [ 'skia_os != "win"', { - 'sources!': [ - '../bench/BenchSysTimer_windows.h', - '../bench/BenchSysTimer_windows.cpp', - ], - }], - [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris"]', { - 'sources!': [ - '../bench/BenchGpuTimer_none.h', - '../bench/BenchGpuTimer_none.cpp', - ], - },{ - 'sources!': [ - '../bench/BenchGpuTimer_gl.h', - '../bench/BenchGpuTimer_gl.cpp', - ], - }], - ], }, ], } |