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

Side by Side Diff: build/prebuilt_dart_sdk.gni

Issue 2494853002: Make gn_run_binary.py do the right thing for compiled_action (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') | 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) 2016, the Dart project authors. Please see the AUTHORS file 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 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("executable_suffix.gni") 5 import("executable_suffix.gni")
6 6
7 _dart_root = rebase_path("..") 7 _dart_root = rebase_path("..")
8 8
9 _prebuilt_dart_exe = "$_dart_root/tools/sdks/$host_os/dart-sdk/bin/dart" 9 _prebuilt_dart_exe = "$_dart_root/tools/sdks/$host_os/dart-sdk/bin/dart"
10 10
11 # Our gn_run_binary swallows output unless there is an error. 11 # Our gn_run_binary swallows output unless there is an error.
12 _prebuilt_dart_exe_trial = exec_script("gn_run_binary.py", 12 _prebuilt_dart_exe_trial = exec_script("gn_run_binary.py",
13 [_prebuilt_dart_exe, "--version"], "string") 13 ["exec_script", _prebuilt_dart_exe, "--version"], "string")
14 if (_prebuilt_dart_exe_trial == "") { 14 if (_prebuilt_dart_exe_trial == "") {
15 prebuilt_dart_exe_works = true 15 prebuilt_dart_exe_works = true
16 } else { 16 } else {
17 prebuilt_dart_exe_works = false 17 prebuilt_dart_exe_works = false
18 } 18 }
OLDNEW
« no previous file with comments | « build/gn_run_binary.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698