OLD | NEW |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, 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 import("runtime_args.gni") | 5 import("runtime_args.gni") |
6 | 6 |
7 config("dart_public_config") { | 7 config("dart_public_config") { |
8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
9 } | 9 } |
10 | 10 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "vm/native_api_impl.cc", | 192 "vm/native_api_impl.cc", |
193 "vm/version.h", | 193 "vm/version.h", |
194 ] | 194 ] |
195 defines = [ "DART_SHARED_LIB" ] | 195 defines = [ "DART_SHARED_LIB" ] |
196 } | 196 } |
197 } | 197 } |
198 | 198 |
199 libdart_library("libdart_jit") { | 199 libdart_library("libdart_jit") { |
200 extra_configs = [ ":dart_maybe_product_config" ] | 200 extra_configs = [ ":dart_maybe_product_config" ] |
201 extra_deps = [ | 201 extra_deps = [ |
202 "vm:libdart_platform", | 202 "platform:libdart_platform", |
203 "vm:libdart_lib_jit", | 203 "vm:libdart_lib_jit", |
204 "vm:libdart_vm_jit", | 204 "vm:libdart_vm_jit", |
205 ] | 205 ] |
206 } | 206 } |
207 | 207 |
208 libdart_library("libdart_jit_product") { | 208 libdart_library("libdart_jit_product") { |
209 extra_configs = [ ":dart_product_config" ] | 209 extra_configs = [ ":dart_product_config" ] |
210 extra_deps = [ | 210 extra_deps = [ |
211 "vm:libdart_platform_product", | 211 "platform:libdart_platform_product", |
212 "vm:libdart_lib_jit_product", | 212 "vm:libdart_lib_jit_product", |
213 "vm:libdart_vm_jit_product", | 213 "vm:libdart_vm_jit_product", |
214 ] | 214 ] |
215 } | 215 } |
216 | 216 |
217 libdart_library("libdart_precompiled_runtime") { | 217 libdart_library("libdart_precompiled_runtime") { |
218 extra_configs = [ | 218 extra_configs = [ |
219 ":dart_maybe_product_config", | 219 ":dart_maybe_product_config", |
220 ":dart_precompiled_runtime_config", | 220 ":dart_precompiled_runtime_config", |
221 ] | 221 ] |
222 extra_deps = [ | 222 extra_deps = [ |
223 "vm:libdart_platform", | 223 "platform:libdart_platform", |
224 "vm:libdart_lib_precompiled_runtime", | 224 "vm:libdart_lib_precompiled_runtime", |
225 "vm:libdart_vm_precompiled_runtime", | 225 "vm:libdart_vm_precompiled_runtime", |
226 ] | 226 ] |
227 } | 227 } |
228 | 228 |
229 libdart_library("libdart_precompiled_runtime_product") { | 229 libdart_library("libdart_precompiled_runtime_product") { |
230 extra_configs = [ | 230 extra_configs = [ |
231 ":dart_product_config", | 231 ":dart_product_config", |
232 ":dart_precompiled_runtime_config", | 232 ":dart_precompiled_runtime_config", |
233 ] | 233 ] |
234 extra_deps = [ | 234 extra_deps = [ |
235 "vm:libdart_platform_product", | 235 "platform:libdart_platform_product", |
236 "vm:libdart_lib_precompiled_runtime_product", | 236 "vm:libdart_lib_precompiled_runtime_product", |
237 "vm:libdart_vm_precompiled_runtime_product", | 237 "vm:libdart_vm_precompiled_runtime_product", |
238 ] | 238 ] |
239 } | 239 } |
240 | 240 |
241 libdart_library("libdart_nosnapshot_with_precompiler") { | 241 libdart_library("libdart_nosnapshot_with_precompiler") { |
242 extra_configs = [ | 242 extra_configs = [ |
243 ":dart_maybe_product_config", | 243 ":dart_maybe_product_config", |
244 ":dart_no_snapshot_config", | 244 ":dart_no_snapshot_config", |
245 ":dart_precompiler_config", | 245 ":dart_precompiler_config", |
246 ] | 246 ] |
247 extra_deps = [ | 247 extra_deps = [ |
248 "vm:libdart_platform", | 248 "platform:libdart_platform", |
249 "vm:libdart_lib_nosnapshot_with_precompiler", | 249 "vm:libdart_lib_nosnapshot_with_precompiler", |
250 "vm:libdart_vm_nosnapshot_with_precompiler", | 250 "vm:libdart_vm_nosnapshot_with_precompiler", |
251 ] | 251 ] |
252 } | 252 } |
253 | 253 |
254 libdart_library("libdart_nosnapshot_with_precompiler_product") { | 254 libdart_library("libdart_nosnapshot_with_precompiler_product") { |
255 extra_configs = [ | 255 extra_configs = [ |
256 ":dart_product_config", | 256 ":dart_product_config", |
257 ":dart_no_snapshot_config", | 257 ":dart_no_snapshot_config", |
258 ":dart_precompiler_config", | 258 ":dart_precompiler_config", |
259 ] | 259 ] |
260 extra_deps = [ | 260 extra_deps = [ |
261 "vm:libdart_platform_product", | 261 "platform:libdart_platform_product", |
262 "vm:libdart_lib_nosnapshot_with_precompiler_product", | 262 "vm:libdart_lib_nosnapshot_with_precompiler_product", |
263 "vm:libdart_vm_nosnapshot_with_precompiler_product", | 263 "vm:libdart_vm_nosnapshot_with_precompiler_product", |
264 ] | 264 ] |
265 } | 265 } |
266 | 266 |
267 libdart_library("libdart_with_precompiler") { | 267 libdart_library("libdart_with_precompiler") { |
268 extra_configs = [ | 268 extra_configs = [ |
269 ":dart_maybe_product_config", | 269 ":dart_maybe_product_config", |
270 ":dart_precompiler_config", | 270 ":dart_precompiler_config", |
271 ] | 271 ] |
272 extra_deps = [ | 272 extra_deps = [ |
273 "vm:libdart_platform", | 273 "platform:libdart_platform", |
274 "vm:libdart_lib_with_precompiler", | 274 "vm:libdart_lib_with_precompiler", |
275 "vm:libdart_vm_with_precompiler", | 275 "vm:libdart_vm_with_precompiler", |
276 ] | 276 ] |
277 } | 277 } |
278 | 278 |
279 libdart_library("libdart_with_precompiler_product") { | 279 libdart_library("libdart_with_precompiler_product") { |
280 extra_configs = [ | 280 extra_configs = [ |
281 ":dart_product_config", | 281 ":dart_product_config", |
282 ":dart_precompiler_config", | 282 ":dart_precompiler_config", |
283 ] | 283 ] |
284 extra_deps = [ | 284 extra_deps = [ |
285 "vm:libdart_platform_product", | 285 "platform:libdart_platform_product", |
286 "vm:libdart_lib_with_precompiler_product", | 286 "vm:libdart_lib_with_precompiler_product", |
287 "vm:libdart_vm_with_precompiler_product", | 287 "vm:libdart_vm_with_precompiler_product", |
288 ] | 288 ] |
289 } | 289 } |
290 | 290 |
291 action("generate_version_cc_file") { | 291 action("generate_version_cc_file") { |
292 deps = [ | 292 deps = [ |
293 "third_party/double-conversion/src:libdouble_conversion", | 293 "third_party/double-conversion/src:libdouble_conversion", |
294 "vm:libdart_lib_jit", | 294 "vm:libdart_lib_jit", |
295 "vm:libdart_lib_nosnapshot_with_precompiler", | 295 "vm:libdart_lib_nosnapshot_with_precompiler", |
(...skipping 13 matching lines...) Expand all Loading... |
309 | 309 |
310 script = "../tools/make_version.py" | 310 script = "../tools/make_version.py" |
311 args = [ | 311 args = [ |
312 "--quiet", | 312 "--quiet", |
313 "--output", | 313 "--output", |
314 rebase_path(output, root_build_dir), | 314 rebase_path(output, root_build_dir), |
315 "--input", | 315 "--input", |
316 rebase_path("vm/version_in.cc", root_build_dir), | 316 rebase_path("vm/version_in.cc", root_build_dir), |
317 ] | 317 ] |
318 } | 318 } |
OLD | NEW |