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

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

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