| 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 declare_args() { | 7 declare_args() { |
| 8 # Instead of using is_debug, we introduce a different flag for specifying a | 8 # Instead of using is_debug, we introduce a different flag for specifying a |
| 9 # Debug build of Dart so that clients can still use a Release build of Dart | 9 # Debug build of Dart so that clients can still use a Release build of Dart |
| 10 # while themselves doing a Debug build. | 10 # while themselves doing a Debug build. |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 } | 198 } |
| 199 extra_deps = [] | 199 extra_deps = [] |
| 200 if (defined(invoker.extra_deps)) { | 200 if (defined(invoker.extra_deps)) { |
| 201 extra_deps += invoker.extra_deps | 201 extra_deps += invoker.extra_deps |
| 202 } | 202 } |
| 203 static_library(target_name) { | 203 static_library(target_name) { |
| 204 configs += [ | 204 configs += [ |
| 205 ":dart_config", | 205 ":dart_config", |
| 206 ":dart_maybe_product_config", | 206 ":dart_maybe_product_config", |
| 207 ] + extra_configs | 207 ] + extra_configs |
| 208 if (is_fuchsia) { |
| 209 configs -= [ "//build/config:symbol_visibility_hidden" ] |
| 210 } |
| 208 deps = [ | 211 deps = [ |
| 209 "vm:libdart_platform", | 212 "vm:libdart_platform", |
| 210 "third_party/double-conversion/src:libdouble_conversion", | 213 "third_party/double-conversion/src:libdouble_conversion", |
| 211 ":generate_version_cc_file", | 214 ":generate_version_cc_file", |
| 212 ] + extra_deps | 215 ] + extra_deps |
| 213 include_dirs = [ "." ] | 216 include_dirs = [ "." ] |
| 214 public_configs = [ ":dart_public_config" ] | 217 public_configs = [ ":dart_public_config" ] |
| 215 sources = [ | 218 sources = [ |
| 216 "$target_gen_dir/version.cc", | 219 "$target_gen_dir/version.cc", |
| 217 "include/dart_api.h", | 220 "include/dart_api.h", |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 "--input", | 308 "--input", |
| 306 rebase_path("vm/version_in.cc", root_build_dir), | 309 rebase_path("vm/version_in.cc", root_build_dir), |
| 307 ] | 310 ] |
| 308 } | 311 } |
| 309 | 312 |
| 310 executable("libdart_dependency_helper") { | 313 executable("libdart_dependency_helper") { |
| 311 configs += [ | 314 configs += [ |
| 312 ":dart_config", | 315 ":dart_config", |
| 313 ":dart_maybe_product_config", | 316 ":dart_maybe_product_config", |
| 314 ] | 317 ] |
| 318 if (is_fuchsia) { |
| 319 configs -= [ "//build/config:symbol_visibility_hidden" ] |
| 320 } |
| 315 deps = [ | 321 deps = [ |
| 316 "third_party/double-conversion/src:libdouble_conversion", | 322 "third_party/double-conversion/src:libdouble_conversion", |
| 317 "vm:libdart_lib_jit", | 323 "vm:libdart_lib_jit", |
| 318 "vm:libdart_lib_nosnapshot_with_precompiler", | 324 "vm:libdart_lib_nosnapshot_with_precompiler", |
| 319 "vm:libdart_vm_jit", | 325 "vm:libdart_vm_jit", |
| 320 "vm:libdart_vm_nosnapshot_with_precompiler", | 326 "vm:libdart_vm_nosnapshot_with_precompiler", |
| 321 ] | 327 ] |
| 322 sources = [ | 328 sources = [ |
| 323 "vm/libdart_dependency_helper.cc", | 329 "vm/libdart_dependency_helper.cc", |
| 324 ] | 330 ] |
| 325 } | 331 } |
| OLD | NEW |