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

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

Issue 9254026: Split dart:builtin into dart:builtin and dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment and add binaries. Created 8 years, 11 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 | « frog/tests/frog/src/FrogServerTest.dart ('k') | runtime/bin/buffer_list.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 'io_in_cc_file': 'io_in.cc',
8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
7 'builtin_in_cc_file': 'builtin_in.cc', 9 'builtin_in_cc_file': 'builtin_in.cc',
8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 10 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
9 'snapshot_in_cc_file': 'snapshot_in.cc', 11 'snapshot_in_cc_file': 'snapshot_in.cc',
10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 12 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
11 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 13 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
12 'cygwin_dir': '../../third_party/cygwin', 14 'cygwin_dir': '../../third_party/cygwin',
13 }, 15 },
14 'targets': [ 16 'targets': [
15 { 17 {
16 'target_name': 'generate_builtin_cc_file', 18 'target_name': 'generate_builtin_cc_file',
17 'type': 'none', 19 'type': 'none',
18 'conditions': [ 20 'conditions': [
19 ['OS=="win"', { 21 ['OS=="win"', {
20 'msvs_cygwin_dirs': ['<(cygwin_dir)'], 22 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
21 }], 23 }],
22 ], 24 ],
23 'includes': [ 25 'includes': [
24 'builtin_sources.gypi', 26 'builtin_sources.gypi',
25 '../platform/platform_headers.gypi',
26 ],
27 'sources/': [
28 ['exclude', '\\.(cc|h)$'],
29 ], 27 ],
30 'actions': [ 28 'actions': [
31 { 29 {
32 'action_name': 'generate_builtin_cc', 30 'action_name': 'generate_builtin_cc',
33 'inputs': [ 31 'inputs': [
34 '../tools/create_string_literal.py', 32 '../tools/create_string_literal.py',
35 '<(builtin_in_cc_file)', 33 '<(builtin_in_cc_file)',
36 '<@(_sources)', 34 '<@(_sources)',
37 ], 35 ],
38 'outputs': [ 36 'outputs': [
39 '<(builtin_cc_file)', 37 '<(builtin_cc_file)',
40 ], 38 ],
41 'action': [ 39 'action': [
42 'python', 40 'python',
43 'tools/create_string_literal.py', 41 'tools/create_string_literal.py',
44 '--output', '<(builtin_cc_file)', 42 '--output', '<(builtin_cc_file)',
45 '--input_cc', '<(builtin_in_cc_file)', 43 '--input_cc', '<(builtin_in_cc_file)',
46 '<@(_sources)', 44 '<@(_sources)',
47 ], 45 ],
48 'message': 'Generating ''<(builtin_cc_file)'' file.' 46 'message': 'Generating ''<(builtin_cc_file)'' file.'
49 }, 47 },
50 ] 48 ]
51 }, 49 },
52 { 50 {
51 'target_name': 'generate_io_cc_file',
52 'type': 'none',
53 'conditions': [
54 ['OS=="win"', {
55 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
56 }],
57 ],
58 'includes': [
59 'io_sources.gypi',
60 ],
61 'actions': [
62 {
63 'action_name': 'generate_io_cc',
64 'inputs': [
65 '../tools/create_string_literal.py',
66 '<(io_in_cc_file)',
67 '<@(_sources)',
68 ],
69 'outputs': [
70 '<(io_cc_file)',
71 ],
72 'action': [
73 'python',
74 'tools/create_string_literal.py',
75 '--output', '<(io_cc_file)',
76 '--input_cc', '<(io_in_cc_file)',
77 '<@(_sources)',
78 ],
79 'message': 'Generating ''<(io_cc_file)'' file.'
80 },
81 ]
82 },
83 {
53 'target_name': 'libdart_builtin', 84 'target_name': 'libdart_builtin',
54 'type': 'static_library', 85 'type': 'static_library',
55 'dependencies': [ 86 'dependencies': [
56 'generate_builtin_cc_file', 87 'generate_builtin_cc_file',
88 'generate_io_cc_file',
57 ], 89 ],
58 'include_dirs': [ 90 'include_dirs': [
59 '..', 91 '..',
60 ], 92 ],
61 'sources': [ 93 'sources': [
62 'builtin_natives.cc', 94 'builtin_natives.cc',
63 'builtin.h', 95 'builtin.h',
64 ], 96 ],
65 'includes': [ 97 'includes': [
66 'builtin_sources.gypi', 98 'builtin_impl_sources.gypi',
67 '../platform/platform_sources.gypi', 99 '../platform/platform_sources.gypi',
68 ], 100 ],
69 'sources/': [ 101 'sources/': [
70 ['exclude', '_test\\.(cc|h)$'], 102 ['exclude', '_test\\.(cc|h)$'],
71 ], 103 ],
72 'conditions': [ 104 'conditions': [
73 ['OS=="win"', {'sources/' : [ 105 ['OS=="win"', {'sources/' : [
74 ['exclude', 'fdutils.h'], 106 ['exclude', 'fdutils.h'],
75 ]}], 107 ]}],
76 ], 108 ],
(...skipping 26 matching lines...) Expand all
103 'libdart_builtin', 135 'libdart_builtin',
104 ], 136 ],
105 'include_dirs': [ 137 'include_dirs': [
106 '..', 138 '..',
107 ], 139 ],
108 'sources': [ 140 'sources': [
109 'gen_snapshot.cc', 141 'gen_snapshot.cc',
110 'builtin.cc', 142 'builtin.cc',
111 # Include generated source files. 143 # Include generated source files.
112 '<(builtin_cc_file)', 144 '<(builtin_cc_file)',
145 '<(io_cc_file)',
113 ], 146 ],
114 'conditions': [ 147 'conditions': [
115 ['OS=="win"', { 148 ['OS=="win"', {
116 'link_settings': { 149 'link_settings': {
117 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 150 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
118 }, 151 },
119 }]], 152 }]],
120 }, 153 },
121 { 154 {
122 # Generate snapshot file. 155 # Generate snapshot file.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 'libdart_builtin', 219 'libdart_builtin',
187 ], 220 ],
188 'include_dirs': [ 221 'include_dirs': [
189 '..', 222 '..',
190 ], 223 ],
191 'sources': [ 224 'sources': [
192 'main.cc', 225 'main.cc',
193 'builtin.cc', 226 'builtin.cc',
194 # Include generated source files. 227 # Include generated source files.
195 '<(builtin_cc_file)', 228 '<(builtin_cc_file)',
229 '<(io_cc_file)',
196 'snapshot_empty.cc', 230 'snapshot_empty.cc',
197 ], 231 ],
198 'conditions': [ 232 'conditions': [
199 ['OS=="win"', { 233 ['OS=="win"', {
200 'link_settings': { 234 'link_settings': {
201 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 235 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
202 }, 236 },
203 }]], 237 }]],
204 }, 238 },
205 { 239 {
(...skipping 12 matching lines...) Expand all
218 'generate_snapshot_test_dat_file', 252 'generate_snapshot_test_dat_file',
219 ], 253 ],
220 'include_dirs': [ 254 'include_dirs': [
221 '..', 255 '..',
222 '<(SHARED_INTERMEDIATE_DIR)', 256 '<(SHARED_INTERMEDIATE_DIR)',
223 ], 257 ],
224 'sources': [ 258 'sources': [
225 'run_vm_tests.cc', 259 'run_vm_tests.cc',
226 ], 260 ],
227 'includes': [ 261 'includes': [
228 'builtin_sources.gypi', 262 'builtin_impl_sources.gypi',
229 '../platform/platform_sources.gypi', 263 '../platform/platform_sources.gypi',
230 '../vm/vm_sources.gypi', 264 '../vm/vm_sources.gypi',
231 ], 265 ],
232 'defines': [ 266 'defines': [
233 'TESTING', 267 'TESTING',
234 ], 268 ],
235 # Only include _test.[cc|h] files. 269 # Only include _test.[cc|h] files.
236 'sources/': [ 270 'sources/': [
237 ['exclude', '\\.(cc|h)$'], 271 ['exclude', '\\.(cc|h)$'],
238 ['include', '_test\\.(cc|h)$'], 272 ['include', '_test\\.(cc|h)$'],
239 ['include', 'run_vm_tests.cc'], 273 ['include', 'run_vm_tests.cc'],
240 ], 274 ],
241 'conditions': [ 275 'conditions': [
242 ['OS=="win"', { 276 ['OS=="win"', {
243 'link_settings': { 277 'link_settings': {
244 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 278 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
245 }, 279 },
246 }], 280 }],
247 ], 281 ],
248 }, 282 },
249 ], 283 ],
250 } 284 }
OLDNEW
« no previous file with comments | « frog/tests/frog/src/FrogServerTest.dart ('k') | runtime/bin/buffer_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698