Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | |
|
Søren Gjesse
2012/10/30 09:28:32
Accidental edit?
Mads Ager (google)
2012/10/30 11:12:40
Yes, thanks!
| |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # 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 | 3 # 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. | 4 # BSD-style license that can be found in the LICENSE file. |
| 4 | 5 |
| 5 { | 6 { |
| 6 'variables': { | 7 'variables': { |
| 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 8 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
| 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 9 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', | |
| 9 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 11 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
| 10 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 12 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
| 11 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 13 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', |
| 12 'builtin_in_cc_file': 'builtin_in.cc', | 14 'builtin_in_cc_file': 'builtin_in.cc', |
| 13 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', | 15 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', |
| 14 'snapshot_in_cc_file': 'snapshot_in.cc', | 16 'snapshot_in_cc_file': 'snapshot_in.cc', |
| 15 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', | 17 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', |
| 16 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', | 18 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', |
| 17 }, | 19 }, |
| 18 'targets': [ | 20 'targets': [ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 '--var_name', 'Builtin::crypto_source_', | 74 '--var_name', 'Builtin::crypto_source_', |
| 73 '<@(_sources)', | 75 '<@(_sources)', |
| 74 ], | 76 ], |
| 75 'message': 'Generating ''<(crypto_cc_file)'' file.' | 77 'message': 'Generating ''<(crypto_cc_file)'' file.' |
| 76 }, | 78 }, |
| 77 ] | 79 ] |
| 78 }, | 80 }, |
| 79 { | 81 { |
| 80 'target_name': 'generate_io_cc_file', | 82 'target_name': 'generate_io_cc_file', |
| 81 'type': 'none', | 83 'type': 'none', |
| 84 'sources': [ | |
| 85 'io.dart', | |
| 86 ], | |
| 82 'includes': [ | 87 'includes': [ |
| 83 'io_sources.gypi', | 88 '../../lib/io/iolib_sources.gypi', |
| 84 ], | 89 ], |
| 85 'actions': [ | 90 'actions': [ |
| 86 { | 91 { |
| 87 'action_name': 'generate_io_cc', | 92 'action_name': 'generate_io_cc', |
| 88 'inputs': [ | 93 'inputs': [ |
| 89 '../tools/create_string_literal.py', | 94 '../tools/create_string_literal.py', |
| 90 '<(builtin_in_cc_file)', | 95 '<(builtin_in_cc_file)', |
| 91 '<@(_sources)', | 96 '<@(_sources)', |
| 92 ], | 97 ], |
| 93 'outputs': [ | 98 'outputs': [ |
| 94 '<(io_cc_file)', | 99 '<(io_cc_file)', |
| 95 ], | 100 ], |
| 96 'action': [ | 101 'action': [ |
| 97 'python', | 102 'python', |
| 98 'tools/create_string_literal.py', | 103 'tools/create_string_literal.py', |
| 99 '--output', '<(io_cc_file)', | 104 '--output', '<(io_cc_file)', |
| 100 '--input_cc', '<(builtin_in_cc_file)', | 105 '--input_cc', '<(builtin_in_cc_file)', |
| 101 '--include', 'bin/builtin.h', | 106 '--include', 'bin/builtin.h', |
| 102 '--var_name', 'Builtin::io_source_', | 107 '--var_name', 'Builtin::io_source_', |
| 103 '<@(_sources)', | 108 '<@(_sources)', |
| 104 ], | 109 ], |
| 105 'message': 'Generating ''<(io_cc_file)'' file.' | 110 'message': 'Generating ''<(io_cc_file)'' file.' |
| 106 }, | 111 }, |
| 107 ] | 112 ] |
| 108 }, | 113 }, |
| 109 { | 114 { |
| 115 'target_name': 'generate_io_patch_cc_file', | |
| 116 'type': 'none', | |
| 117 'includes': [ | |
| 118 'io_sources.gypi', | |
| 119 ], | |
| 120 'actions': [ | |
| 121 { | |
| 122 'action_name': 'generate_io_patch_cc', | |
| 123 'inputs': [ | |
| 124 '../tools/create_string_literal.py', | |
| 125 '<(builtin_in_cc_file)', | |
| 126 '<@(_sources)', | |
| 127 ], | |
| 128 'outputs': [ | |
| 129 '<(io_patch_cc_file)', | |
| 130 ], | |
| 131 'action': [ | |
| 132 'python', | |
| 133 'tools/create_string_literal.py', | |
| 134 '--output', '<(io_patch_cc_file)', | |
| 135 '--input_cc', '<(builtin_in_cc_file)', | |
| 136 '--include', 'bin/builtin.h', | |
| 137 '--var_name', 'Builtin::io_patch_', | |
| 138 '<@(_sources)', | |
| 139 ], | |
| 140 'message': 'Generating ''<(io_patch_cc_file)'' file.' | |
| 141 }, | |
| 142 ] | |
| 143 }, | |
| 144 { | |
| 110 'target_name': 'generate_json_cc_file', | 145 'target_name': 'generate_json_cc_file', |
| 111 'type': 'none', | 146 'type': 'none', |
| 112 'includes': [ | 147 'includes': [ |
| 113 'json_sources.gypi', | 148 'json_sources.gypi', |
| 114 ], | 149 ], |
| 115 'actions': [ | 150 'actions': [ |
| 116 { | 151 { |
| 117 'action_name': 'generate_json_cc', | 152 'action_name': 'generate_json_cc', |
| 118 'inputs': [ | 153 'inputs': [ |
| 119 '../tools/create_string_literal.py', | 154 '../tools/create_string_literal.py', |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 215 }, | 250 }, |
| 216 ] | 251 ] |
| 217 }, | 252 }, |
| 218 { | 253 { |
| 219 'target_name': 'libdart_builtin', | 254 'target_name': 'libdart_builtin', |
| 220 'type': 'static_library', | 255 'type': 'static_library', |
| 221 'dependencies': [ | 256 'dependencies': [ |
| 222 'generate_builtin_cc_file', | 257 'generate_builtin_cc_file', |
| 223 'generate_crypto_cc_file', | 258 'generate_crypto_cc_file', |
| 224 'generate_io_cc_file', | 259 'generate_io_cc_file', |
| 260 'generate_io_patch_cc_file', | |
| 225 'generate_json_cc_file', | 261 'generate_json_cc_file', |
| 226 'generate_uri_cc_file', | 262 'generate_uri_cc_file', |
| 227 'generate_utf_cc_file', | 263 'generate_utf_cc_file', |
| 228 ], | 264 ], |
| 229 'include_dirs': [ | 265 'include_dirs': [ |
| 230 '..', | 266 '..', |
| 231 ], | 267 ], |
| 232 'sources': [ | 268 'sources': [ |
| 233 'builtin_natives.cc', | 269 'builtin_natives.cc', |
| 234 'builtin.h', | 270 'builtin.h', |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 299 'include_dirs': [ | 335 'include_dirs': [ |
| 300 '..', | 336 '..', |
| 301 ], | 337 ], |
| 302 'sources': [ | 338 'sources': [ |
| 303 'gen_snapshot.cc', | 339 'gen_snapshot.cc', |
| 304 'builtin.cc', | 340 'builtin.cc', |
| 305 # Include generated source files. | 341 # Include generated source files. |
| 306 '<(builtin_cc_file)', | 342 '<(builtin_cc_file)', |
| 307 '<(crypto_cc_file)', | 343 '<(crypto_cc_file)', |
| 308 '<(io_cc_file)', | 344 '<(io_cc_file)', |
| 345 '<(io_patch_cc_file)', | |
| 309 '<(json_cc_file)', | 346 '<(json_cc_file)', |
| 310 '<(uri_cc_file)', | 347 '<(uri_cc_file)', |
| 311 '<(utf_cc_file)', | 348 '<(utf_cc_file)', |
| 312 ], | 349 ], |
| 313 'conditions': [ | 350 'conditions': [ |
| 314 ['OS=="win"', { | 351 ['OS=="win"', { |
| 315 'link_settings': { | 352 'link_settings': { |
| 316 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 353 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 317 }, | 354 }, |
| 318 }]], | 355 }]], |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 418 'include_dirs': [ | 455 'include_dirs': [ |
| 419 '..', | 456 '..', |
| 420 ], | 457 ], |
| 421 'sources': [ | 458 'sources': [ |
| 422 'main.cc', | 459 'main.cc', |
| 423 'builtin.cc', | 460 'builtin.cc', |
| 424 # Include generated source files. | 461 # Include generated source files. |
| 425 '<(builtin_cc_file)', | 462 '<(builtin_cc_file)', |
| 426 '<(crypto_cc_file)', | 463 '<(crypto_cc_file)', |
| 427 '<(io_cc_file)', | 464 '<(io_cc_file)', |
| 465 '<(io_patch_cc_file)', | |
| 428 '<(json_cc_file)', | 466 '<(json_cc_file)', |
| 429 '<(uri_cc_file)', | 467 '<(uri_cc_file)', |
| 430 '<(utf_cc_file)', | 468 '<(utf_cc_file)', |
| 431 'snapshot_empty.cc', | 469 'snapshot_empty.cc', |
| 432 ], | 470 ], |
| 433 'conditions': [ | 471 'conditions': [ |
| 434 ['OS=="win"', { | 472 ['OS=="win"', { |
| 435 'link_settings': { | 473 'link_settings': { |
| 436 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 474 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 437 }, | 475 }, |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 456 '..', | 494 '..', |
| 457 '<(SHARED_INTERMEDIATE_DIR)', | 495 '<(SHARED_INTERMEDIATE_DIR)', |
| 458 ], | 496 ], |
| 459 'sources': [ | 497 'sources': [ |
| 460 'run_vm_tests.cc', | 498 'run_vm_tests.cc', |
| 461 'builtin.cc', | 499 'builtin.cc', |
| 462 # Include generated source files. | 500 # Include generated source files. |
| 463 '<(builtin_cc_file)', | 501 '<(builtin_cc_file)', |
| 464 '<(crypto_cc_file)', | 502 '<(crypto_cc_file)', |
| 465 '<(io_cc_file)', | 503 '<(io_cc_file)', |
| 504 '<(io_patch_cc_file)', | |
| 466 '<(json_cc_file)', | 505 '<(json_cc_file)', |
| 467 '<(uri_cc_file)', | 506 '<(uri_cc_file)', |
| 468 '<(utf_cc_file)', | 507 '<(utf_cc_file)', |
| 469 ], | 508 ], |
| 470 'includes': [ | 509 'includes': [ |
| 471 'builtin_impl_sources.gypi', | 510 'builtin_impl_sources.gypi', |
| 472 '../platform/platform_sources.gypi', | 511 '../platform/platform_sources.gypi', |
| 473 '../vm/vm_sources.gypi', | 512 '../vm/vm_sources.gypi', |
| 474 ], | 513 ], |
| 475 'defines': [ | 514 'defines': [ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 519 ['OS=="mac"', { | 558 ['OS=="mac"', { |
| 520 'xcode_settings': { | 559 'xcode_settings': { |
| 521 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 560 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
| 522 }, | 561 }, |
| 523 }], | 562 }], |
| 524 ], | 563 ], |
| 525 }, | 564 }, |
| 526 ], | 565 ], |
| 527 } | 566 } |
| 528 | 567 |
| OLD | NEW |