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

Side by Side Diff: build/prebuilt_dart_sdk.gni

Issue 2493833002: GN: Don't depend on dart_bootstrap if there is a usable prebuilt sdk (Closed)
Patch Set: Created 4 years, 1 month 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 | « build/gn_run_binary.py ('k') | runtime/observatory/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 import("executable_suffix.gni")
6
7 _dart_root = rebase_path("..")
8
9 _prebuilt_dart_exe = "$_dart_root/tools/sdks/$host_os/dart-sdk/bin/dart"
10
11 # Our gn_run_binary swallows output unless there is an error.
12 _prebuilt_dart_exe_trial = exec_script("gn_run_binary.py",
13 [_prebuilt_dart_exe, "--version"], "string")
14 if (_prebuilt_dart_exe_trial == "") {
15 prebuilt_dart_exe_works = true
16 } else {
17 prebuilt_dart_exe_works = false
18 }
OLDNEW
« no previous file with comments | « build/gn_run_binary.py ('k') | runtime/observatory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698