| 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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 # Needed for sources outside of nss that include pr and ssl | 342 # Needed for sources outside of nss that include pr and ssl |
| 343 # header files. | 343 # header files. |
| 344 'MDCPUCFG="md/_linux.cfg"', | 344 'MDCPUCFG="md/_linux.cfg"', |
| 345 ], | 345 ], |
| 346 }], | 346 }], |
| 347 ], | 347 ], |
| 348 }, | 348 }, |
| 349 }, | 349 }, |
| 350 }, | 350 }, |
| 351 { | 351 { |
| 352 'target_name': 'libdart_withcore', | 352 'target_name': 'libdart_nosnapshot', |
| 353 'type': 'static_library', | 353 'type': 'static_library', |
| 354 'toolsets':['target','host'], | 354 'toolsets':['target','host'], |
| 355 'dependencies': [ | 355 'dependencies': [ |
| 356 'libdart_lib_withcore', | 356 'libdart_lib_nosnapshot', |
| 357 'libdart_vm', | 357 'libdart_vm_nosnapshot', |
| 358 'libdouble_conversion', | 358 'libdouble_conversion', |
| 359 'generate_version_cc_file#host', | 359 'generate_version_cc_file#host', |
| 360 ], | 360 ], |
| 361 'include_dirs': [ | 361 'include_dirs': [ |
| 362 '..', | 362 '..', |
| 363 ], | 363 ], |
| 364 'sources': [ | 364 'sources': [ |
| 365 '../include/dart_api.h', | 365 '../include/dart_api.h', |
| 366 '../include/dart_debugger_api.h', | 366 '../include/dart_debugger_api.h', |
| 367 '../include/dart_mirrors_api.h', | 367 '../include/dart_mirrors_api.h', |
| 368 '../include/dart_native_api.h', | 368 '../include/dart_native_api.h', |
| 369 '../vm/dart_api_impl.cc', | 369 '../vm/dart_api_impl.cc', |
| 370 '../vm/debugger_api_impl.cc', | 370 '../vm/debugger_api_impl.cc', |
| 371 '../vm/mirrors_api_impl.cc', | 371 '../vm/mirrors_api_impl.cc', |
| 372 '../vm/native_api_impl.cc', | 372 '../vm/native_api_impl.cc', |
| 373 '<(version_cc_file)', | 373 '<(version_cc_file)', |
| 374 ], | 374 ], |
| 375 'defines': [ | 375 'defines': [ |
| 376 'DART_SHARED_LIB', | 376 'DART_SHARED_LIB', |
| 377 ], | 377 ], |
| 378 }, | 378 }, |
| 379 { | 379 { |
| 380 # Completely statically linked binary for generating snapshots. | 380 # Completely statically linked binary for generating snapshots. |
| 381 'target_name': 'gen_snapshot', | 381 'target_name': 'gen_snapshot', |
| 382 'type': 'executable', | 382 'type': 'executable', |
| 383 'toolsets':['host'], | 383 'toolsets':['host'], |
| 384 'dependencies': [ | 384 'dependencies': [ |
| 385 'libdart_withcore', | 385 'libdart_nosnapshot', |
| 386 'libdart_builtin', | 386 'libdart_builtin', |
| 387 ], | 387 ], |
| 388 'include_dirs': [ | 388 'include_dirs': [ |
| 389 '..', | 389 '..', |
| 390 ], | 390 ], |
| 391 'sources': [ | 391 'sources': [ |
| 392 'address_sanitizer.cc', | 392 'address_sanitizer.cc', |
| 393 'gen_snapshot.cc', | 393 'gen_snapshot.cc', |
| 394 # Very limited native resolver provided. | 394 # Very limited native resolver provided. |
| 395 'builtin_gen_snapshot.cc', | 395 'builtin_gen_snapshot.cc', |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 }, | 602 }, |
| 603 }, | 603 }, |
| 604 }, | 604 }, |
| 605 { | 605 { |
| 606 # dart binary built for the host. It does not use a snapshot | 606 # dart binary built for the host. It does not use a snapshot |
| 607 # and does not include Observatory. | 607 # and does not include Observatory. |
| 608 'target_name': 'dart_bootstrap', | 608 'target_name': 'dart_bootstrap', |
| 609 'type': 'executable', | 609 'type': 'executable', |
| 610 'toolsets':['host'], | 610 'toolsets':['host'], |
| 611 'dependencies': [ | 611 'dependencies': [ |
| 612 'libdart_withcore', | 612 'libdart_nosnapshot', |
| 613 'libdart_builtin', | 613 'libdart_builtin', |
| 614 'libdart_io', | 614 'libdart_io', |
| 615 'generate_bootstrap_resources_cc_file#host', | 615 'generate_bootstrap_resources_cc_file#host', |
| 616 ], | 616 ], |
| 617 'include_dirs': [ | 617 'include_dirs': [ |
| 618 '..', | 618 '..', |
| 619 ], | 619 ], |
| 620 'sources': [ | 620 'sources': [ |
| 621 'main.cc', | 621 'main.cc', |
| 622 'builtin_common.cc', | 622 'builtin_common.cc', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 '-rdynamic', | 655 '-rdynamic', |
| 656 ], | 656 ], |
| 657 }, | 657 }, |
| 658 }, | 658 }, |
| 659 }, | 659 }, |
| 660 { | 660 { |
| 661 # dart binary without any snapshot built in. | 661 # dart binary without any snapshot built in. |
| 662 'target_name': 'dart_no_snapshot', | 662 'target_name': 'dart_no_snapshot', |
| 663 'type': 'executable', | 663 'type': 'executable', |
| 664 'dependencies': [ | 664 'dependencies': [ |
| 665 'libdart_withcore', | 665 'libdart_nosnapshot', |
| 666 'libdart_builtin', | 666 'libdart_builtin', |
| 667 'libdart_io', | 667 'libdart_io', |
| 668 'generate_resources_cc_file#host', | 668 'generate_resources_cc_file#host', |
| 669 ], | 669 ], |
| 670 'include_dirs': [ | 670 'include_dirs': [ |
| 671 '..', | 671 '..', |
| 672 ], | 672 ], |
| 673 'sources': [ | 673 'sources': [ |
| 674 'main.cc', | 674 'main.cc', |
| 675 'builtin_common.cc', | 675 'builtin_common.cc', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 'target_name': 'process_test', | 714 'target_name': 'process_test', |
| 715 'type': 'executable', | 715 'type': 'executable', |
| 716 'sources': [ | 716 'sources': [ |
| 717 'process_test.cc', | 717 'process_test.cc', |
| 718 ] | 718 ] |
| 719 }, | 719 }, |
| 720 { | 720 { |
| 721 'target_name': 'run_vm_tests', | 721 'target_name': 'run_vm_tests', |
| 722 'type': 'executable', | 722 'type': 'executable', |
| 723 'dependencies': [ | 723 'dependencies': [ |
| 724 'libdart_withcore', | 724 'libdart', |
| 725 'libdart_builtin', | 725 'libdart_builtin', |
| 726 'libdart_io', | 726 'libdart_io', |
| 727 'generate_snapshot_file#host', | 727 'generate_snapshot_file#host', |
| 728 'generate_snapshot_test_dat_file#host', | 728 'generate_snapshot_test_dat_file#host', |
| 729 ], | 729 ], |
| 730 'include_dirs': [ | 730 'include_dirs': [ |
| 731 '..', | 731 '..', |
| 732 '<(gen_source_dir)', | 732 '<(gen_source_dir)', |
| 733 ], | 733 ], |
| 734 'sources': [ | 734 'sources': [ |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 }], | 809 }], |
| 810 ['OS=="linux"', { | 810 ['OS=="linux"', { |
| 811 'cflags': [ | 811 'cflags': [ |
| 812 '-fPIC', | 812 '-fPIC', |
| 813 ], | 813 ], |
| 814 }], | 814 }], |
| 815 ], | 815 ], |
| 816 }, | 816 }, |
| 817 ], | 817 ], |
| 818 } | 818 } |
| OLD | NEW |