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

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

Issue 169753003: Don't depend on libdart_io in run_vm_tests and gen_snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup. Created 6 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
« no previous file with comments | « no previous file | runtime/bin/builtin_impl_sources.gypi » ('j') | runtime/bin/io_natives.cc » ('J')
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 '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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 'libraries': [ 163 'libraries': [
164 '-ldl', 164 '-ldl',
165 ], 165 ],
166 }, 166 },
167 }], 167 }],
168 ], 168 ],
169 }, 169 },
170 { 170 {
171 'target_name': 'libdart_io', 171 'target_name': 'libdart_io',
172 'type': 'static_library', 172 'type': 'static_library',
173 'toolsets':['target', 'host'], 173 'toolsets':['target'],
Ivan Posva 2014/02/25 08:44:35 I don't think you need to specify target alone, as
Anders Johnsen 2014/02/25 08:50:25 Done.
174 'include_dirs': [ 174 'include_dirs': [
175 '..', 175 '..',
176 ], 176 ],
177 'includes': [ 177 'includes': [
178 'io_impl_sources.gypi', 178 'io_impl_sources.gypi',
179 ], 179 ],
180 'sources': [ 180 'sources': [
181 'io_natives.h', 181 'io_natives.h',
182 'io_natives.cc', 182 'io_natives.cc',
183 ], 183 ],
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 ], 249 ],
250 }, 250 },
251 { 251 {
252 # Completely statically linked binary for generating snapshots. 252 # Completely statically linked binary for generating snapshots.
253 'target_name': 'gen_snapshot', 253 'target_name': 'gen_snapshot',
254 'type': 'executable', 254 'type': 'executable',
255 'toolsets':['host'], 255 'toolsets':['host'],
256 'dependencies': [ 256 'dependencies': [
257 'libdart_withcore', 257 'libdart_withcore',
258 'libdart_builtin', 258 'libdart_builtin',
259 'libdart_io',
260 ], 259 ],
261 'include_dirs': [ 260 'include_dirs': [
262 '..', 261 '..',
263 ], 262 ],
264 'sources': [ 263 'sources': [
265 'gen_snapshot.cc', 264 'gen_snapshot.cc',
266 # Very limited native resolver provided. 265 # Very limited native resolver provided.
267 'builtin_gen_snapshot.cc', 266 'builtin_gen_snapshot.cc',
268 'builtin.cc', 267 'builtin.cc',
269 'builtin.h', 268 'builtin.h',
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 }], 540 }],
542 ], 541 ],
543 }, 542 },
544 { 543 {
545 'target_name': 'run_vm_tests.host', 544 'target_name': 'run_vm_tests.host',
546 'type': 'executable', 545 'type': 'executable',
547 'toolsets':['host'], 546 'toolsets':['host'],
548 'dependencies': [ 547 'dependencies': [
549 'libdart_withcore', 548 'libdart_withcore',
550 'libdart_builtin', 549 'libdart_builtin',
551 'libdart_io',
552 'generate_snapshot_file#host', 550 'generate_snapshot_file#host',
553 'generate_snapshot_test_dat_file#host', 551 'generate_snapshot_test_dat_file#host',
554 ], 552 ],
555 'include_dirs': [ 553 'include_dirs': [
556 '..', 554 '..',
557 '<(gen_source_dir)', 555 '<(gen_source_dir)',
558 ], 556 ],
559 'sources': [ 557 'sources': [
560 'run_vm_tests.cc', 558 'run_vm_tests.cc',
561 'builtin_natives.cc', 559 'builtin_natives.cc',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 }], 631 }],
634 ['OS=="linux"', { 632 ['OS=="linux"', {
635 'cflags': [ 633 'cflags': [
636 '-fPIC', 634 '-fPIC',
637 ], 635 ],
638 }], 636 }],
639 ], 637 ],
640 }, 638 },
641 ], 639 ],
642 } 640 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/builtin_impl_sources.gypi » ('j') | runtime/bin/io_natives.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698