Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: runtime/bin/BUILD.gn

Issue 2174503002: Fix Flutter mac build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698