OLD | NEW |
1 # GYP file to build performance testbench. | 1 # GYP file to build performance testbench. |
2 # | 2 # |
3 { | 3 { |
4 'includes': [ | 4 'includes': [ |
5 'apptype_console.gypi', | 5 'apptype_console.gypi', |
6 ], | 6 ], |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'bench', | 9 'target_name': 'bench', |
10 'type': 'executable', | 10 'type': 'executable', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'sources': [ | 45 'sources': [ |
46 '../bench/BenchTimer.h', | 46 '../bench/BenchTimer.h', |
47 '../bench/BenchTimer.cpp', | 47 '../bench/BenchTimer.cpp', |
48 '../bench/BenchSysTimer_mach.h', | 48 '../bench/BenchSysTimer_mach.h', |
49 '../bench/BenchSysTimer_mach.cpp', | 49 '../bench/BenchSysTimer_mach.cpp', |
50 '../bench/BenchSysTimer_posix.h', | 50 '../bench/BenchSysTimer_posix.h', |
51 '../bench/BenchSysTimer_posix.cpp', | 51 '../bench/BenchSysTimer_posix.cpp', |
52 '../bench/BenchSysTimer_windows.h', | 52 '../bench/BenchSysTimer_windows.h', |
53 '../bench/BenchSysTimer_windows.cpp', | 53 '../bench/BenchSysTimer_windows.cpp', |
54 ], | 54 ], |
55 'include_dirs': [ | 55 'include_dirs': [ |
56 '../src/core', | 56 '../src/core', |
57 '../src/gpu', | 57 '../src/gpu', |
58 '../tools', | 58 '../tools', |
59 ], | 59 ], |
| 60 'direct_dependent_settings': { |
| 61 'include_dirs': ['../bench'], |
| 62 }, |
60 'dependencies': [ | 63 'dependencies': [ |
61 'skia_lib.gyp:skia_lib', | 64 'skia_lib.gyp:skia_lib', |
62 ], | 65 ], |
63 'conditions': [ | 66 'conditions': [ |
64 [ 'skia_os not in ["mac", "ios"]', { | 67 [ 'skia_os not in ["mac", "ios"]', { |
65 'sources!': [ | 68 'sources!': [ |
66 '../bench/BenchSysTimer_mach.h', | 69 '../bench/BenchSysTimer_mach.h', |
67 '../bench/BenchSysTimer_mach.cpp', | 70 '../bench/BenchSysTimer_mach.cpp', |
68 ], | 71 ], |
69 }], | 72 }], |
(...skipping 19 matching lines...) Expand all Loading... |
89 ['skia_gpu == 1', { | 92 ['skia_gpu == 1', { |
90 'sources': [ | 93 'sources': [ |
91 '../bench/BenchGpuTimer_gl.h', | 94 '../bench/BenchGpuTimer_gl.h', |
92 '../bench/BenchGpuTimer_gl.cpp', | 95 '../bench/BenchGpuTimer_gl.cpp', |
93 ], | 96 ], |
94 }], | 97 }], |
95 ], | 98 ], |
96 } | 99 } |
97 ], | 100 ], |
98 } | 101 } |
OLD | NEW |