Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: runtime/vm/vm.gypi

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 'builtin_in_cc_file': '../bin/builtin_in.cc', 7 'builtin_in_cc_file': '../bin/builtin_in.cc',
8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc',
9 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', 9 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc',
10 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc',
10 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', 11 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat',
11 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', 12 'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
12 'snapshot_test_dart_file': 'snapshot_test.dart', 13 'snapshot_test_dart_file': 'snapshot_test.dart',
13 'cygwin_dir': '../../third_party/cygwin', 14 'cygwin_dir': '../../third_party/cygwin',
14 }, 15 },
15 'targets': [ 16 'targets': [
16 { 17 {
17 'target_name': 'libdart_vm', 18 'target_name': 'libdart_vm',
18 'type': 'static_library', 19 'type': 'static_library',
19 'includes': [ 20 'includes': [
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 'libraries': [ '-llibeay32MT.lib' ], 56 'libraries': [ '-llibeay32MT.lib' ],
56 }, 57 },
57 }]], 58 }]],
58 }, 59 },
59 { 60 {
60 'target_name': 'libdart_lib_withcore', 61 'target_name': 'libdart_lib_withcore',
61 'type': 'static_library', 62 'type': 'static_library',
62 'dependencies': [ 63 'dependencies': [
63 'generate_corelib_cc_file', 64 'generate_corelib_cc_file',
64 'generate_corelib_impl_cc_file', 65 'generate_corelib_impl_cc_file',
66 'generate_isolate_cc_file',
65 ], 67 ],
66 'includes': [ 68 'includes': [
67 '../lib/lib_sources.gypi', 69 '../lib/lib_sources.gypi',
68 '../lib/lib_impl_sources.gypi', 70 '../lib/lib_impl_sources.gypi',
71 '../lib/isolate_sources.gypi',
69 ], 72 ],
70 'sources': [ 73 'sources': [
71 'bootstrap.cc', 74 'bootstrap.cc',
72 # Include generated source files. 75 # Include generated source files.
73 '<(corelib_cc_file)', 76 '<(corelib_cc_file)',
74 '<(corelib_impl_cc_file)', 77 '<(corelib_impl_cc_file)',
78 '<(isolate_cc_file)',
75 ], 79 ],
76 'include_dirs': [ 80 'include_dirs': [
77 '..', 81 '..',
78 ], 82 ],
79 }, 83 },
80 { 84 {
81 'target_name': 'libdart_lib', 85 'target_name': 'libdart_lib',
82 'type': 'static_library', 86 'type': 'static_library',
83 'includes': [ 87 'includes': [
84 '../lib/lib_sources.gypi', 88 '../lib/lib_sources.gypi',
85 '../lib/lib_impl_sources.gypi', 89 '../lib/lib_impl_sources.gypi',
90 '../lib/isolate_sources.gypi',
86 ], 91 ],
87 'sources': [ 92 'sources': [
88 'bootstrap_nocorelib.cc', 93 'bootstrap_nocorelib.cc',
89 ], 94 ],
90 'include_dirs': [ 95 'include_dirs': [
91 '..', 96 '..',
92 ], 97 ],
93 }, 98 },
94 { 99 {
95 'target_name': 'generate_corelib_cc_file', 100 'target_name': 'generate_corelib_cc_file',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 '--input_cc', '<(builtin_in_cc_file)', 180 '--input_cc', '<(builtin_in_cc_file)',
176 '--include', 'vm/bootstrap.h', 181 '--include', 'vm/bootstrap.h',
177 '--var_name', 'dart::Bootstrap::corelib_impl_source_', 182 '--var_name', 'dart::Bootstrap::corelib_impl_source_',
178 '<@(_sources)', 183 '<@(_sources)',
179 ], 184 ],
180 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' 185 'message': 'Generating ''<(corelib_impl_cc_file)'' file.'
181 }, 186 },
182 ] 187 ]
183 }, 188 },
184 { 189 {
190 'target_name': 'generate_isolate_cc_file',
191 'type': 'none',
192 'conditions': [
193 ['OS=="win"', {
194 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
195 }],
196 ],
197 'includes': [
198 # Load the runtime implementation sources.
199 '../lib/isolate_sources.gypi',
200 ],
201 'sources/': [
202 # Exclude all .[cc|h] files.
203 # This is only here for reference. Excludes happen after
204 # variable expansion, so the script has to do its own
205 # exclude processing of the sources being passed.
206 ['exclude', '\\.cc|h$'],
207 ],
208 'actions': [
209 {
210 'action_name': 'generate_isolate_cc',
211 'inputs': [
212 '../tools/create_string_literal.py',
213 '<(builtin_in_cc_file)',
214 '<@(_sources)',
215 ],
216 'outputs': [
217 '<(isolate_cc_file)',
218 ],
219 'action': [
220 'python',
221 'tools/create_string_literal.py',
222 '--output', '<(isolate_cc_file)',
223 '--input_cc', '<(builtin_in_cc_file)',
224 '--include', 'vm/bootstrap.h',
225 '--var_name', 'dart::Bootstrap::isolate_source_',
226 '<@(_sources)',
227 ],
228 'message': 'Generating ''<(isolate_cc_file)'' file.'
229 },
230 ]
231 },
232 {
185 'target_name': 'generate_snapshot_test_dat_file', 233 'target_name': 'generate_snapshot_test_dat_file',
186 'type': 'none', 234 'type': 'none',
187 'conditions': [ 235 'conditions': [
188 ['OS=="win"', { 236 ['OS=="win"', {
189 'msvs_cygwin_dirs': ['<(cygwin_dir)'], 237 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
190 }], 238 }],
191 ], 239 ],
192 'actions': [ 240 'actions': [
193 { 241 {
194 'action_name': 'generate_snapshot_test_dat', 242 'action_name': 'generate_snapshot_test_dat',
(...skipping 13 matching lines...) Expand all
208 '--include', 'INTENTIONALLY_LEFT_BLANK', 256 '--include', 'INTENTIONALLY_LEFT_BLANK',
209 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', 257 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO',
210 '<(snapshot_test_dart_file)', 258 '<(snapshot_test_dart_file)',
211 ], 259 ],
212 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 260 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
213 }, 261 },
214 ] 262 ]
215 }, 263 },
216 ] 264 ]
217 } 265 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698