OLD | NEW |
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'tools/gyp/runtime-configurations.gypi', | 7 'tools/gyp/runtime-configurations.gypi', |
8 'vm/vm.gypi', | 8 'vm/vm.gypi', |
9 'bin/bin.gypi', | 9 'bin/bin.gypi', |
10 'third_party/double-conversion/src/double-conversion.gypi', | 10 'third_party/double-conversion/src/double-conversion.gypi', |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 'vm/libdart_dependency_helper.cc', | 111 'vm/libdart_dependency_helper.cc', |
112 ], | 112 ], |
113 }, | 113 }, |
114 # Targets coming from dart/dart.gyp. | 114 # Targets coming from dart/dart.gyp. |
115 { | 115 { |
116 'target_name': 'runtime_all', | 116 'target_name': 'runtime_all', |
117 'type': 'none', | 117 'type': 'none', |
118 'dependencies': [ | 118 'dependencies': [ |
119 '../pkg/pkg.gyp:pkg_packages', | 119 '../pkg/pkg.gyp:pkg_packages', |
120 'sample_extension', | 120 'sample_extension', |
| 121 'sample_extension_no_autoscope', |
121 ], | 122 ], |
122 }, | 123 }, |
123 { | 124 { |
124 'target_name': 'sample_extension', | 125 'target_name': 'sample_extension', |
125 'type': 'shared_library', | 126 'type': 'shared_library', |
126 'dependencies': [ | 127 'dependencies': [ |
127 'dart', | 128 'dart', |
128 ], | 129 ], |
129 'include_dirs': [ | 130 'include_dirs': [ |
130 '.', | 131 '.', |
(...skipping 22 matching lines...) Expand all Loading... |
153 ], | 154 ], |
154 }, | 155 }, |
155 }], | 156 }], |
156 ['OS=="linux"', { | 157 ['OS=="linux"', { |
157 'cflags': [ | 158 'cflags': [ |
158 '-fPIC', | 159 '-fPIC', |
159 ], | 160 ], |
160 }], | 161 }], |
161 ], | 162 ], |
162 }, | 163 }, |
| 164 { |
| 165 'target_name': 'sample_extension_no_autoscope', |
| 166 'type': 'shared_library', |
| 167 'dependencies': [ |
| 168 'dart', |
| 169 ], |
| 170 'include_dirs': [ |
| 171 '.', |
| 172 ], |
| 173 'sources': [ |
| 174 '../samples/sample_extension/sample_extension_no_autoscope.cc', |
| 175 '../samples/sample_extension/sample_extension_no_autoscope_dllmain_win.c
c', |
| 176 ], |
| 177 'defines': [ |
| 178 'DART_SHARED_LIB', |
| 179 ], |
| 180 'conditions': [ |
| 181 ['OS=="win"', { |
| 182 'msvs_settings': { |
| 183 'VCLinkerTool': { |
| 184 'AdditionalDependencies': [ 'dart.lib' ], |
| 185 'AdditionalLibraryDirectories': [ '<(PRODUCT_DIR)' ], |
| 186 }, |
| 187 }, |
| 188 }], |
| 189 ['OS=="mac"', { |
| 190 'xcode_settings': { |
| 191 'OTHER_LDFLAGS': [ |
| 192 '-undefined', |
| 193 'dynamic_lookup', |
| 194 ], |
| 195 }, |
| 196 }], |
| 197 ['OS=="linux"', { |
| 198 'cflags': [ |
| 199 '-fPIC', |
| 200 ], |
| 201 }], |
| 202 ], |
| 203 }, |
163 ], | 204 ], |
164 } | 205 } |
OLD | NEW |