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 'includes': [ | 6 'includes': [ |
7 '../../runtime/tools/gyp/runtime-configurations.gypi', | 7 '../../runtime/tools/gyp/runtime-configurations.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 26 matching lines...) Expand all Loading... |
37 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 37 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
38 }, | 38 }, |
39 }], | 39 }], |
40 ['OS=="linux"', { | 40 ['OS=="linux"', { |
41 'cflags': [ | 41 'cflags': [ |
42 '-fPIC', | 42 '-fPIC', |
43 ], | 43 ], |
44 }], | 44 }], |
45 ], | 45 ], |
46 }, | 46 }, |
| 47 { |
| 48 'target_name': 'sample_extension_no_autoscope', |
| 49 'type': 'shared_library', |
| 50 'dependencies': [ |
| 51 '../../runtime/dart-runtime.gyp:dart', |
| 52 ], |
| 53 'include_dirs': [ |
| 54 '../../runtime', |
| 55 ], |
| 56 'sources': [ |
| 57 'sample_extension_no_autoscope.cc', |
| 58 'sample_extension_no_autoscope_dllmain_win.cc', |
| 59 ], |
| 60 'defines': [ |
| 61 'DART_SHARED_LIB', |
| 62 ], |
| 63 'conditions': [ |
| 64 ['OS=="win"', { |
| 65 'msvs_settings': { |
| 66 'VCLinkerTool': { |
| 67 'AdditionalDependencies': [ 'dart.lib' ], |
| 68 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], |
| 69 }, |
| 70 }, |
| 71 }], |
| 72 ['OS=="mac"', { |
| 73 'xcode_settings': { |
| 74 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
| 75 }, |
| 76 }], |
| 77 ['OS=="linux"', { |
| 78 'cflags': [ |
| 79 '-fPIC', |
| 80 ], |
| 81 }], |
| 82 ], |
| 83 }, |
47 ], | 84 ], |
48 } | 85 } |
OLD | NEW |