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

Issue 2997703002: Fix the script analyzer/tool/generate_files (Closed)

Created:
3 years, 4 months ago by Kevin Millikin (Google)
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix the script analyzer/tool/generate_files * The script had stopped working due to a pair of changes in Dart. First, building Dart no longer produces a packages directory to use as a package-root. Second, generated Dart files are now formatted and the formatting code relies on invoking Dart from the Dart SDK in order to find dartfmt. (Specifically: invoking Dart from the build directory does not work because there is no dartfmt there, and invoking Dart via sdk/bin/dart from the SDK repository does not work because it is a shell script that invokes Dart from the build directory.) * Enable the test that the generated summary code has not changed. * Regenerate the generated summary code. BUG= R=paulberry@google.com, whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/bae72c382ab9bada7d47f94ca8b0a066702bbe68

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -11 lines) Patch
M pkg/analyzer/lib/src/summary/format.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/tool/generate_files View 1 chunk +4 lines, -8 lines 1 comment Download
M pkg/pkg.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Kevin Millikin (Google)
https://codereview.chromium.org/2997703002/diff/1/pkg/analyzer/tool/generate_files File pkg/analyzer/tool/generate_files (right): https://codereview.chromium.org/2997703002/diff/1/pkg/analyzer/tool/generate_files#newcode34 pkg/analyzer/tool/generate_files:34: BIN_DIR="${ROOT_DIR}/xcodebuild/$DART_CONFIGURATION/dart-sdk/bin" Note that this requires one to build the ...
3 years, 4 months ago (2017-08-10 12:06:01 UTC) #2
Bill Hesse
If the test that the generated files are consistent is run on the VM builders, ...
3 years, 4 months ago (2017-08-10 12:24:09 UTC) #3
Kevin Millikin (Google)
On 2017/08/10 12:24:09, Bill Hesse wrote: > If the test that the generated files are ...
3 years, 4 months ago (2017-08-10 14:29:03 UTC) #4
Brian Wilkerson
I'm going to defer to Paul on this one.
3 years, 4 months ago (2017-08-10 15:53:29 UTC) #5
Bill Hesse
lgtm
3 years, 4 months ago (2017-08-10 15:55:41 UTC) #6
Paul Berry
lgtm
3 years, 4 months ago (2017-08-10 16:38:46 UTC) #7
Kevin Millikin (Google)
3 years, 4 months ago (2017-08-11 10:05:54 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
bae72c382ab9bada7d47f94ca8b0a066702bbe68 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698