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

Issue 404333004: - Fail if toolchain is not set instead of warning always even if not necessary. (Closed)

Created:
6 years, 5 months ago by Ivan Posva
Modified:
6 years, 5 months ago
Reviewers:
zra, Bill Hesse
CC:
reviews_dartlang.org, ricow1
Visibility:
Public.

Description

- Fail if toolchain is not set instead of warning always even if not necessary. R=whesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=38460

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M tools/build.py View 4 chunks +7 lines, -6 lines 3 comments Download

Messages

Total messages: 5 (0 generated)
Ivan Posva
https://codereview.chromium.org/404333004/diff/1/tools/build.py File tools/build.py (right): https://codereview.chromium.org/404333004/diff/1/tools/build.py#newcode537 tools/build.py:537: if BuildOneConfig(options, target, target_os, mode, arch, cross_build) != 0: ...
6 years, 5 months ago (2014-07-22 13:26:10 UTC) #1
Bill Hesse
lgtm https://codereview.chromium.org/404333004/diff/1/tools/build.py File tools/build.py (left): https://codereview.chromium.org/404333004/diff/1/tools/build.py#oldcode370 tools/build.py:370: filter_xcodebuild_output = False Should override_tools be renamed to ...
6 years, 5 months ago (2014-07-22 14:21:07 UTC) #2
Ivan Posva
https://codereview.chromium.org/404333004/diff/1/tools/build.py File tools/build.py (left): https://codereview.chromium.org/404333004/diff/1/tools/build.py#oldcode370 tools/build.py:370: filter_xcodebuild_output = False On 2014/07/22 14:21:07, Bill Hesse wrote: ...
6 years, 5 months ago (2014-07-22 14:26:13 UTC) #3
Ivan Posva
Committed patchset #1 manually as r38460 (presubmit successful).
6 years, 5 months ago (2014-07-22 15:01:10 UTC) #4
zra
6 years, 5 months ago (2014-07-22 16:33:56 UTC) #5
Message was sent while issue was closed.
On 2014/07/22 14:26:13, Ivan Posva wrote:
> For example while
> testing different versions of gcc or switching between clang and gcc.
> 
> I think this is something that got lost along the way of refactoring this
code.

This is still possible, unless I'm missing something. The default host toolchain
is only forced (override_tools=False passed to BuildOneConfig) when doing a
cross-build for create_sdk. Otherwise, a toolchain specified by --toolchain is
used whether or not it's a cross-build. Maybe the parameter should be called
'allow_toolchain_override'?

Powered by Google App Engine
This is Rietveld 408576698