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

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, 9 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
« no previous file with comments | « runtime/vm/snapshot_test.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ['exclude', 'gdbjit.cc'], 53 ['exclude', 'gdbjit.cc'],
53 ], 54 ],
54 }]], 55 }]],
55 }, 56 },
56 { 57 {
57 'target_name': 'libdart_lib_withcore', 58 'target_name': 'libdart_lib_withcore',
58 'type': 'static_library', 59 'type': 'static_library',
59 'dependencies': [ 60 'dependencies': [
60 'generate_corelib_cc_file', 61 'generate_corelib_cc_file',
61 'generate_corelib_impl_cc_file', 62 'generate_corelib_impl_cc_file',
63 'generate_isolate_cc_file',
62 ], 64 ],
63 'includes': [ 65 'includes': [
64 '../lib/lib_sources.gypi', 66 '../lib/lib_sources.gypi',
65 '../lib/lib_impl_sources.gypi', 67 '../lib/lib_impl_sources.gypi',
68 '../lib/isolate_sources.gypi',
66 ], 69 ],
67 'sources': [ 70 'sources': [
68 'bootstrap.cc', 71 'bootstrap.cc',
69 # Include generated source files. 72 # Include generated source files.
70 '<(corelib_cc_file)', 73 '<(corelib_cc_file)',
71 '<(corelib_impl_cc_file)', 74 '<(corelib_impl_cc_file)',
75 '<(isolate_cc_file)',
72 ], 76 ],
73 'include_dirs': [ 77 'include_dirs': [
74 '..', 78 '..',
75 ], 79 ],
76 }, 80 },
77 { 81 {
78 'target_name': 'libdart_lib', 82 'target_name': 'libdart_lib',
79 'type': 'static_library', 83 'type': 'static_library',
80 'includes': [ 84 'includes': [
81 '../lib/lib_sources.gypi', 85 '../lib/lib_sources.gypi',
82 '../lib/lib_impl_sources.gypi', 86 '../lib/lib_impl_sources.gypi',
87 '../lib/isolate_sources.gypi',
83 ], 88 ],
84 'sources': [ 89 'sources': [
85 'bootstrap_nocorelib.cc', 90 'bootstrap_nocorelib.cc',
86 ], 91 ],
87 'include_dirs': [ 92 'include_dirs': [
88 '..', 93 '..',
89 ], 94 ],
90 }, 95 },
91 { 96 {
92 'target_name': 'generate_corelib_cc_file', 97 'target_name': 'generate_corelib_cc_file',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 '--input_cc', '<(builtin_in_cc_file)', 177 '--input_cc', '<(builtin_in_cc_file)',
173 '--include', 'vm/bootstrap.h', 178 '--include', 'vm/bootstrap.h',
174 '--var_name', 'dart::Bootstrap::corelib_impl_source_', 179 '--var_name', 'dart::Bootstrap::corelib_impl_source_',
175 '<@(_sources)', 180 '<@(_sources)',
176 ], 181 ],
177 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' 182 'message': 'Generating ''<(corelib_impl_cc_file)'' file.'
178 }, 183 },
179 ] 184 ]
180 }, 185 },
181 { 186 {
187 'target_name': 'generate_isolate_cc_file',
188 'type': 'none',
189 'conditions': [
190 ['OS=="win"', {
191 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
192 }],
193 ],
194 'includes': [
195 # Load the runtime implementation sources.
196 '../lib/isolate_sources.gypi',
197 ],
198 'sources/': [
199 # Exclude all .[cc|h] files.
200 # This is only here for reference. Excludes happen after
201 # variable expansion, so the script has to do its own
202 # exclude processing of the sources being passed.
203 ['exclude', '\\.cc|h$'],
204 ],
205 'actions': [
206 {
207 'action_name': 'generate_isolate_cc',
208 'inputs': [
209 '../tools/create_string_literal.py',
210 '<(builtin_in_cc_file)',
211 '<@(_sources)',
212 ],
213 'outputs': [
214 '<(isolate_cc_file)',
215 ],
216 'action': [
217 'python',
218 'tools/create_string_literal.py',
219 '--output', '<(isolate_cc_file)',
220 '--input_cc', '<(builtin_in_cc_file)',
221 '--include', 'vm/bootstrap.h',
222 '--var_name', 'dart::Bootstrap::isolate_source_',
223 '<@(_sources)',
224 ],
225 'message': 'Generating ''<(isolate_cc_file)'' file.'
226 },
227 ]
228 },
229 {
182 'target_name': 'generate_snapshot_test_dat_file', 230 'target_name': 'generate_snapshot_test_dat_file',
183 'type': 'none', 231 'type': 'none',
184 'conditions': [ 232 'conditions': [
185 ['OS=="win"', { 233 ['OS=="win"', {
186 'msvs_cygwin_dirs': ['<(cygwin_dir)'], 234 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
187 }], 235 }],
188 ], 236 ],
189 'actions': [ 237 'actions': [
190 { 238 {
191 'action_name': 'generate_snapshot_test_dat', 239 'action_name': 'generate_snapshot_test_dat',
(...skipping 13 matching lines...) Expand all
205 '--include', 'INTENTIONALLY_LEFT_BLANK', 253 '--include', 'INTENTIONALLY_LEFT_BLANK',
206 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', 254 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO',
207 '<(snapshot_test_dart_file)', 255 '<(snapshot_test_dart_file)',
208 ], 256 ],
209 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 257 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
210 }, 258 },
211 ] 259 ]
212 }, 260 },
213 ] 261 ]
214 } 262 }
OLDNEW
« no previous file with comments | « runtime/vm/snapshot_test.dart ('k') | samples/chat/chat_server_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698