| 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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 '--inner_namespace', 'bin', | 670 '--inner_namespace', 'bin', |
| 671 '--table_name', 'service_bin', | 671 '--table_name', 'service_bin', |
| 672 '--root_prefix', 'bin/', | 672 '--root_prefix', 'bin/', |
| 673 '<@(_sources)' | 673 '<@(_sources)' |
| 674 ], | 674 ], |
| 675 'message': 'Generating ''<(resources_cc_file)'' file.' | 675 'message': 'Generating ''<(resources_cc_file)'' file.' |
| 676 }, | 676 }, |
| 677 ] | 677 ] |
| 678 }, | 678 }, |
| 679 { | 679 { |
| 680 # dart_product binary. | |
| 681 'target_name': 'dart_product', | |
| 682 'type': 'executable', | |
| 683 'dependencies': [ | |
| 684 'bin/zlib.gyp:zlib_dart', | |
| 685 'libdart', | |
| 686 'libdart_builtin', | |
| 687 'libdart_io', | |
| 688 ], | |
| 689 'include_dirs': [ | |
| 690 '..', | |
| 691 '../../third_party/', # Zlib | |
| 692 ], | |
| 693 'defines': [ | |
| 694 'DART_PRODUCT_BINARY', | |
| 695 ], | |
| 696 'sources': [ | |
| 697 'main.cc', | |
| 698 'builtin.h', | |
| 699 'builtin_common.cc', | |
| 700 'builtin_natives.cc', | |
| 701 'builtin_nolib.cc', | |
| 702 'io_natives.h', | |
| 703 'observatory_assets_empty.cc', | |
| 704 'snapshot_empty.cc', | |
| 705 ], | |
| 706 'conditions': [ | |
| 707 ['OS=="win"', { | |
| 708 'link_settings': { | |
| 709 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | |
| 710 }, | |
| 711 }], | |
| 712 ], | |
| 713 }, | |
| 714 { | |
| 715 # dart binary with a snapshot of corelibs built in. | 680 # dart binary with a snapshot of corelibs built in. |
| 716 'target_name': 'dart', | 681 'target_name': 'dart', |
| 717 'type': 'executable', | 682 'type': 'executable', |
| 718 'dependencies': [ | 683 'dependencies': [ |
| 719 'bin/zlib.gyp:zlib_dart', | 684 'bin/zlib.gyp:zlib_dart', |
| 720 'build_observatory#host', | 685 'build_observatory#host', |
| 721 'generate_observatory_assets_cc_file#host', | 686 'generate_observatory_assets_cc_file#host', |
| 722 'generate_resources_cc_file#host', | 687 'generate_resources_cc_file#host', |
| 723 'generate_snapshot_file#host', | 688 'generate_snapshot_file#host', |
| 724 'libdart', | 689 'libdart', |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1039 }], | 1004 }], |
| 1040 ['OS=="linux"', { | 1005 ['OS=="linux"', { |
| 1041 'cflags': [ | 1006 'cflags': [ |
| 1042 '-fPIC', | 1007 '-fPIC', |
| 1043 ], | 1008 ], |
| 1044 }], | 1009 }], |
| 1045 ], | 1010 ], |
| 1046 }, | 1011 }, |
| 1047 ], | 1012 ], |
| 1048 } | 1013 } |
| OLD | NEW |