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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 | 8 |
| 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', | 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', |
| 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', | 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 414 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 414 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
| 415 }, | 415 }, |
| 416 # Generate an import library on Windows, by exporting a function. | 416 # Generate an import library on Windows, by exporting a function. |
| 417 # Extensions use this import library to link to the API in dart.exe. | 417 # Extensions use this import library to link to the API in dart.exe. |
| 418 'msvs_settings': { | 418 'msvs_settings': { |
| 419 'VCLinkerTool': { | 419 'VCLinkerTool': { |
| 420 'AdditionalOptions': [ '/EXPORT:Dart_True' ], | 420 'AdditionalOptions': [ '/EXPORT:Dart_True' ], |
| 421 }, | 421 }, |
| 422 }, | 422 }, |
| 423 }], | 423 }], |
| 424 ['OS=="mac"', { | |
|
Ivan Posva
2014/08/11 22:06:15
Thanks for the update. In that case this is the wr
| |
| 425 'link_settings': { | |
| 426 'libraries': [ | |
| 427 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | |
| 428 '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework', | |
| 429 ], | |
| 430 }, | |
| 431 }], | |
| 424 ], | 432 ], |
| 425 'configurations': { | 433 'configurations': { |
| 426 'Dart_Linux_Base': { | 434 'Dart_Linux_Base': { |
| 427 # Have the linker add all symbols to the dynamic symbol table | 435 # Have the linker add all symbols to the dynamic symbol table |
| 428 # so that extensions can look them up dynamically in the binary. | 436 # so that extensions can look them up dynamically in the binary. |
| 429 'ldflags': [ | 437 'ldflags': [ |
| 430 '-rdynamic', | 438 '-rdynamic', |
| 431 ], | 439 ], |
| 432 }, | 440 }, |
| 433 }, | 441 }, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 583 }], | 591 }], |
| 584 ['OS=="linux"', { | 592 ['OS=="linux"', { |
| 585 'cflags': [ | 593 'cflags': [ |
| 586 '-fPIC', | 594 '-fPIC', |
| 587 ], | 595 ], |
| 588 }], | 596 }], |
| 589 ], | 597 ], |
| 590 }, | 598 }, |
| 591 ], | 599 ], |
| 592 } | 600 } |
| OLD | NEW |