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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', | 9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', |
10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 'builtin_natives.cc', | 268 'builtin_natives.cc', |
269 'builtin.h', | 269 'builtin.h', |
270 ], | 270 ], |
271 'includes': [ | 271 'includes': [ |
272 'builtin_impl_sources.gypi', | 272 'builtin_impl_sources.gypi', |
273 '../platform/platform_sources.gypi', | 273 '../platform/platform_sources.gypi', |
274 ], | 274 ], |
275 'sources/': [ | 275 'sources/': [ |
276 ['exclude', '_test\\.(cc|h)$'], | 276 ['exclude', '_test\\.(cc|h)$'], |
277 ], | 277 ], |
| 278 'defines': [ |
| 279 'NSS_USE_STATIC_LIBS=1', |
| 280 ], |
278 'conditions': [ | 281 'conditions': [ |
279 ['OS=="win"', { | 282 ['OS=="win"', { |
280 'sources/' : [ | 283 'sources/' : [ |
281 ['exclude', 'fdutils.h'], | 284 ['exclude', 'fdutils.h'], |
282 ], | 285 ], |
283 # TODO(antonm): fix the implementation. | 286 # TODO(antonm): fix the implementation. |
284 # Current implementation accepts char* strings | 287 # Current implementation accepts char* strings |
285 # and therefore fails to compile once _UNICODE is | 288 # and therefore fails to compile once _UNICODE is |
286 # enabled. That should be addressed using -A | 289 # enabled. That should be addressed using -A |
287 # versions of functions and adding necessary conversions. | 290 # versions of functions and adding necessary conversions. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 '<(crypto_cc_file)', | 345 '<(crypto_cc_file)', |
343 '<(io_cc_file)', | 346 '<(io_cc_file)', |
344 '<(io_patch_cc_file)', | 347 '<(io_patch_cc_file)', |
345 '<(json_cc_file)', | 348 '<(json_cc_file)', |
346 '<(uri_cc_file)', | 349 '<(uri_cc_file)', |
347 '<(utf_cc_file)', | 350 '<(utf_cc_file)', |
348 ], | 351 ], |
349 'conditions': [ | 352 'conditions': [ |
350 ['OS=="win"', { | 353 ['OS=="win"', { |
351 'link_settings': { | 354 'link_settings': { |
352 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 355 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
353 }, | 356 }, |
354 }]], | 357 }]], |
355 }, | 358 }, |
356 { | 359 { |
357 # Generate snapshot bin file. | 360 # Generate snapshot bin file. |
358 'target_name': 'generate_snapshot_bin', | 361 'target_name': 'generate_snapshot_bin', |
359 'type': 'none', | 362 'type': 'none', |
360 'dependencies': [ | 363 'dependencies': [ |
361 'gen_snapshot', | 364 'gen_snapshot', |
362 ], | 365 ], |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 '..', | 427 '..', |
425 ], | 428 ], |
426 'sources': [ | 429 'sources': [ |
427 'main.cc', | 430 'main.cc', |
428 'builtin_nolib.cc', | 431 'builtin_nolib.cc', |
429 '<(snapshot_cc_file)', | 432 '<(snapshot_cc_file)', |
430 ], | 433 ], |
431 'conditions': [ | 434 'conditions': [ |
432 ['OS=="win"', { | 435 ['OS=="win"', { |
433 'link_settings': { | 436 'link_settings': { |
434 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 437 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
435 }, | 438 }, |
436 # Generate an import library on Windows, by exporting a function. | 439 # Generate an import library on Windows, by exporting a function. |
437 # Extensions use this import library to link to the API in dart.exe. | 440 # Extensions use this import library to link to the API in dart.exe. |
438 'msvs_settings': { | 441 'msvs_settings': { |
439 'VCLinkerTool': { | 442 'VCLinkerTool': { |
440 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | 443 'AdditionalOptions': [ '/EXPORT:Dart_True' ], |
441 }, | 444 }, |
442 }, | 445 }, |
443 }], | 446 }], |
444 ], | 447 ], |
(...skipping 18 matching lines...) Expand all Loading... |
463 '<(io_cc_file)', | 466 '<(io_cc_file)', |
464 '<(io_patch_cc_file)', | 467 '<(io_patch_cc_file)', |
465 '<(json_cc_file)', | 468 '<(json_cc_file)', |
466 '<(uri_cc_file)', | 469 '<(uri_cc_file)', |
467 '<(utf_cc_file)', | 470 '<(utf_cc_file)', |
468 'snapshot_empty.cc', | 471 'snapshot_empty.cc', |
469 ], | 472 ], |
470 'conditions': [ | 473 'conditions': [ |
471 ['OS=="win"', { | 474 ['OS=="win"', { |
472 'link_settings': { | 475 'link_settings': { |
473 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 476 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
474 }, | 477 }, |
475 }]], | 478 }]], |
476 }, | 479 }, |
477 { | 480 { |
478 'target_name': 'process_test', | 481 'target_name': 'process_test', |
479 'type': 'executable', | 482 'type': 'executable', |
480 'sources': [ | 483 'sources': [ |
481 'process_test.cc', | 484 'process_test.cc', |
482 ] | 485 ] |
483 }, | 486 }, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 'sources/': [ | 520 'sources/': [ |
518 ['exclude', '\\.(cc|h)$'], | 521 ['exclude', '\\.(cc|h)$'], |
519 ['include', 'run_vm_tests.cc'], | 522 ['include', 'run_vm_tests.cc'], |
520 ['include', 'builtin.cc'], | 523 ['include', 'builtin.cc'], |
521 ['include', '_gen\\.cc$'], | 524 ['include', '_gen\\.cc$'], |
522 ['include', '_test\\.(cc|h)$'], | 525 ['include', '_test\\.(cc|h)$'], |
523 ], | 526 ], |
524 'conditions': [ | 527 'conditions': [ |
525 ['OS=="win"', { | 528 ['OS=="win"', { |
526 'link_settings': { | 529 'link_settings': { |
527 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 530 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
528 }, | 531 }, |
529 }], | 532 }], |
530 ], | 533 ], |
531 }, | 534 }, |
532 { | 535 { |
533 'target_name': 'test_extension', | 536 'target_name': 'test_extension', |
534 'type': 'shared_library', | 537 'type': 'shared_library', |
535 'dependencies': [ | 538 'dependencies': [ |
536 'dart', | 539 'dart', |
537 ], | 540 ], |
(...skipping 19 matching lines...) Expand all Loading... |
557 ['OS=="mac"', { | 560 ['OS=="mac"', { |
558 'xcode_settings': { | 561 'xcode_settings': { |
559 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 562 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
560 }, | 563 }, |
561 }], | 564 }], |
562 ], | 565 ], |
563 }, | 566 }, |
564 ], | 567 ], |
565 } | 568 } |
566 | 569 |
OLD | NEW |