OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc', | 10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc', |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 # Include generated source files. | 264 # Include generated source files. |
265 '<(builtin_cc_file)', | 265 '<(builtin_cc_file)', |
266 '<(io_cc_file)', | 266 '<(io_cc_file)', |
267 '<(json_cc_file)', | 267 '<(json_cc_file)', |
268 '<(uri_cc_file)', | 268 '<(uri_cc_file)', |
269 '<(utf8_cc_file)', | 269 '<(utf8_cc_file)', |
270 ], | 270 ], |
271 'conditions': [ | 271 'conditions': [ |
272 ['OS=="win"', { | 272 ['OS=="win"', { |
273 'link_settings': { | 273 'link_settings': { |
274 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-llibeay32MT.lib' ], | 274 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
275 }, | 275 }, |
276 }]], | 276 }]], |
277 }, | 277 }, |
278 { | 278 { |
279 # Generate snapshot file. | 279 # Generate snapshot file. |
280 'target_name': 'generate_snapshot_file', | 280 'target_name': 'generate_snapshot_file', |
281 'type': 'none', | 281 'type': 'none', |
282 'conditions': [ | 282 'conditions': [ |
283 ['OS=="win"', { | 283 ['OS=="win"', { |
284 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | 284 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 '..', | 323 '..', |
324 ], | 324 ], |
325 'sources': [ | 325 'sources': [ |
326 'main.cc', | 326 'main.cc', |
327 'builtin_nolib.cc', | 327 'builtin_nolib.cc', |
328 '<(snapshot_cc_file)', | 328 '<(snapshot_cc_file)', |
329 ], | 329 ], |
330 'conditions': [ | 330 'conditions': [ |
331 ['OS=="win"', { | 331 ['OS=="win"', { |
332 'link_settings': { | 332 'link_settings': { |
333 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-llibeay32MT.lib' ], | 333 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
334 }, | 334 }, |
335 }]], | 335 }]], |
336 }, | 336 }, |
337 { | 337 { |
338 # dart binary without any snapshot built in. | 338 # dart binary without any snapshot built in. |
339 'target_name': 'dart_no_snapshot', | 339 'target_name': 'dart_no_snapshot', |
340 'type': 'executable', | 340 'type': 'executable', |
341 'dependencies': [ | 341 'dependencies': [ |
342 'libdart_withcore', | 342 'libdart_withcore', |
343 'libdart_builtin', | 343 'libdart_builtin', |
344 ], | 344 ], |
345 'include_dirs': [ | 345 'include_dirs': [ |
346 '..', | 346 '..', |
347 ], | 347 ], |
348 'sources': [ | 348 'sources': [ |
349 'main.cc', | 349 'main.cc', |
350 'builtin.cc', | 350 'builtin.cc', |
351 # Include generated source files. | 351 # Include generated source files. |
352 '<(builtin_cc_file)', | 352 '<(builtin_cc_file)', |
353 '<(io_cc_file)', | 353 '<(io_cc_file)', |
354 '<(json_cc_file)', | 354 '<(json_cc_file)', |
355 '<(uri_cc_file)', | 355 '<(uri_cc_file)', |
356 '<(utf8_cc_file)', | 356 '<(utf8_cc_file)', |
357 'snapshot_empty.cc', | 357 'snapshot_empty.cc', |
358 ], | 358 ], |
359 'conditions': [ | 359 'conditions': [ |
360 ['OS=="win"', { | 360 ['OS=="win"', { |
361 'link_settings': { | 361 'link_settings': { |
362 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-llibeay32MT.lib' ], | 362 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
363 }, | 363 }, |
364 }]], | 364 }]], |
365 }, | 365 }, |
366 { | 366 { |
367 'target_name': 'process_test', | 367 'target_name': 'process_test', |
368 'type': 'executable', | 368 'type': 'executable', |
369 'sources': [ | 369 'sources': [ |
370 'process_test.cc', | 370 'process_test.cc', |
371 ] | 371 ] |
372 }, | 372 }, |
(...skipping 22 matching lines...) Expand all Loading... |
395 ], | 395 ], |
396 # Only include _test.[cc|h] files. | 396 # Only include _test.[cc|h] files. |
397 'sources/': [ | 397 'sources/': [ |
398 ['exclude', '\\.(cc|h)$'], | 398 ['exclude', '\\.(cc|h)$'], |
399 ['include', '_test\\.(cc|h)$'], | 399 ['include', '_test\\.(cc|h)$'], |
400 ['include', 'run_vm_tests.cc'], | 400 ['include', 'run_vm_tests.cc'], |
401 ], | 401 ], |
402 'conditions': [ | 402 'conditions': [ |
403 ['OS=="win"', { | 403 ['OS=="win"', { |
404 'link_settings': { | 404 'link_settings': { |
405 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-llibeay32MT.lib' ], | 405 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
406 }, | 406 }, |
407 }], | 407 }], |
408 ], | 408 ], |
409 }, | 409 }, |
410 ], | 410 ], |
411 'conditions': [ | 411 'conditions': [ |
412 ['OS=="linux"', { | 412 ['OS=="linux"', { |
413 'targets': [ | 413 'targets': [ |
414 { | 414 { |
415 'target_name': 'test_extension', | 415 'target_name': 'test_extension', |
416 'type': 'shared_library', | 416 'type': 'shared_library', |
417 'dependencies': [ | 417 'dependencies': [ |
418 ], | 418 ], |
419 'include_dirs': [ | 419 'include_dirs': [ |
420 '.', | 420 '.', |
421 ], | 421 ], |
422 'sources': [ | 422 'sources': [ |
423 'test_extension_linux.cc', | 423 'test_extension_linux.cc', |
424 ], | 424 ], |
425 'defines': [ | 425 'defines': [ |
426 'DART_SHARED_LIB', | 426 'DART_SHARED_LIB', |
427 ], | 427 ], |
428 }, | 428 }, |
429 ], | 429 ], |
430 }], | 430 }], |
431 ], | 431 ], |
432 } | 432 } |
433 | 433 |
OLD | NEW |