OLD | NEW |
1 # Copyright (c) 2011, 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 'builtin_in_cc_file': 'builtin_in.cc', | 7 'builtin_in_cc_file': 'builtin_in.cc', |
8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', | 8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', |
9 'snapshot_in_cc_file': 'snapshot_in.cc', | 9 'snapshot_in_cc_file': 'snapshot_in.cc', |
10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', | 10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', |
11 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', | 11 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', |
12 'cygwin_dir': '../../third_party/cygwin', | 12 'cygwin_dir': '../../third_party/cygwin', |
13 }, | 13 }, |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'generate_builtin_cc_file', | 16 'target_name': 'generate_builtin_cc_file', |
17 'type': 'none', | 17 'type': 'none', |
18 'conditions': [ | 18 'conditions': [ |
19 ['OS=="win"', { | 19 ['OS=="win"', { |
20 'msvs_cygwin_dirs': ['<(cygwin_dir)'], | 20 'msvs_cygwin_dirs': ['<(cygwin_dir)'], |
21 }], | 21 }], |
22 ], | 22 ], |
23 'includes': [ | 23 'includes': [ |
24 'builtin_sources.gypi', | 24 'builtin_sources.gypi', |
| 25 '../platform/platform_sources.gypi', |
25 ], | 26 ], |
26 'sources/': [ | 27 'sources/': [ |
27 ['exclude', '\\.(cc|h)$'], | 28 ['exclude', '\\.(cc|h)$'], |
28 ], | 29 ], |
29 'actions': [ | 30 'actions': [ |
30 { | 31 { |
31 'action_name': 'generate_builtin_cc', | 32 'action_name': 'generate_builtin_cc', |
32 'inputs': [ | 33 'inputs': [ |
33 '../tools/create_string_literal.py', | 34 '../tools/create_string_literal.py', |
34 '<(builtin_in_cc_file)', | 35 '<(builtin_in_cc_file)', |
(...skipping 21 matching lines...) Expand all Loading... |
56 ], | 57 ], |
57 'include_dirs': [ | 58 'include_dirs': [ |
58 '..', | 59 '..', |
59 ], | 60 ], |
60 'sources': [ | 61 'sources': [ |
61 'builtin_natives.cc', | 62 'builtin_natives.cc', |
62 'builtin.h', | 63 'builtin.h', |
63 ], | 64 ], |
64 'includes': [ | 65 'includes': [ |
65 'builtin_sources.gypi', | 66 'builtin_sources.gypi', |
| 67 '../platform/platform_sources.gypi', |
66 ], | 68 ], |
67 'sources/': [ | 69 'sources/': [ |
68 ['exclude', '_test\\.(cc|h)$'], | 70 ['exclude', '_test\\.(cc|h)$'], |
69 ], | 71 ], |
70 'conditions': [ | 72 'conditions': [ |
71 ['OS=="win"', {'sources/' : [ | 73 ['OS=="win"', {'sources/' : [ |
72 ['exclude', 'fdutils.h'], | 74 ['exclude', 'fdutils.h'], |
73 ]}], | 75 ]}], |
74 ], | 76 ], |
75 }, | 77 }, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 ], | 219 ], |
218 'include_dirs': [ | 220 'include_dirs': [ |
219 '..', | 221 '..', |
220 '<(SHARED_INTERMEDIATE_DIR)', | 222 '<(SHARED_INTERMEDIATE_DIR)', |
221 ], | 223 ], |
222 'sources': [ | 224 'sources': [ |
223 'run_vm_tests.cc', | 225 'run_vm_tests.cc', |
224 ], | 226 ], |
225 'includes': [ | 227 'includes': [ |
226 'builtin_sources.gypi', | 228 'builtin_sources.gypi', |
| 229 '../platform/platform_sources.gypi', |
227 '../vm/vm_sources.gypi', | 230 '../vm/vm_sources.gypi', |
228 ], | 231 ], |
229 'defines': [ | 232 'defines': [ |
230 'TESTING', | 233 'TESTING', |
231 ], | 234 ], |
232 # Only include _test.[cc|h] files. | 235 # Only include _test.[cc|h] files. |
233 'sources/': [ | 236 'sources/': [ |
234 ['exclude', '\\.(cc|h)$'], | 237 ['exclude', '\\.(cc|h)$'], |
235 ['include', '_test\\.(cc|h)$'], | 238 ['include', '_test\\.(cc|h)$'], |
236 ['include', 'run_vm_tests.cc'], | 239 ['include', 'run_vm_tests.cc'], |
237 ], | 240 ], |
238 'conditions': [ | 241 'conditions': [ |
239 ['OS=="win"', { | 242 ['OS=="win"', { |
240 'link_settings': { | 243 'link_settings': { |
241 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 244 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
242 }, | 245 }, |
243 }], | 246 }], |
244 ], | 247 ], |
245 }, | 248 }, |
246 ], | 249 ], |
247 } | 250 } |
OLD | NEW |