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

Issue 1276333002: sdk/dart now detects an available build (Closed)

Created:
5 years, 4 months ago by stanm
Modified:
5 years, 4 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org, dgrove
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

sdk/dart now detects an available build The shell scripts in sdk/sdk are using ReleaseIA32 as the default build configuration in the case one is not provided as an environment variable. This is arbitrary so a check of the available builds is performed and if ReleaseIA32 is available it is selected. Otherwise, an arbitrary configuration is selected (currently the last one lexicographically). In the case where there are no subfolders in the "out" folder, ReleaseIA32 is selected, in order to produce the same error that used to be produced before (this can be changed to a custom message for user-friendliness). Currently only the "dart" shell script is changed and if the change is accepted, the others will be changed too. R=floitsch@google.com, zerny@google.com Committed: https://github.com/dart-lang/sdk/commit/ac8a228d0b1dc86cb02f9d15ce0320c4e03b56cd

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments and add error messages #

Total comments: 8

Patch Set 3 : Addressed comments. #

Patch Set 4 : Make error message better #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M sdk/bin/dart View 1 2 3 1 chunk +30 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
stanm
5 years, 4 months ago (2015-08-07 17:00:25 UTC) #1
floitsch
https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart#newcode23 sdk/bin/dart:23: CONFIGS=$( ls "$CUR_DIR"/../../out/ ) This only works for Linux. ...
5 years, 4 months ago (2015-08-10 11:48:40 UTC) #4
stanm
https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart#newcode23 sdk/bin/dart:23: CONFIGS=$( ls "$CUR_DIR"/../../out/ ) On 2015/08/10 11:48:40, floitsch wrote: ...
5 years, 4 months ago (2015-08-10 14:51:40 UTC) #5
floitsch
https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart#newcode31 sdk/bin/dart:31: # lexicographically On 2015/08/10 14:51:40, stanm wrote: > On ...
5 years, 4 months ago (2015-08-10 14:56:09 UTC) #6
floitsch
https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/1276333002/diff/1/sdk/bin/dart#newcode31 sdk/bin/dart:31: # lexicographically On 2015/08/10 14:56:09, floitsch wrote: > On ...
5 years, 4 months ago (2015-08-10 14:56:49 UTC) #7
stanm
PTAL
5 years, 4 months ago (2015-08-12 09:58:32 UTC) #8
floitsch
LGTM. https://codereview.chromium.org/1276333002/diff/20001/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/1276333002/diff/20001/sdk/bin/dart#newcode31 sdk/bin/dart:31: COUNT=$( echo $DIRS | wc -w ) You ...
5 years, 4 months ago (2015-08-12 11:26:08 UTC) #9
stanm
Addressed comments. https://codereview.chromium.org/1276333002/diff/20001/sdk/bin/dart File sdk/bin/dart (right): https://codereview.chromium.org/1276333002/diff/20001/sdk/bin/dart#newcode31 sdk/bin/dart:31: COUNT=$( echo $DIRS | wc -w ) ...
5 years, 4 months ago (2015-08-12 12:30:18 UTC) #10
stanm
5 years, 4 months ago (2015-08-12 13:19:34 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
ac8a228d0b1dc86cb02f9d15ce0320c4e03b56cd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698