| 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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 ['include', '_gen\\.cc$'], | 761 ['include', '_gen\\.cc$'], |
| 762 ['include', '_test\\.(cc|h)$'], | 762 ['include', '_test\\.(cc|h)$'], |
| 763 ], | 763 ], |
| 764 'conditions': [ | 764 'conditions': [ |
| 765 ['OS=="win"', { | 765 ['OS=="win"', { |
| 766 'link_settings': { | 766 'link_settings': { |
| 767 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], | 767 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ], |
| 768 }, | 768 }, |
| 769 }], | 769 }], |
| 770 ], | 770 ], |
| 771 'configurations': { |
| 772 'Dart_Linux_Base': { |
| 773 # Have the linker add all symbols to the dynamic symbol table |
| 774 # so that extensions can look them up dynamically in the binary. |
| 775 'ldflags': [ |
| 776 '-rdynamic', |
| 777 ], |
| 778 }, |
| 779 }, |
| 771 }, | 780 }, |
| 772 { | 781 { |
| 773 'target_name': 'test_extension', | 782 'target_name': 'test_extension', |
| 774 'type': 'shared_library', | 783 'type': 'shared_library', |
| 775 'dependencies': [ | 784 'dependencies': [ |
| 776 'dart', | 785 'dart', |
| 777 ], | 786 ], |
| 778 'include_dirs': [ | 787 'include_dirs': [ |
| 779 '..', | 788 '..', |
| 780 ], | 789 ], |
| (...skipping 28 matching lines...) Expand all Loading... |
| 809 }], | 818 }], |
| 810 ['OS=="linux"', { | 819 ['OS=="linux"', { |
| 811 'cflags': [ | 820 'cflags': [ |
| 812 '-fPIC', | 821 '-fPIC', |
| 813 ], | 822 ], |
| 814 }], | 823 }], |
| 815 ], | 824 ], |
| 816 }, | 825 }, |
| 817 ], | 826 ], |
| 818 } | 827 } |
| OLD | NEW |