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', |
11 'include_dirs' : [ | 11 'include_dirs' : [ |
12 '../src/core', | 12 '../src/core', |
13 '../src/effects', | 13 '../src/effects', |
14 '../src/utils', | 14 '../src/utils', |
15 ], | 15 ], |
16 'includes': [ | 16 'includes': [ |
17 'bench.gypi' | 17 'bench.gypi' |
18 ], | 18 ], |
19 'dependencies': [ | 19 'dependencies': [ |
20 'skia_base_libs.gyp:skia_base_libs', | 20 'skia_lib.gyp:skia_lib', |
21 'effects.gyp:effects', | |
22 'images.gyp:images', | |
23 'bench_timer', | 21 'bench_timer', |
24 ], | 22 ], |
25 'conditions': [ | 23 'conditions': [ |
26 ['skia_gpu == 1', | 24 ['skia_gpu == 1', |
27 { | 25 { |
28 'include_dirs' : [ | 26 'include_dirs' : [ |
29 '../src/gpu', | 27 '../src/gpu', |
30 ], | 28 ], |
31 }, | 29 }, |
32 ], | 30 ], |
(...skipping 10 matching lines...) Expand all Loading... |
43 '../bench/BenchSysTimer_posix.h', | 41 '../bench/BenchSysTimer_posix.h', |
44 '../bench/BenchSysTimer_posix.cpp', | 42 '../bench/BenchSysTimer_posix.cpp', |
45 '../bench/BenchSysTimer_windows.h', | 43 '../bench/BenchSysTimer_windows.h', |
46 '../bench/BenchSysTimer_windows.cpp', | 44 '../bench/BenchSysTimer_windows.cpp', |
47 ], | 45 ], |
48 'include_dirs': [ | 46 'include_dirs': [ |
49 '../src/core', | 47 '../src/core', |
50 '../src/gpu', | 48 '../src/gpu', |
51 ], | 49 ], |
52 'dependencies': [ | 50 'dependencies': [ |
53 'skia_base_libs.gyp:skia_base_libs', | 51 'skia_lib.gyp:skia_lib', |
54 ], | 52 ], |
55 'conditions': [ | 53 'conditions': [ |
56 [ 'skia_os not in ["mac", "ios"]', { | 54 [ 'skia_os not in ["mac", "ios"]', { |
57 'sources!': [ | 55 'sources!': [ |
58 '../bench/BenchSysTimer_mach.h', | 56 '../bench/BenchSysTimer_mach.h', |
59 '../bench/BenchSysTimer_mach.cpp', | 57 '../bench/BenchSysTimer_mach.cpp', |
60 ], | 58 ], |
61 }], | 59 }], |
62 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]'
, { | 60 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]'
, { |
63 'sources!': [ | 61 'sources!': [ |
(...skipping 23 matching lines...) Expand all Loading... |
87 ], | 85 ], |
88 } | 86 } |
89 ], | 87 ], |
90 } | 88 } |
91 | 89 |
92 # Local Variables: | 90 # Local Variables: |
93 # tab-width:2 | 91 # tab-width:2 |
94 # indent-tabs-mode:nil | 92 # indent-tabs-mode:nil |
95 # End: | 93 # End: |
96 # vim: set expandtab tabstop=2 shiftwidth=2: | 94 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |