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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'dependencies': [ | 50 'dependencies': [ |
51 'skia_lib.gyp:skia_lib', | 51 'skia_lib.gyp:skia_lib', |
52 ], | 52 ], |
53 'conditions': [ | 53 'conditions': [ |
54 [ 'skia_os not in ["mac", "ios"]', { | 54 [ 'skia_os not in ["mac", "ios"]', { |
55 'sources!': [ | 55 'sources!': [ |
56 '../bench/BenchSysTimer_mach.h', | 56 '../bench/BenchSysTimer_mach.h', |
57 '../bench/BenchSysTimer_mach.cpp', | 57 '../bench/BenchSysTimer_mach.cpp', |
58 ], | 58 ], |
59 }], | 59 }], |
60 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]'
, { | 60 [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android",
"chromeos"]', { |
61 'sources!': [ | 61 'sources!': [ |
62 '../bench/BenchSysTimer_posix.h', | 62 '../bench/BenchSysTimer_posix.h', |
63 '../bench/BenchSysTimer_posix.cpp', | 63 '../bench/BenchSysTimer_posix.cpp', |
64 ], | 64 ], |
65 }], | 65 }], |
66 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { | 66 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
67 'link_settings': { | 67 'link_settings': { |
68 'libraries': [ | 68 'libraries': [ |
69 '-lrt', | 69 '-lrt', |
70 ], | 70 ], |
71 }, | 71 }, |
72 }], | 72 }], |
73 [ 'skia_os != "win"', { | 73 [ 'skia_os != "win"', { |
74 'sources!': [ | 74 'sources!': [ |
75 '../bench/BenchSysTimer_windows.h', | 75 '../bench/BenchSysTimer_windows.h', |
76 '../bench/BenchSysTimer_windows.cpp', | 76 '../bench/BenchSysTimer_windows.cpp', |
77 ], | 77 ], |
78 }], | 78 }], |
79 ['skia_gpu == 1', { | 79 ['skia_gpu == 1', { |
80 'sources': [ | 80 'sources': [ |
81 '../bench/BenchGpuTimer_gl.h', | 81 '../bench/BenchGpuTimer_gl.h', |
82 '../bench/BenchGpuTimer_gl.cpp', | 82 '../bench/BenchGpuTimer_gl.cpp', |
83 ], | 83 ], |
84 }], | 84 }], |
85 ], | 85 ], |
86 } | 86 } |
87 ], | 87 ], |
88 } | 88 } |
89 | 89 |
90 # Local Variables: | 90 # Local Variables: |
91 # tab-width:2 | 91 # tab-width:2 |
92 # indent-tabs-mode:nil | 92 # indent-tabs-mode:nil |
93 # End: | 93 # End: |
94 # vim: set expandtab tabstop=2 shiftwidth=2: | 94 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |