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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 'builtin_natives.cc', | 745 'builtin_natives.cc', |
746 'builtin_nolib.cc', | 746 'builtin_nolib.cc', |
747 'builtin.h', | 747 'builtin.h', |
748 'io_natives.h', | 748 'io_natives.h', |
749 'vmservice_impl.cc', | 749 'vmservice_impl.cc', |
750 'vmservice_impl.h', | 750 'vmservice_impl.h', |
751 'snapshot_empty.cc', | 751 'snapshot_empty.cc', |
752 '<(resources_cc_file)', | 752 '<(resources_cc_file)', |
753 '<(observatory_assets_cc_file)', | 753 '<(observatory_assets_cc_file)', |
754 ], | 754 ], |
| 755 'defines': [ |
| 756 'DART_PRECOMPILED_RUNTIME', |
| 757 ], |
755 'conditions': [ | 758 'conditions': [ |
756 ['OS=="win"', { | 759 ['OS=="win"', { |
757 'link_settings': { | 760 'link_settings': { |
758 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 761 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
759 }, | 762 }, |
760 # Generate an import library on Windows, by exporting a function. | 763 # Generate an import library on Windows, by exporting a function. |
761 # Extensions use this import library to link to the API in dart.exe. | 764 # Extensions use this import library to link to the API in dart.exe. |
762 'msvs_settings': { | 765 'msvs_settings': { |
763 'VCLinkerTool': { | 766 'VCLinkerTool': { |
764 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | 767 'AdditionalOptions': [ '/EXPORT:Dart_True' ], |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 }], | 995 }], |
993 ['OS=="linux"', { | 996 ['OS=="linux"', { |
994 'cflags': [ | 997 'cflags': [ |
995 '-fPIC', | 998 '-fPIC', |
996 ], | 999 ], |
997 }], | 1000 }], |
998 ], | 1001 ], |
999 }, | 1002 }, |
1000 ], | 1003 ], |
1001 } | 1004 } |
OLD | NEW |