Chromium Code Reviews| OLD | NEW |
|---|---|
| 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', |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 315 'include_dirs': [ | 315 'include_dirs': [ |
| 316 '..', | 316 '..', |
| 317 ], | 317 ], |
| 318 'sources': [ | 318 'sources': [ |
| 319 '../include/dart_api.h', | 319 '../include/dart_api.h', |
| 320 '../include/dart_debugger_api.h', | 320 '../include/dart_debugger_api.h', |
| 321 '../vm/dart_api_impl.cc', | 321 '../vm/dart_api_impl.cc', |
| 322 '../vm/debugger_api_impl.cc', | 322 '../vm/debugger_api_impl.cc', |
| 323 '<(version_cc_file)', | 323 '<(version_cc_file)', |
| 324 ], | 324 ], |
| 325 'defines': [ | |
| 326 'DART_SHARED_LIB', | |
|
Mads Ager (google)
2012/11/07 10:16:27
This looks wrong.
'type': 'static_library'
'defi
Bill Hesse
2012/11/07 11:23:26
The only effect of DART_SHARED_LIB is to use _decl
Mads Ager (google)
2012/11/07 11:52:00
OK. This looked weird because of that naming. Add
Ivan Posva
2012/11/08 20:32:12
Siva and I discussed earlier today whether we shou
| |
| 327 ], | |
| 325 }, | 328 }, |
| 326 { | 329 { |
| 327 # Completely statically linked binary for generating snapshots. | 330 # Completely statically linked binary for generating snapshots. |
| 328 'target_name': 'gen_snapshot', | 331 'target_name': 'gen_snapshot', |
| 329 'type': 'executable', | 332 'type': 'executable', |
| 330 'dependencies': [ | 333 'dependencies': [ |
| 331 'libdart_withcore', | 334 'libdart_withcore', |
| 332 'libdart_builtin', | 335 'libdart_builtin', |
| 333 ], | 336 ], |
| 334 'include_dirs': [ | 337 'include_dirs': [ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 465 '<(json_cc_file)', | 468 '<(json_cc_file)', |
| 466 '<(uri_cc_file)', | 469 '<(uri_cc_file)', |
| 467 '<(utf_cc_file)', | 470 '<(utf_cc_file)', |
| 468 'snapshot_empty.cc', | 471 'snapshot_empty.cc', |
| 469 ], | 472 ], |
| 470 'conditions': [ | 473 'conditions': [ |
| 471 ['OS=="win"', { | 474 ['OS=="win"', { |
| 472 'link_settings': { | 475 'link_settings': { |
| 473 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 476 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 474 }, | 477 }, |
| 478 # Generate an import library on Windows, by exporting a function. | |
| 479 # Extensions use this import library to link to the API in dart.exe. | |
|
Ivan Posva
2012/11/08 20:32:12
This is actually dart_no_snapshot.exe. Can you als
| |
| 480 'msvs_settings': { | |
| 481 'VCLinkerTool': { | |
| 482 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | |
| 483 }, | |
| 484 }, | |
| 475 }]], | 485 }]], |
| 476 }, | 486 }, |
| 477 { | 487 { |
| 478 'target_name': 'process_test', | 488 'target_name': 'process_test', |
| 479 'type': 'executable', | 489 'type': 'executable', |
| 480 'sources': [ | 490 'sources': [ |
| 481 'process_test.cc', | 491 'process_test.cc', |
| 482 ] | 492 ] |
| 483 }, | 493 }, |
| 484 { | 494 { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 557 ['OS=="mac"', { | 567 ['OS=="mac"', { |
| 558 'xcode_settings': { | 568 'xcode_settings': { |
| 559 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 569 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
| 560 }, | 570 }, |
| 561 }], | 571 }], |
| 562 ], | 572 ], |
| 563 }, | 573 }, |
| 564 ], | 574 ], |
| 565 } | 575 } |
| 566 | 576 |
| OLD | NEW |