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

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

Issue 12192003: Revert "Revert "Revert "Use browsers JSON.parse for parsing JSON.""" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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.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 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', 9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc',
10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
11 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc',
12 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 11 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
13 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', 12 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
14 'builtin_in_cc_file': 'builtin_in.cc', 13 'builtin_in_cc_file': 'builtin_in.cc',
15 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 14 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
16 'snapshot_in_cc_file': 'snapshot_in.cc', 15 'snapshot_in_cc_file': 'snapshot_in.cc',
17 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 16 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
18 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 17 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
19 }, 18 },
20 'targets': [ 19 'targets': [
21 { 20 {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 }, 178 },
180 ] 179 ]
181 }, 180 },
182 { 181 {
183 'target_name': 'generate_json_cc_file', 182 'target_name': 'generate_json_cc_file',
184 'type': 'none', 183 'type': 'none',
185 'variables': { 184 'variables': {
186 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart', 185 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart',
187 }, 186 },
188 'includes': [ 187 'includes': [
189 '../../sdk/lib/json/json_sources.gypi', 188 'json_sources.gypi',
190 ], 189 ],
191 'actions': [ 190 'actions': [
192 { 191 {
193 'action_name': 'generate_json_dart', 192 'action_name': 'generate_json_dart',
194 'inputs': [ 193 'inputs': [
195 '../tools/concat_library.py', 194 '../tools/concat_library.py',
196 '<@(_sources)', 195 '<@(_sources)',
197 ], 196 ],
198 'outputs': [ 197 'outputs': [
199 '<(json_dart)', 198 '<(json_dart)',
(...skipping 22 matching lines...) Expand all
222 '--input_cc', '<(builtin_in_cc_file)', 221 '--input_cc', '<(builtin_in_cc_file)',
223 '--include', 'bin/builtin.h', 222 '--include', 'bin/builtin.h',
224 '--var_name', 'Builtin::json_source_', 223 '--var_name', 'Builtin::json_source_',
225 '<(json_dart)', 224 '<(json_dart)',
226 ], 225 ],
227 'message': 'Generating ''<(json_cc_file)'' file.' 226 'message': 'Generating ''<(json_cc_file)'' file.'
228 }, 227 },
229 ] 228 ]
230 }, 229 },
231 { 230 {
232 'target_name': 'generate_json_patch_cc_file',
233 'type': 'none',
234 'includes': [
235 'json_sources.gypi',
236 ],
237 'actions': [
238 {
239 'action_name': 'generate_json_patch_cc',
240 'inputs': [
241 '../tools/create_string_literal.py',
242 '<(builtin_in_cc_file)',
243 '<@(_sources)',
244 ],
245 'outputs': [
246 '<(json_patch_cc_file)',
247 ],
248 'action': [
249 'python',
250 'tools/create_string_literal.py',
251 '--output', '<(json_patch_cc_file)',
252 '--input_cc', '<(builtin_in_cc_file)',
253 '--include', 'bin/builtin.h',
254 '--var_name', 'Builtin::json_patch_',
255 '<@(_sources)',
256 ],
257 'message': 'Generating ''<(json_patch_cc_file)'' file.'
258 },
259 ]
260 },
261 {
262 'target_name': 'generate_uri_cc_file', 231 'target_name': 'generate_uri_cc_file',
263 'type': 'none', 232 'type': 'none',
264 'variables': { 233 'variables': {
265 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', 234 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart',
266 }, 235 },
267 'includes': [ 236 'includes': [
268 'uri_sources.gypi', 237 'uri_sources.gypi',
269 ], 238 ],
270 'actions': [ 239 'actions': [
271 { 240 {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 }, 327 },
359 { 328 {
360 'target_name': 'libdart_builtin', 329 'target_name': 'libdart_builtin',
361 'type': 'static_library', 330 'type': 'static_library',
362 'dependencies': [ 331 'dependencies': [
363 'generate_builtin_cc_file', 332 'generate_builtin_cc_file',
364 'generate_crypto_cc_file', 333 'generate_crypto_cc_file',
365 'generate_io_cc_file', 334 'generate_io_cc_file',
366 'generate_io_patch_cc_file', 335 'generate_io_patch_cc_file',
367 'generate_json_cc_file', 336 'generate_json_cc_file',
368 'generate_json_patch_cc_file',
369 'generate_uri_cc_file', 337 'generate_uri_cc_file',
370 'generate_utf_cc_file', 338 'generate_utf_cc_file',
371 ], 339 ],
372 'include_dirs': [ 340 'include_dirs': [
373 '..', 341 '..',
374 ], 342 ],
375 'sources': [ 343 'sources': [
376 'builtin_natives.cc', 344 'builtin_natives.cc',
377 'builtin.h', 345 'builtin.h',
378 'io_natives.h', 346 'io_natives.h',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 'sources': [ 456 'sources': [
489 'gen_snapshot.cc', 457 'gen_snapshot.cc',
490 # Only looks up native functions in libdart_builtin, not libdart_io. 458 # Only looks up native functions in libdart_builtin, not libdart_io.
491 'builtin_gen_snapshot.cc', 459 'builtin_gen_snapshot.cc',
492 # Include generated source files. 460 # Include generated source files.
493 '<(builtin_cc_file)', 461 '<(builtin_cc_file)',
494 '<(crypto_cc_file)', 462 '<(crypto_cc_file)',
495 '<(io_cc_file)', 463 '<(io_cc_file)',
496 '<(io_patch_cc_file)', 464 '<(io_patch_cc_file)',
497 '<(json_cc_file)', 465 '<(json_cc_file)',
498 '<(json_patch_cc_file)',
499 '<(uri_cc_file)', 466 '<(uri_cc_file)',
500 '<(utf_cc_file)', 467 '<(utf_cc_file)',
501 ], 468 ],
502 'conditions': [ 469 'conditions': [
503 ['OS=="win"', { 470 ['OS=="win"', {
504 'link_settings': { 471 'link_settings': {
505 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 472 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
506 }, 473 },
507 }], 474 }],
508 ['OS=="android"', { 475 ['OS=="android"', {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 ], 591 ],
625 'sources': [ 592 'sources': [
626 'main.cc', 593 'main.cc',
627 'builtin.cc', 594 'builtin.cc',
628 # Include generated source files. 595 # Include generated source files.
629 '<(builtin_cc_file)', 596 '<(builtin_cc_file)',
630 '<(crypto_cc_file)', 597 '<(crypto_cc_file)',
631 '<(io_cc_file)', 598 '<(io_cc_file)',
632 '<(io_patch_cc_file)', 599 '<(io_patch_cc_file)',
633 '<(json_cc_file)', 600 '<(json_cc_file)',
634 '<(json_patch_cc_file)',
635 '<(uri_cc_file)', 601 '<(uri_cc_file)',
636 '<(utf_cc_file)', 602 '<(utf_cc_file)',
637 'snapshot_empty.cc', 603 'snapshot_empty.cc',
638 ], 604 ],
639 'conditions': [ 605 'conditions': [
640 ['OS=="win"', { 606 ['OS=="win"', {
641 'link_settings': { 607 'link_settings': {
642 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], 608 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
643 }, 609 },
644 # Generate an import library on Windows, by exporting a function. 610 # Generate an import library on Windows, by exporting a function.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 ], 646 ],
681 'sources': [ 647 'sources': [
682 'run_vm_tests.cc', 648 'run_vm_tests.cc',
683 'builtin.cc', 649 'builtin.cc',
684 # Include generated source files. 650 # Include generated source files.
685 '<(builtin_cc_file)', 651 '<(builtin_cc_file)',
686 '<(crypto_cc_file)', 652 '<(crypto_cc_file)',
687 '<(io_cc_file)', 653 '<(io_cc_file)',
688 '<(io_patch_cc_file)', 654 '<(io_patch_cc_file)',
689 '<(json_cc_file)', 655 '<(json_cc_file)',
690 '<(json_patch_cc_file)',
691 '<(uri_cc_file)', 656 '<(uri_cc_file)',
692 '<(utf_cc_file)', 657 '<(utf_cc_file)',
693 ], 658 ],
694 'includes': [ 659 'includes': [
695 'builtin_impl_sources.gypi', 660 'builtin_impl_sources.gypi',
696 '../platform/platform_sources.gypi', 661 '../platform/platform_sources.gypi',
697 '../vm/vm_sources.gypi', 662 '../vm/vm_sources.gypi',
698 ], 663 ],
699 'defines': [ 664 'defines': [
700 'TESTING', 665 'TESTING',
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 ['OS=="mac"', { 709 ['OS=="mac"', {
745 'xcode_settings': { 710 'xcode_settings': {
746 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 711 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
747 }, 712 },
748 }], 713 }],
749 ], 714 ],
750 }, 715 },
751 ], 716 ],
752 } 717 }
753 718
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698