| 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 # We place most generated source files in LIB_DIR (rather than, say | 7 # We place most generated source files in LIB_DIR (rather than, say |
| 8 # SHARED_INTERMEDIATE_DIR) because it is toolset specific. This avoids | 8 # SHARED_INTERMEDIATE_DIR) because it is toolset specific. This avoids |
| 9 # two problems. First, if a generated source file has architecture specific | 9 # two problems. First, if a generated source file has architecture specific |
| 10 # code, we'll get two different files in two different directories. Second, | 10 # code, we'll get two different files in two different directories. Second, |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 { | 649 { |
| 650 'target_name': 'test_extension', | 650 'target_name': 'test_extension', |
| 651 'type': 'shared_library', | 651 'type': 'shared_library', |
| 652 'dependencies': [ | 652 'dependencies': [ |
| 653 'dart', | 653 'dart', |
| 654 ], | 654 ], |
| 655 'include_dirs': [ | 655 'include_dirs': [ |
| 656 '..', | 656 '..', |
| 657 ], | 657 ], |
| 658 'sources': [ | 658 'sources': [ |
| 659 'test_extension.cc', | 659 'test_extension.c', |
| 660 'test_extension_dllmain_win.cc', | 660 'test_extension_dllmain_win.cc', |
| 661 ], | 661 ], |
| 662 'defines': [ | 662 'defines': [ |
| 663 # The only effect of DART_SHARED_LIB is to export the Dart API. | 663 # The only effect of DART_SHARED_LIB is to export the Dart API. |
| 664 'DART_SHARED_LIB', | 664 'DART_SHARED_LIB', |
| 665 ], | 665 ], |
| 666 'conditions': [ | 666 'conditions': [ |
| 667 ['OS=="win"', { | 667 ['OS=="win"', { |
| 668 'msvs_settings': { | 668 'msvs_settings': { |
| 669 'VCLinkerTool': { | 669 'VCLinkerTool': { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 682 '-fPIC', | 682 '-fPIC', |
| 683 ], | 683 ], |
| 684 }], | 684 }], |
| 685 ], | 685 ], |
| 686 }, | 686 }, |
| 687 ], | 687 ], |
| 688 }], | 688 }], |
| 689 ], | 689 ], |
| 690 } | 690 } |
| 691 | 691 |
| OLD | NEW |