epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # GYP file to build various tools. |
| 2 | # |
| 3 | # To build on Linux: |
| 4 | # ./gyp_skia tools.gyp && make tools |
| 5 | # |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 6 | { |
| 7 | 'includes': [ |
| 8 | 'apptype_console.gypi', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 9 | ], |
| 10 | 'targets': [ |
| 11 | { |
| 12 | # Build all executable targets defined below. |
| 13 | 'target_name': 'tools', |
| 14 | 'type': 'none', |
| 15 | 'dependencies': [ |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 16 | 'bbh_shootout', |
edisonn@google.com | 8ba9a83 | 2013-01-18 18:06:22 +0000 | [diff] [blame] | 17 | 'bench_pictures', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 18 | 'dump_record', |
edisonn@google.com | 8ba9a83 | 2013-01-18 18:06:22 +0000 | [diff] [blame] | 19 | 'filter', |
commit-bot@chromium.org | fe78847 | 2014-04-28 13:19:34 +0000 | [diff] [blame] | 20 | 'gpuveto', |
commit-bot@chromium.org | 5ccdf01 | 2014-01-02 18:51:38 +0000 | [diff] [blame] | 21 | 'lua_app', |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 22 | 'lua_pictures', |
edisonn@google.com | 8ba9a83 | 2013-01-18 18:06:22 +0000 | [diff] [blame] | 23 | 'pinspect', |
| 24 | 'render_pdfs', |
| 25 | 'render_pictures', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 26 | 'skdiff', |
commit-bot@chromium.org | 5ccdf01 | 2014-01-02 18:51:38 +0000 | [diff] [blame] | 27 | 'skhello', |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 28 | 'skpdiff', |
commit-bot@chromium.org | 6f4fb0f | 2014-03-03 19:18:39 +0000 | [diff] [blame] | 29 | 'skpinfo', |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 30 | 'skpmaker', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 31 | 'skimage', |
halcanary@google.com | fed3037 | 2013-10-04 12:46:45 +0000 | [diff] [blame] | 32 | 'test_image_decoder', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 33 | ], |
zachr@google.com | 28c27c8 | 2013-06-20 17:15:05 +0000 | [diff] [blame] | 34 | 'conditions': [ |
| 35 | ['skia_shared_lib', |
| 36 | { |
| 37 | 'dependencies': [ |
| 38 | 'sklua', # This can only be built if skia is built as a shared library |
| 39 | ], |
| 40 | }, |
| 41 | ], |
| 42 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 43 | }, |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 44 | { # This would go in gm.gyp, but it's also used by skimage below. |
| 45 | 'target_name': 'gm_expectations', |
| 46 | 'type': 'static_library', |
| 47 | 'include_dirs' : [ '../src/utils/' ], |
| 48 | 'sources': [ |
| 49 | '../gm/gm_expectations.cpp', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 50 | ], |
| 51 | 'dependencies': [ |
| 52 | 'jsoncpp.gyp:jsoncpp', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 53 | 'sk_tool_utils', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 54 | 'skia_lib.gyp:skia_lib', |
| 55 | ], |
| 56 | 'direct_dependent_settings': { |
| 57 | 'include_dirs': [ '../gm/' ], |
| 58 | }, |
| 59 | }, |
| 60 | { |
| 61 | 'target_name': 'crash_handler', |
| 62 | 'type': 'static_library', |
| 63 | 'sources': [ '../tools/CrashHandler.cpp' ], |
| 64 | 'dependencies': [ 'skia_lib.gyp:skia_lib' ], |
| 65 | 'direct_dependent_settings': { |
| 66 | 'include_dirs': [ '../tools' ], |
| 67 | }, |
| 68 | 'all_dependent_settings': { |
| 69 | 'msvs_settings': { |
| 70 | 'VCLinkerTool': { |
| 71 | 'AdditionalDependencies': [ 'Dbghelp.lib' ], |
| 72 | } |
| 73 | }, |
| 74 | } |
| 75 | }, |
| 76 | { |
| 77 | 'target_name': 'resources', |
| 78 | 'type': 'static_library', |
| 79 | 'sources': [ '../tools/Resources.cpp' ], |
| 80 | 'dependencies': [ |
| 81 | 'flags.gyp:flags', |
| 82 | 'skia_lib.gyp:skia_lib', |
| 83 | ], |
| 84 | 'direct_dependent_settings': { |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 85 | 'include_dirs': [ '../tools', ], |
| 86 | }, |
| 87 | }, |
| 88 | { |
| 89 | 'target_name': 'sk_tool_utils', |
| 90 | 'type': 'static_library', |
caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame] | 91 | 'sources': [ |
| 92 | '../tools/sk_tool_utils.cpp', |
| 93 | '../tools/sk_tool_utils_font.cpp', |
| 94 | ], |
Cary Clark | 992c7b0 | 2014-07-31 08:58:44 -0400 | [diff] [blame] | 95 | 'include_dirs': [ |
| 96 | '../src/fonts', |
| 97 | ], |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 98 | 'dependencies': [ |
mtklein | ada972d | 2014-07-31 08:31:56 -0700 | [diff] [blame] | 99 | 'resources', |
Cary Clark | 992c7b0 | 2014-07-31 08:58:44 -0400 | [diff] [blame] | 100 | 'flags.gyp:flags', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 101 | 'skia_lib.gyp:skia_lib', |
| 102 | ], |
| 103 | 'direct_dependent_settings': { |
| 104 | 'include_dirs': [ '../tools', ], |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 105 | }, |
| 106 | }, |
| 107 | { |
| 108 | 'target_name' : 'timer', |
| 109 | 'type': 'static_library', |
| 110 | 'sources': [ |
| 111 | '../tools/timer/Timer.cpp', |
| 112 | '../tools/timer/TimerData.cpp', |
| 113 | ], |
| 114 | 'include_dirs': [ |
| 115 | '../src/core', |
| 116 | '../src/gpu', |
| 117 | ], |
| 118 | 'direct_dependent_settings': { |
| 119 | 'include_dirs': ['../tools/timer'], |
| 120 | }, |
| 121 | 'dependencies': [ |
| 122 | 'skia_lib.gyp:skia_lib', |
| 123 | 'jsoncpp.gyp:jsoncpp', |
| 124 | ], |
| 125 | 'conditions': [ |
| 126 | ['skia_gpu == 1', { |
| 127 | 'sources': [ '../tools/timer/GpuTimer.cpp' ], |
| 128 | }], |
| 129 | [ 'skia_os in ["mac", "ios"]', { |
| 130 | 'sources': [ '../tools/timer/SysTimer_mach.cpp' ], |
| 131 | }], |
| 132 | [ 'skia_os == "win"', { |
| 133 | 'sources': [ '../tools/timer/SysTimer_windows.cpp' ], |
| 134 | }], |
| 135 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android", "chromeos"]', { |
| 136 | 'sources': [ '../tools/timer/SysTimer_posix.cpp' ], |
| 137 | }], |
| 138 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
| 139 | 'link_settings': { 'libraries': [ '-lrt' ] }, |
| 140 | }], |
| 141 | ], |
| 142 | }, |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 143 | { |
| 144 | 'target_name': 'skdiff', |
| 145 | 'type': 'executable', |
| 146 | 'sources': [ |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 147 | '../tools/skdiff.cpp', |
| 148 | '../tools/skdiff.h', |
| 149 | '../tools/skdiff_html.cpp', |
| 150 | '../tools/skdiff_html.h', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 151 | '../tools/skdiff_main.cpp', |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 152 | '../tools/skdiff_utils.cpp', |
| 153 | '../tools/skdiff_utils.h', |
| 154 | ], |
| 155 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 156 | 'skia_lib.gyp:skia_lib', |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 157 | ], |
| 158 | }, |
| 159 | { |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 160 | 'target_name': 'skpdiff', |
| 161 | 'type': 'executable', |
| 162 | 'sources': [ |
| 163 | '../tools/skpdiff/skpdiff_main.cpp', |
| 164 | '../tools/skpdiff/SkDiffContext.cpp', |
| 165 | '../tools/skpdiff/SkImageDiffer.cpp', |
| 166 | '../tools/skpdiff/SkPMetric.cpp', |
| 167 | '../tools/skpdiff/skpdiff_util.cpp', |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 168 | ], |
| 169 | 'include_dirs': [ |
djsollen@google.com | efc51b7 | 2013-11-12 18:29:17 +0000 | [diff] [blame] | 170 | '../src/core/', # needed for SkTLList.h |
stephana | 21b342d | 2014-08-13 10:36:06 -0700 | [diff] [blame] | 171 | '../tools/', # needed for picture_utils::replace_char |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 172 | ], |
| 173 | 'dependencies': [ |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 174 | 'flags.gyp:flags', |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 175 | 'skia_lib.gyp:skia_lib', |
stephana | 21b342d | 2014-08-13 10:36:06 -0700 | [diff] [blame] | 176 | 'tools.gyp:picture_utils', |
zachr@google.com | 5b3e2b9 | 2013-07-22 18:46:45 +0000 | [diff] [blame] | 177 | ], |
| 178 | 'cflags': [ |
| 179 | '-O3', |
| 180 | ], |
| 181 | 'conditions': [ |
| 182 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
| 183 | 'link_settings': { |
| 184 | 'libraries': [ |
| 185 | '-lrt', |
| 186 | ], |
| 187 | }, |
| 188 | }], |
| 189 | ['skia_opencl', { |
| 190 | 'sources': [ |
| 191 | '../tools/skpdiff/SkCLImageDiffer.cpp', |
| 192 | '../tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp', |
| 193 | ], |
| 194 | 'conditions': [ |
| 195 | [ 'skia_os == "mac"', { |
| 196 | 'link_settings': { |
| 197 | 'libraries': [ |
| 198 | '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework', |
| 199 | ] |
| 200 | } |
| 201 | }, { |
| 202 | 'link_settings': { |
| 203 | 'libraries': [ |
| 204 | '-lOpenCL', |
| 205 | ], |
| 206 | }, |
| 207 | }], |
| 208 | ], |
| 209 | }, { # !skia_opencl |
| 210 | 'sources': [ |
| 211 | '../tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp', |
| 212 | ], |
| 213 | }], |
| 214 | ], |
| 215 | }, |
| 216 | { |
commit-bot@chromium.org | c735598 | 2014-01-02 19:42:15 +0000 | [diff] [blame] | 217 | 'target_name': 'skpmaker', |
| 218 | 'type': 'executable', |
| 219 | 'sources': [ |
| 220 | '../tools/skpmaker.cpp', |
| 221 | ], |
| 222 | 'include_dirs': [ |
| 223 | '../src/core', |
| 224 | ], |
| 225 | 'dependencies': [ |
| 226 | 'flags.gyp:flags', |
| 227 | 'skia_lib.gyp:skia_lib', |
| 228 | ], |
| 229 | }, |
| 230 | { |
bungeman@google.com | e3c8ddf | 2012-12-05 20:13:12 +0000 | [diff] [blame] | 231 | 'target_name': 'skimagediff', |
| 232 | 'type': 'executable', |
| 233 | 'sources': [ |
| 234 | '../tools/skdiff.cpp', |
| 235 | '../tools/skdiff.h', |
| 236 | '../tools/skdiff_html.cpp', |
| 237 | '../tools/skdiff_html.h', |
| 238 | '../tools/skdiff_image.cpp', |
| 239 | '../tools/skdiff_utils.cpp', |
| 240 | '../tools/skdiff_utils.h', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 241 | ], |
| 242 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 243 | 'skia_lib.gyp:skia_lib', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 244 | ], |
| 245 | }, |
| 246 | { |
| 247 | 'target_name': 'skhello', |
| 248 | 'type': 'executable', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 249 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 250 | 'skia_lib.gyp:skia_lib', |
borenet@google.com | bb52288 | 2013-06-17 15:39:43 +0000 | [diff] [blame] | 251 | ], |
| 252 | 'conditions': [ |
| 253 | [ 'skia_os == "nacl"', { |
| 254 | 'sources': [ |
| 255 | '../platform_tools/nacl/src/nacl_hello.cpp', |
| 256 | ], |
| 257 | }, { |
| 258 | 'sources': [ |
| 259 | '../tools/skhello.cpp', |
| 260 | ], |
| 261 | 'dependencies': [ |
borenet@google.com | bb52288 | 2013-06-17 15:39:43 +0000 | [diff] [blame] | 262 | 'flags.gyp:flags', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 263 | 'pdf.gyp:pdf', |
borenet@google.com | bb52288 | 2013-06-17 15:39:43 +0000 | [diff] [blame] | 264 | ], |
| 265 | }], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 266 | ], |
| 267 | }, |
| 268 | { |
| 269 | 'target_name': 'skimage', |
| 270 | 'type': 'executable', |
| 271 | 'sources': [ |
| 272 | '../tools/skimage_main.cpp', |
| 273 | ], |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 274 | 'include_dirs': [ |
| 275 | # For SkBitmapHasher.h |
| 276 | '../src/utils/', |
caryclark | 5fb6bd4 | 2014-06-23 11:25:00 -0700 | [diff] [blame] | 277 | '../tools/', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 278 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 279 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 280 | 'gm_expectations', |
scroggo@google.com | b41ff95 | 2013-04-11 15:53:35 +0000 | [diff] [blame] | 281 | 'flags.gyp:flags', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 282 | 'jsoncpp.gyp:jsoncpp', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 283 | 'skia_lib.gyp:skia_lib', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 284 | ], |
| 285 | }, |
commit-bot@chromium.org | 6f4fb0f | 2014-03-03 19:18:39 +0000 | [diff] [blame] | 286 | { |
| 287 | 'target_name': 'skpinfo', |
| 288 | 'type': 'executable', |
| 289 | 'sources': [ |
| 290 | '../tools/skpinfo.cpp', |
| 291 | ], |
| 292 | 'include_dirs': [ |
commit-bot@chromium.org | 6f4fb0f | 2014-03-03 19:18:39 +0000 | [diff] [blame] | 293 | '../src/core/', |
| 294 | ], |
| 295 | 'dependencies': [ |
| 296 | 'flags.gyp:flags', |
| 297 | 'skia_lib.gyp:skia_lib', |
| 298 | ], |
| 299 | }, |
commit-bot@chromium.org | fe78847 | 2014-04-28 13:19:34 +0000 | [diff] [blame] | 300 | { |
| 301 | 'target_name': 'gpuveto', |
| 302 | 'type': 'executable', |
| 303 | 'sources': [ |
| 304 | '../tools/gpuveto.cpp', |
| 305 | '../tools/LazyDecodeBitmap.cpp', |
| 306 | ], |
| 307 | 'include_dirs': [ |
| 308 | '../src/core/', |
| 309 | '../src/images', |
| 310 | '../src/lazy', |
commit-bot@chromium.org | fe78847 | 2014-04-28 13:19:34 +0000 | [diff] [blame] | 311 | ], |
| 312 | 'dependencies': [ |
| 313 | 'flags.gyp:flags', |
| 314 | 'skia_lib.gyp:skia_lib', |
| 315 | ], |
| 316 | }, |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 317 | { |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 318 | 'target_name': 'lua_app', |
| 319 | 'type': 'executable', |
| 320 | 'sources': [ |
| 321 | '../tools/lua/lua_app.cpp', |
| 322 | '../src/utils/SkLua.cpp', |
| 323 | ], |
bsalomon@google.com | 4ebe382 | 2014-02-26 20:22:32 +0000 | [diff] [blame] | 324 | 'include_dirs': [ |
| 325 | # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 326 | '../src/gpu/', |
| 327 | '../src/core/', |
| 328 | ], |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 329 | 'dependencies': [ |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 330 | 'effects.gyp:effects', |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 331 | 'images.gyp:images', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 332 | 'lua.gyp:lua', |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 333 | 'pdf.gyp:pdf', |
| 334 | 'ports.gyp:ports', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 335 | 'skia_lib.gyp:skia_lib', |
mike@reedtribe.org | 73d9f1c | 2013-06-09 01:54:56 +0000 | [diff] [blame] | 336 | ], |
| 337 | }, |
| 338 | { |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 339 | 'target_name': 'lua_pictures', |
| 340 | 'type': 'executable', |
| 341 | 'sources': [ |
| 342 | '../tools/lua/lua_pictures.cpp', |
| 343 | '../src/utils/SkLuaCanvas.cpp', |
reed@google.com | 74ce6f0 | 2013-05-22 15:13:18 +0000 | [diff] [blame] | 344 | '../src/utils/SkLua.cpp', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 345 | ], |
bsalomon@google.com | 4ebe382 | 2014-02-26 20:22:32 +0000 | [diff] [blame] | 346 | 'include_dirs': [ |
| 347 | # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 348 | '../src/gpu/', |
| 349 | '../src/core/', |
| 350 | ], |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 351 | 'dependencies': [ |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 352 | 'effects.gyp:effects', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 353 | 'flags.gyp:flags', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 354 | 'images.gyp:images', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 355 | 'lua.gyp:lua', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 356 | 'tools.gyp:picture_renderer', |
| 357 | 'tools.gyp:picture_utils', |
mike@reedtribe.org | fb85824 | 2013-06-08 16:39:44 +0000 | [diff] [blame] | 358 | 'pdf.gyp:pdf', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 359 | 'ports.gyp:ports', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 360 | 'skia_lib.gyp:skia_lib', |
reed@google.com | dff7e11 | 2013-05-15 19:34:20 +0000 | [diff] [blame] | 361 | ], |
| 362 | }, |
| 363 | { |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 364 | 'target_name': 'render_pictures', |
| 365 | 'type': 'executable', |
| 366 | 'sources': [ |
| 367 | '../tools/render_pictures_main.cpp', |
keyar@chromium.org | a2333d9 | 2012-07-16 17:29:16 +0000 | [diff] [blame] | 368 | ], |
| 369 | 'include_dirs': [ |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 370 | '../src/core', |
| 371 | '../src/images', |
| 372 | '../src/lazy', |
keyar@chromium.org | a2333d9 | 2012-07-16 17:29:16 +0000 | [diff] [blame] | 373 | '../src/pipe/utils/', |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 374 | ], |
| 375 | 'dependencies': [ |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 376 | 'flags.gyp:flags', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 377 | 'skia_lib.gyp:skia_lib', |
keyar@chromium.org | 163b567 | 2012-08-01 17:53:29 +0000 | [diff] [blame] | 378 | 'tools.gyp:picture_renderer', |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 379 | 'tools.gyp:picture_utils', |
| 380 | ], |
| 381 | }, |
| 382 | { |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 383 | 'target_name': 'bench_pictures', |
| 384 | 'type': 'executable', |
| 385 | 'sources': [ |
tfarina | f168b86 | 2014-06-19 12:32:29 -0700 | [diff] [blame] | 386 | '../bench/BenchLogger.cpp', |
| 387 | '../bench/BenchLogger.h', |
commit-bot@chromium.org | 37c772a | 2014-05-29 17:10:24 +0000 | [diff] [blame] | 388 | '../tools/PictureBenchmark.cpp', |
| 389 | '../tools/PictureResultsWriter.h', |
keyar@chromium.org | cf6c44c | 2012-07-09 19:37:40 +0000 | [diff] [blame] | 390 | '../tools/bench_pictures_main.cpp', |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 391 | ], |
| 392 | 'include_dirs': [ |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 393 | '../src/core/', |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 394 | '../bench', |
scroggo@google.com | cc69020 | 2013-03-04 19:56:21 +0000 | [diff] [blame] | 395 | '../src/lazy/', |
reed@google.com | 006db0f | 2012-06-27 19:33:29 +0000 | [diff] [blame] | 396 | ], |
| 397 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 398 | 'timer', |
| 399 | 'crash_handler', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 400 | 'flags.gyp:flags', |
commit-bot@chromium.org | 37c772a | 2014-05-29 17:10:24 +0000 | [diff] [blame] | 401 | 'jsoncpp.gyp:jsoncpp', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 402 | 'skia_lib.gyp:skia_lib', |
keyar@chromium.org | 163b567 | 2012-08-01 17:53:29 +0000 | [diff] [blame] | 403 | 'tools.gyp:picture_renderer', |
mtklein | 30e6e2a | 2014-06-18 11:44:15 -0700 | [diff] [blame] | 404 | 'tools.gyp:picture_utils', |
scroggo@google.com | 9a41252 | 2012-09-07 15:21:18 +0000 | [diff] [blame] | 405 | ], |
scroggo | 3eb258d | 2014-07-17 06:58:28 -0700 | [diff] [blame] | 406 | 'conditions': [ |
| 407 | ['skia_android_framework == 1', { |
| 408 | 'libraries': [ '-lskia' ], |
| 409 | }], |
| 410 | ], |
keyar@chromium.org | 163b567 | 2012-08-01 17:53:29 +0000 | [diff] [blame] | 411 | }, |
| 412 | { |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 413 | 'target_name': 'dump_record', |
| 414 | 'type': 'executable', |
| 415 | 'sources': [ |
| 416 | '../tools/dump_record.cpp', |
commit-bot@chromium.org | 85fd193 | 2014-05-15 16:10:37 +0000 | [diff] [blame] | 417 | '../tools/DumpRecord.cpp', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 418 | '../tools/LazyDecodeBitmap.cpp', |
| 419 | ], |
| 420 | 'include_dirs': [ |
| 421 | '../src/core/', |
| 422 | '../src/images', |
| 423 | '../src/lazy', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 424 | ], |
| 425 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 426 | 'timer', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 427 | 'flags.gyp:flags', |
commit-bot@chromium.org | 545a21a | 2014-05-06 19:45:18 +0000 | [diff] [blame] | 428 | 'skia_lib.gyp:skia_lib', |
| 429 | ], |
| 430 | }, |
| 431 | { |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 432 | 'target_name': 'picture_renderer', |
| 433 | 'type': 'static_library', |
| 434 | 'sources': [ |
commit-bot@chromium.org | 90c0fbd | 2014-05-09 03:18:41 +0000 | [diff] [blame] | 435 | '../tools/image_expectations.h', |
| 436 | '../tools/image_expectations.cpp', |
commit-bot@chromium.org | 56799e2 | 2013-07-16 18:21:46 +0000 | [diff] [blame] | 437 | '../tools/LazyDecodeBitmap.cpp', |
scroggo@google.com | 4a26d9d | 2012-11-07 18:01:46 +0000 | [diff] [blame] | 438 | '../tools/PictureRenderer.h', |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 439 | '../tools/PictureRenderer.cpp', |
scroggo@google.com | 161e1ba | 2013-03-04 16:41:06 +0000 | [diff] [blame] | 440 | '../tools/PictureRenderingFlags.h', |
| 441 | '../tools/PictureRenderingFlags.cpp', |
scroggo@google.com | 4a26d9d | 2012-11-07 18:01:46 +0000 | [diff] [blame] | 442 | '../tools/CopyTilesRenderer.h', |
| 443 | '../tools/CopyTilesRenderer.cpp', |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 444 | '../src/pipe/utils/SamplePipeControllers.h', |
| 445 | '../src/pipe/utils/SamplePipeControllers.cpp', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 446 | ], |
| 447 | 'include_dirs': [ |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 448 | '../src/core', |
| 449 | '../src/images', |
| 450 | '../src/lazy', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 451 | '../src/pipe/utils/', |
| 452 | '../src/utils/', |
| 453 | ], |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 454 | 'direct_dependent_settings': { |
| 455 | 'include_dirs': [ |
commit-bot@chromium.org | 90c0fbd | 2014-05-09 03:18:41 +0000 | [diff] [blame] | 456 | # needed for JSON headers used within image_expectations.h |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 457 | '../third_party/externals/jsoncpp-chromium/overrides/include/', |
| 458 | '../third_party/externals/jsoncpp/include/', |
| 459 | ], |
| 460 | }, |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 461 | 'dependencies': [ |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 462 | 'flags.gyp:flags', |
| 463 | 'jsoncpp.gyp:jsoncpp', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 464 | 'skia_lib.gyp:skia_lib', |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 465 | 'tools.gyp:picture_utils', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 466 | ], |
robertphillips@google.com | fe1b536 | 2013-02-07 19:45:46 +0000 | [diff] [blame] | 467 | 'conditions': [ |
| 468 | ['skia_gpu == 1', |
| 469 | { |
| 470 | 'include_dirs' : [ |
| 471 | '../src/gpu', |
| 472 | ], |
robertphillips@google.com | 94d8f1e | 2013-12-18 17:25:33 +0000 | [diff] [blame] | 473 | 'dependencies': [ |
| 474 | 'gputest.gyp:skgputest', |
| 475 | ], |
robertphillips@google.com | fe1b536 | 2013-02-07 19:45:46 +0000 | [diff] [blame] | 476 | }, |
| 477 | ], |
| 478 | ], |
keyar@chromium.org | 451bb9f | 2012-07-26 17:27:57 +0000 | [diff] [blame] | 479 | }, |
| 480 | { |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 481 | 'target_name': 'render_pdfs', |
| 482 | 'type': 'executable', |
| 483 | 'sources': [ |
| 484 | '../tools/render_pdfs_main.cpp', |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 485 | ], |
| 486 | 'include_dirs': [ |
halcanary | 0bef17a | 2014-08-07 07:24:47 -0700 | [diff] [blame] | 487 | '../src/core', |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 488 | '../src/pipe/utils/', |
| 489 | '../src/utils/', |
| 490 | ], |
| 491 | 'dependencies': [ |
halcanary | 0bef17a | 2014-08-07 07:24:47 -0700 | [diff] [blame] | 492 | 'flags.gyp:flags', |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 493 | 'pdf.gyp:pdf', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 494 | 'skia_lib.gyp:skia_lib', |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 495 | 'tools.gyp:picture_utils', |
mtklein | afb4379 | 2014-08-19 15:55:55 -0700 | [diff] [blame] | 496 | 'tools.gyp:proc_stats', |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 497 | ], |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 498 | 'conditions': [ |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 499 | ['skia_win_debuggers_path and skia_os == "win"', |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 500 | { |
| 501 | 'dependencies': [ |
| 502 | 'tools.gyp:win_dbghelp', |
| 503 | ], |
| 504 | }, |
| 505 | ], |
| 506 | # VS static libraries don't have a linker option. We must set a global |
| 507 | # project linker option, or add it to each executable. |
| 508 | ['skia_win_debuggers_path and skia_os == "win" and ' |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 509 | 'skia_arch_width == 64', |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 510 | { |
| 511 | 'msvs_settings': { |
| 512 | 'VCLinkerTool': { |
| 513 | 'AdditionalDependencies': [ |
| 514 | '<(skia_win_debuggers_path)/x64/DbgHelp.lib', |
| 515 | ], |
| 516 | }, |
| 517 | }, |
| 518 | }, |
| 519 | ], |
| 520 | ['skia_win_debuggers_path and skia_os == "win" and ' |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 521 | 'skia_arch_width == 32', |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 522 | { |
| 523 | 'msvs_settings': { |
| 524 | 'VCLinkerTool': { |
| 525 | 'AdditionalDependencies': [ |
| 526 | '<(skia_win_debuggers_path)/DbgHelp.lib', |
| 527 | ], |
| 528 | }, |
| 529 | }, |
| 530 | }, |
| 531 | ], |
| 532 | ], |
edisonn@google.com | c319abe | 2012-11-01 19:52:38 +0000 | [diff] [blame] | 533 | }, |
| 534 | { |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 535 | 'target_name': 'picture_utils', |
| 536 | 'type': 'static_library', |
| 537 | 'sources': [ |
| 538 | '../tools/picture_utils.cpp', |
borenet@google.com | e21795e | 2012-09-14 14:34:28 +0000 | [diff] [blame] | 539 | '../tools/picture_utils.h', |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 540 | ], |
| 541 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 542 | 'skia_lib.gyp:skia_lib', |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 543 | ], |
reed@google.com | e52d291 | 2013-05-15 20:01:07 +0000 | [diff] [blame] | 544 | 'direct_dependent_settings': { |
| 545 | 'include_dirs': [ |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 546 | '../tools/', |
reed@google.com | e52d291 | 2013-05-15 20:01:07 +0000 | [diff] [blame] | 547 | ], |
| 548 | }, |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 549 | }, |
reed@google.com | 1bdf7fe | 2012-06-14 18:58:40 +0000 | [diff] [blame] | 550 | { |
| 551 | 'target_name': 'pinspect', |
| 552 | 'type': 'executable', |
| 553 | 'sources': [ |
| 554 | '../tools/pinspect.cpp', |
| 555 | ], |
| 556 | 'dependencies': [ |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 557 | 'flags.gyp:flags', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 558 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | 826ec81 | 2013-06-12 18:28:36 +0000 | [diff] [blame] | 559 | 'tools.gyp:picture_renderer', |
reed@google.com | 1bdf7fe | 2012-06-14 18:58:40 +0000 | [diff] [blame] | 560 | ], |
| 561 | }, |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 562 | { |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 563 | 'target_name': 'bbh_shootout', |
| 564 | 'type': 'executable', |
| 565 | 'include_dirs': [ |
| 566 | '../bench', |
| 567 | '../tools/' |
| 568 | ], |
| 569 | 'sources': [ |
| 570 | '../tools/bbh_shootout.cpp', |
| 571 | |
| 572 | # Bench code: |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 573 | ], |
| 574 | 'dependencies': [ |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 575 | 'timer', |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 576 | 'flags.gyp:flags', |
commit-bot@chromium.org | a3f882c | 2013-12-13 20:52:36 +0000 | [diff] [blame] | 577 | 'skia_lib.gyp:skia_lib', |
| 578 | 'tools.gyp:picture_renderer', |
| 579 | 'tools.gyp:picture_utils', |
commit-bot@chromium.org | 6645cde | 2013-07-19 18:54:04 +0000 | [diff] [blame] | 580 | ], |
| 581 | }, |
| 582 | { |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 583 | 'target_name': 'filter', |
| 584 | 'type': 'executable', |
| 585 | 'include_dirs' : [ |
| 586 | '../src/core', |
fmalita@google.com | 4df1673 | 2013-06-13 21:25:45 +0000 | [diff] [blame] | 587 | '../src/utils/debugger', |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 588 | ], |
| 589 | 'sources': [ |
| 590 | '../tools/filtermain.cpp', |
fmalita@google.com | 86681b3 | 2013-06-13 20:59:14 +0000 | [diff] [blame] | 591 | '../src/utils/debugger/SkDrawCommand.h', |
| 592 | '../src/utils/debugger/SkDrawCommand.cpp', |
| 593 | '../src/utils/debugger/SkDebugCanvas.h', |
| 594 | '../src/utils/debugger/SkDebugCanvas.cpp', |
| 595 | '../src/utils/debugger/SkObjectParser.h', |
| 596 | '../src/utils/debugger/SkObjectParser.cpp', |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 597 | ], |
| 598 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 599 | 'skia_lib.gyp:skia_lib', |
djsollen@google.com | a09e883 | 2012-11-13 18:50:33 +0000 | [diff] [blame] | 600 | 'tools.gyp:picture_utils', |
robertphillips@google.com | c7e4a5a | 2012-10-04 13:00:33 +0000 | [diff] [blame] | 601 | ], |
| 602 | }, |
halcanary@google.com | fed3037 | 2013-10-04 12:46:45 +0000 | [diff] [blame] | 603 | { |
| 604 | 'target_name': 'test_image_decoder', |
| 605 | 'type': 'executable', |
| 606 | 'sources': [ |
| 607 | '../tools/test_image_decoder.cpp', |
| 608 | ], |
| 609 | 'dependencies': [ |
| 610 | 'skia_lib.gyp:skia_lib', |
| 611 | ], |
| 612 | }, |
halcanary | 0d154ee | 2014-08-11 11:33:51 -0700 | [diff] [blame] | 613 | { |
mtklein | afb4379 | 2014-08-19 15:55:55 -0700 | [diff] [blame] | 614 | 'target_name': 'proc_stats', |
halcanary | 0d154ee | 2014-08-11 11:33:51 -0700 | [diff] [blame] | 615 | 'type': 'static_library', |
| 616 | 'sources': [ |
| 617 | '../tools/ProcStats.h', |
| 618 | '../tools/ProcStats.cpp', |
| 619 | ], |
| 620 | 'direct_dependent_settings': { |
| 621 | 'include_dirs': [ '../tools', ], |
| 622 | }, |
| 623 | }, |
edisonn@google.com | 8819d1a | 2013-03-08 18:43:35 +0000 | [diff] [blame] | 624 | ], |
| 625 | 'conditions': [ |
zachr@google.com | 28c27c8 | 2013-06-20 17:15:05 +0000 | [diff] [blame] | 626 | ['skia_shared_lib', |
| 627 | { |
| 628 | 'targets': [ |
| 629 | { |
| 630 | 'target_name': 'sklua', |
| 631 | 'product_name': 'skia', |
| 632 | 'product_prefix': '', |
| 633 | 'product_dir': '<(PRODUCT_DIR)/', |
| 634 | 'type': 'shared_library', |
| 635 | 'sources': [ |
| 636 | '../src/utils/SkLuaCanvas.cpp', |
| 637 | '../src/utils/SkLua.cpp', |
| 638 | ], |
| 639 | 'include_dirs': [ |
bsalomon@google.com | 4ebe382 | 2014-02-26 20:22:32 +0000 | [diff] [blame] | 640 | # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 641 | '../src/gpu/', |
| 642 | '../src/core/', |
zachr@google.com | 28c27c8 | 2013-06-20 17:15:05 +0000 | [diff] [blame] | 643 | '../third_party/lua/src/', |
| 644 | ], |
| 645 | 'dependencies': [ |
| 646 | 'lua.gyp:lua', |
| 647 | 'pdf.gyp:pdf', |
| 648 | 'skia_lib.gyp:skia_lib', |
| 649 | ], |
| 650 | 'conditions': [ |
| 651 | ['skia_os != "win"', |
| 652 | { |
| 653 | 'ldflags': [ |
| 654 | '-Wl,-rpath,\$$ORIGIN,--enable-new-dtags', |
| 655 | ], |
| 656 | }, |
| 657 | ], |
| 658 | ], |
| 659 | }, |
| 660 | ], |
| 661 | }, |
| 662 | ], |
borenet@google.com | 2d137b6 | 2013-03-08 23:13:33 +0000 | [diff] [blame] | 663 | ['skia_win_debuggers_path and skia_os == "win"', |
edisonn@google.com | 8819d1a | 2013-03-08 18:43:35 +0000 | [diff] [blame] | 664 | { |
| 665 | 'targets': [ |
| 666 | { |
| 667 | 'target_name': 'win_dbghelp', |
| 668 | 'type': 'static_library', |
| 669 | 'defines': [ |
| 670 | 'SK_CDB_PATH="<(skia_win_debuggers_path)"', |
| 671 | ], |
| 672 | 'sources': [ |
| 673 | '../tools/win_dbghelp.h', |
| 674 | '../tools/win_dbghelp.cpp', |
| 675 | ], |
| 676 | }, |
| 677 | ], |
| 678 | }, |
| 679 | ], |
bungeman@google.com | 07a69f8 | 2013-04-02 14:12:38 +0000 | [diff] [blame] | 680 | ['skia_os == "win"', |
| 681 | { |
| 682 | 'targets': [ |
| 683 | { |
| 684 | 'target_name': 'win_lcid', |
| 685 | 'type': 'executable', |
| 686 | 'sources': [ |
| 687 | '../tools/win_lcid.cpp', |
| 688 | ], |
| 689 | }, |
| 690 | ], |
| 691 | }, |
| 692 | ], |
Cary Clark | 992c7b0 | 2014-07-31 08:58:44 -0400 | [diff] [blame] | 693 | ['skia_os == "mac"', |
| 694 | { |
| 695 | 'targets': [ |
| 696 | { |
| 697 | 'target_name': 'create_test_font', |
| 698 | 'type': 'executable', |
| 699 | 'sources': [ |
| 700 | '../tools/create_test_font.cpp', |
| 701 | ], |
| 702 | 'include_dirs': [ |
| 703 | '../src/core', |
| 704 | ], |
| 705 | 'dependencies': [ |
| 706 | 'flags.gyp:flags', |
| 707 | 'skia_lib.gyp:skia_lib', |
| 708 | 'resources', |
| 709 | ], |
| 710 | }, |
| 711 | ], |
| 712 | }, |
| 713 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 714 | ], |
| 715 | } |