| 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 | 5 |
| 6 declare_args() { | 6 declare_args() { |
| 7 dart_io_support = false | 7 dart_io_support = false |
| 8 | 8 |
| 9 # TODO(zra, jamesr): Remove this check once we start building boringssl for | 9 # TODO(zra, jamesr): Remove this check once we start building boringssl for |
| 10 # the fuchsia port. | 10 # the fuchsia port. |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 if ((current_toolchain == host_toolchain) || | 215 if ((current_toolchain == host_toolchain) || |
| 216 (!defined(is_fuchsia) || !is_fuchsia)) { | 216 (!defined(is_fuchsia) || !is_fuchsia)) { |
| 217 io_impl_sources_gypi = | 217 io_impl_sources_gypi = |
| 218 exec_script("../../tools/gypi_to_gn.py", | 218 exec_script("../../tools/gypi_to_gn.py", |
| 219 [ rebase_path("io_impl_sources.gypi") ], | 219 [ rebase_path("io_impl_sources.gypi") ], |
| 220 "scope", | 220 "scope", |
| 221 [ "io_impl_sources.gypi" ]) | 221 [ "io_impl_sources.gypi" ]) |
| 222 } | 222 } |
| 223 | 223 |
| 224 if (current_toolchain == host_toolchain) { | 224 if (!defined(is_fuchsia) || (current_toolchain == host_toolchain)) { |
| 225 | 225 |
| 226 executable("gen_snapshot") { | 226 executable("gen_snapshot") { |
| 227 configs += ["..:dart_config", | 227 configs += ["..:dart_config", |
| 228 "..:dart_product_config", | 228 "..:dart_product_config", |
| 229 "..:dart_precompiler_config"] | 229 "..:dart_precompiler_config"] |
| 230 deps = [ | 230 deps = [ |
| 231 ":gen_resources_cc", | 231 ":gen_resources_cc", |
| 232 ":gen_snapshot_dart_io", | 232 ":gen_snapshot_dart_io", |
| 233 ":generate_builtin_cc_file", | 233 ":generate_builtin_cc_file", |
| 234 ":generate_io_cc_file", | 234 ":generate_io_cc_file", |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 "..", | 460 "..", |
| 461 "../include" | 461 "../include" |
| 462 ] | 462 ] |
| 463 | 463 |
| 464 deps = [ | 464 deps = [ |
| 465 ":dart_snapshot_cc", | 465 ":dart_snapshot_cc", |
| 466 ":libdart_embedder_noio", | 466 ":libdart_embedder_noio", |
| 467 ] | 467 ] |
| 468 } | 468 } |
| 469 } | 469 } |
| OLD | NEW |