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

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

Issue 10905125: Move dart:web to pkg:htmlescape. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments. Created 8 years, 3 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 | « pkg/intl/pubspec.yaml ('k') | runtime/bin/builtin.h » ('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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc',
8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
9 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 9 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
10 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 10 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
11 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', 11 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
12 'web_cc_file': '<(SHARED_INTERMEDIATE_DIR)/web_gen.cc',
13 'builtin_in_cc_file': 'builtin_in.cc', 12 'builtin_in_cc_file': 'builtin_in.cc',
14 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 13 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
15 'snapshot_in_cc_file': 'snapshot_in.cc', 14 'snapshot_in_cc_file': 'snapshot_in.cc',
16 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 15 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
17 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 16 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
18 }, 17 },
19 'targets': [ 18 'targets': [
20 { 19 {
21 'target_name': 'generate_builtin_cc_file', 20 'target_name': 'generate_builtin_cc_file',
22 'type': 'none', 21 'type': 'none',
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 '--input_cc', '<(builtin_in_cc_file)', 209 '--input_cc', '<(builtin_in_cc_file)',
211 '--include', 'bin/builtin.h', 210 '--include', 'bin/builtin.h',
212 '--var_name', 'Builtin::utf_source_', 211 '--var_name', 'Builtin::utf_source_',
213 '<@(_sources)', 212 '<@(_sources)',
214 ], 213 ],
215 'message': 'Generating ''<(utf_cc_file)'' file.' 214 'message': 'Generating ''<(utf_cc_file)'' file.'
216 }, 215 },
217 ] 216 ]
218 }, 217 },
219 { 218 {
220 'target_name': 'generate_web_cc_file',
221 'type': 'none',
222 'includes': [
223 'web_sources.gypi',
224 ],
225 'actions': [
226 {
227 'action_name': 'generate_web_cc',
228 'inputs': [
229 '../tools/create_string_literal.py',
230 '<(builtin_in_cc_file)',
231 '<@(_sources)',
232 ],
233 'outputs': [
234 '<(web_cc_file)',
235 ],
236 'action': [
237 'python',
238 'tools/create_string_literal.py',
239 '--output', '<(web_cc_file)',
240 '--input_cc', '<(builtin_in_cc_file)',
241 '--include', 'bin/builtin.h',
242 '--var_name', 'Builtin::web_source_',
243 '<@(_sources)',
244 ],
245 'message': 'Generating ''<(web_cc_file)'' file.'
246 },
247 ]
248 },
249 {
250 'target_name': 'libdart_builtin', 219 'target_name': 'libdart_builtin',
251 'type': 'static_library', 220 'type': 'static_library',
252 'dependencies': [ 221 'dependencies': [
253 'generate_builtin_cc_file', 222 'generate_builtin_cc_file',
254 'generate_crypto_cc_file', 223 'generate_crypto_cc_file',
255 'generate_io_cc_file', 224 'generate_io_cc_file',
256 'generate_json_cc_file', 225 'generate_json_cc_file',
257 'generate_uri_cc_file', 226 'generate_uri_cc_file',
258 'generate_utf_cc_file', 227 'generate_utf_cc_file',
259 'generate_web_cc_file',
260 ], 228 ],
261 'include_dirs': [ 229 'include_dirs': [
262 '..', 230 '..',
263 ], 231 ],
264 'sources': [ 232 'sources': [
265 'builtin_natives.cc', 233 'builtin_natives.cc',
266 'builtin.h', 234 'builtin.h',
267 ], 235 ],
268 'includes': [ 236 'includes': [
269 'builtin_impl_sources.gypi', 237 'builtin_impl_sources.gypi',
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 'sources': [ 300 'sources': [
333 'gen_snapshot.cc', 301 'gen_snapshot.cc',
334 'builtin.cc', 302 'builtin.cc',
335 # Include generated source files. 303 # Include generated source files.
336 '<(builtin_cc_file)', 304 '<(builtin_cc_file)',
337 '<(crypto_cc_file)', 305 '<(crypto_cc_file)',
338 '<(io_cc_file)', 306 '<(io_cc_file)',
339 '<(json_cc_file)', 307 '<(json_cc_file)',
340 '<(uri_cc_file)', 308 '<(uri_cc_file)',
341 '<(utf_cc_file)', 309 '<(utf_cc_file)',
342 '<(web_cc_file)',
343 ], 310 ],
344 'conditions': [ 311 'conditions': [
345 ['OS=="win"', { 312 ['OS=="win"', {
346 'link_settings': { 313 'link_settings': {
347 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 314 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
348 }, 315 },
349 }]], 316 }]],
350 }, 317 },
351 { 318 {
352 # Generate snapshot bin file. 319 # Generate snapshot bin file.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 'libdart_builtin', 382 'libdart_builtin',
416 'generate_snapshot_file', 383 'generate_snapshot_file',
417 ], 384 ],
418 'include_dirs': [ 385 'include_dirs': [
419 '..', 386 '..',
420 ], 387 ],
421 'sources': [ 388 'sources': [
422 'main.cc', 389 'main.cc',
423 'builtin_nolib.cc', 390 'builtin_nolib.cc',
424 '<(snapshot_cc_file)', 391 '<(snapshot_cc_file)',
425 '<(web_cc_file)',
426 ], 392 ],
427 'conditions': [ 393 'conditions': [
428 ['OS=="win"', { 394 ['OS=="win"', {
429 'link_settings': { 395 'link_settings': {
430 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 396 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
431 }, 397 },
432 # Generate an import library on Windows, by exporting a function. 398 # Generate an import library on Windows, by exporting a function.
433 # Extensions use this import library to link to the API in dart.exe. 399 # Extensions use this import library to link to the API in dart.exe.
434 'msvs_settings': { 400 'msvs_settings': {
435 'VCLinkerTool': { 401 'VCLinkerTool': {
(...skipping 17 matching lines...) Expand all
453 'sources': [ 419 'sources': [
454 'main.cc', 420 'main.cc',
455 'builtin.cc', 421 'builtin.cc',
456 # Include generated source files. 422 # Include generated source files.
457 '<(builtin_cc_file)', 423 '<(builtin_cc_file)',
458 '<(crypto_cc_file)', 424 '<(crypto_cc_file)',
459 '<(io_cc_file)', 425 '<(io_cc_file)',
460 '<(json_cc_file)', 426 '<(json_cc_file)',
461 '<(uri_cc_file)', 427 '<(uri_cc_file)',
462 '<(utf_cc_file)', 428 '<(utf_cc_file)',
463 '<(web_cc_file)',
464 'snapshot_empty.cc', 429 'snapshot_empty.cc',
465 ], 430 ],
466 'conditions': [ 431 'conditions': [
467 ['OS=="win"', { 432 ['OS=="win"', {
468 'link_settings': { 433 'link_settings': {
469 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 434 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
470 }, 435 },
471 }]], 436 }]],
472 }, 437 },
473 { 438 {
(...skipping 18 matching lines...) Expand all
492 'sources': [ 457 'sources': [
493 'run_vm_tests.cc', 458 'run_vm_tests.cc',
494 'builtin.cc', 459 'builtin.cc',
495 # Include generated source files. 460 # Include generated source files.
496 '<(builtin_cc_file)', 461 '<(builtin_cc_file)',
497 '<(crypto_cc_file)', 462 '<(crypto_cc_file)',
498 '<(io_cc_file)', 463 '<(io_cc_file)',
499 '<(json_cc_file)', 464 '<(json_cc_file)',
500 '<(uri_cc_file)', 465 '<(uri_cc_file)',
501 '<(utf_cc_file)', 466 '<(utf_cc_file)',
502 '<(web_cc_file)',
503 ], 467 ],
504 'includes': [ 468 'includes': [
505 'builtin_impl_sources.gypi', 469 'builtin_impl_sources.gypi',
506 '../platform/platform_sources.gypi', 470 '../platform/platform_sources.gypi',
507 '../vm/vm_sources.gypi', 471 '../vm/vm_sources.gypi',
508 ], 472 ],
509 'defines': [ 473 'defines': [
510 'TESTING', 474 'TESTING',
511 ], 475 ],
512 # Only include _test.[cc|h] files. 476 # Only include _test.[cc|h] files.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 ['OS=="mac"', { 517 ['OS=="mac"', {
554 'xcode_settings': { 518 'xcode_settings': {
555 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 519 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
556 }, 520 },
557 }], 521 }],
558 ], 522 ],
559 }, 523 },
560 ], 524 ],
561 } 525 }
562 526
OLDNEW
« no previous file with comments | « pkg/intl/pubspec.yaml ('k') | runtime/bin/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698