1 # GYP file to build performance testbench.
5 'apptype_console.gypi',
9 'target_name': 'bench',
12 'skia_lib.gyp:skia_lib',
15 'jsoncpp.gyp:jsoncpp',
18 '../bench/SkBenchLogger.cpp',
19 '../bench/SkBenchLogger.h',
20 '../bench/SkGMBench.cpp',
21 '../bench/SkGMBench.h',
22 '../bench/benchmain.cpp',
23 '../tools/sk_tool_utils.cpp',
32 'gputest.gyp:skgputest',
43 'target_name' : 'bench_timer',
44 'type': 'static_library',
46 '../bench/BenchTimer.h',
47 '../bench/BenchTimer.cpp',
48 '../bench/BenchSysTimer_mach.h',
49 '../bench/BenchSysTimer_mach.cpp',
50 '../bench/BenchSysTimer_posix.h',
51 '../bench/BenchSysTimer_posix.cpp',
52 '../bench/BenchSysTimer_windows.h',
53 '../bench/BenchSysTimer_windows.cpp',
60 'direct_dependent_settings': {
61 'include_dirs': ['../bench'],
64 'skia_lib.gyp:skia_lib',
67 [ 'skia_os not in ["mac", "ios"]', {
69 '../bench/BenchSysTimer_mach.h',
70 '../bench/BenchSysTimer_mach.cpp',
73 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android", "chromeos"]', {
75 '../bench/BenchSysTimer_posix.h',
76 '../bench/BenchSysTimer_posix.cpp',
79 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
86 [ 'skia_os != "win"', {
88 '../bench/BenchSysTimer_windows.h',
89 '../bench/BenchSysTimer_windows.cpp',
94 '../bench/BenchGpuTimer_gl.h',
95 '../bench/BenchGpuTimer_gl.cpp',