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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 '..', | 465 '..', |
466 ], | 466 ], |
467 'sources': [ | 467 'sources': [ |
468 'main.cc', | 468 'main.cc', |
469 'builtin_nolib.cc', | 469 'builtin_nolib.cc', |
470 '<(snapshot_cc_file)', | 470 '<(snapshot_cc_file)', |
471 ], | 471 ], |
472 'conditions': [ | 472 'conditions': [ |
473 ['OS=="win"', { | 473 ['OS=="win"', { |
474 'link_settings': { | 474 'link_settings': { |
475 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 475 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
476 }, | 476 }, |
477 # Generate an import library on Windows, by exporting a function. | 477 # Generate an import library on Windows, by exporting a function. |
478 # Extensions use this import library to link to the API in dart.exe. | 478 # Extensions use this import library to link to the API in dart.exe. |
479 'msvs_settings': { | 479 'msvs_settings': { |
480 'VCLinkerTool': { | 480 'VCLinkerTool': { |
481 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | 481 'AdditionalOptions': [ '/EXPORT:Dart_True' ], |
482 }, | 482 }, |
483 }, | 483 }, |
484 }], | 484 }], |
485 ], | 485 ], |
(...skipping 19 matching lines...) Expand all Loading... |
505 '<(io_cc_file)', | 505 '<(io_cc_file)', |
506 '<(io_patch_cc_file)', | 506 '<(io_patch_cc_file)', |
507 '<(json_cc_file)', | 507 '<(json_cc_file)', |
508 '<(uri_cc_file)', | 508 '<(uri_cc_file)', |
509 '<(utf_cc_file)', | 509 '<(utf_cc_file)', |
510 'snapshot_empty.cc', | 510 'snapshot_empty.cc', |
511 ], | 511 ], |
512 'conditions': [ | 512 'conditions': [ |
513 ['OS=="win"', { | 513 ['OS=="win"', { |
514 'link_settings': { | 514 'link_settings': { |
515 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 515 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
516 }, | 516 }, |
517 # Generate an import library on Windows, by exporting a function. | 517 # Generate an import library on Windows, by exporting a function. |
518 # Extensions use this import library to link to the API in dart.exe. | 518 # Extensions use this import library to link to the API in dart.exe. |
519 'msvs_settings': { | 519 'msvs_settings': { |
520 'VCLinkerTool': { | 520 'VCLinkerTool': { |
521 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | 521 'AdditionalOptions': [ '/EXPORT:Dart_True' ], |
522 }, | 522 }, |
523 }, | 523 }, |
524 }]], | 524 }]], |
525 }, | 525 }, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 'sources/': [ | 567 'sources/': [ |
568 ['exclude', '\\.(cc|h)$'], | 568 ['exclude', '\\.(cc|h)$'], |
569 ['include', 'run_vm_tests.cc'], | 569 ['include', 'run_vm_tests.cc'], |
570 ['include', 'builtin.cc'], | 570 ['include', 'builtin.cc'], |
571 ['include', '_gen\\.cc$'], | 571 ['include', '_gen\\.cc$'], |
572 ['include', '_test\\.(cc|h)$'], | 572 ['include', '_test\\.(cc|h)$'], |
573 ], | 573 ], |
574 'conditions': [ | 574 'conditions': [ |
575 ['OS=="win"', { | 575 ['OS=="win"', { |
576 'link_settings': { | 576 'link_settings': { |
577 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 577 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
578 }, | 578 }, |
579 }], | 579 }], |
580 ], | 580 ], |
581 }, | 581 }, |
582 { | 582 { |
583 'target_name': 'test_extension', | 583 'target_name': 'test_extension', |
584 'type': 'shared_library', | 584 'type': 'shared_library', |
585 'dependencies': [ | 585 'dependencies': [ |
586 'dart', | 586 'dart', |
587 ], | 587 ], |
(...skipping 20 matching lines...) Expand all Loading... |
608 ['OS=="mac"', { | 608 ['OS=="mac"', { |
609 'xcode_settings': { | 609 'xcode_settings': { |
610 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 610 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
611 }, | 611 }, |
612 }], | 612 }], |
613 ], | 613 ], |
614 }, | 614 }, |
615 ], | 615 ], |
616 } | 616 } |
617 | 617 |
OLD | NEW |