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

Issue 1259873002: Dart: Runs dartanalyzer for the dart_pkg build rule. (Closed)

Created:
5 years, 5 months ago by zra
Modified:
5 years, 4 months ago
Reviewers:
Cutch
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Dart: Runs dartanalyzer for the dart_pkg build rule. - Changes the dart_pkg rule to take an 'entrypoints' parameter on which the analyzer will be invoked. - Includes symlinks to all dependent packages in dart-pkg/packages, not just other dart-pkg packages. - Takes the location of the Dart SDK from //build/module_args/dart.gni instead of hard-coding it in dart_analyze.py - Fixes a couple analyzer reports. BUG= R=johnmccutchan@google.com Committed: https://chromium.googlesource.com/external/mojo/+/402986f19a165b3be13108146a913245c2c36d7c

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+408 lines, -259 lines) Patch
A + build/module_args/dart.gni View 1 1 chunk +2 lines, -7 lines 0 comments Download
M mojo/PRESUBMIT.py View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/apptest/BUILD.gn View 1 chunk +5 lines, -1 line 0 comments Download
M mojo/dart/mojom/BUILD.gn View 1 chunk +5 lines, -1 line 0 comments Download
M mojo/dart/testing/BUILD.gn View 1 chunk +3 lines, -1 line 0 comments Download
M mojo/dart/testing/lib/validation_test_input_parser.dart View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/dart/BUILD.gn View 3 chunks +6 lines, -2 lines 0 comments Download
M mojo/public/dart/lib/src/control_message.dart View 1 chunk +7 lines, -8 lines 0 comments Download
M mojo/public/dart/rules.gni View 1 2 3 6 chunks +32 lines, -11 lines 0 comments Download
M mojo/public/tools/dart_analyze.py View 1 2 4 chunks +81 lines, -24 lines 0 comments Download
M mojo/public/tools/dart_pkg.py View 2 chunks +265 lines, -204 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
zra
https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py File mojo/public/tools/dart_pkg.py (right): https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py#newcode1 mojo/public/tools/dart_pkg.py:1: #!/usr/bin/env python Changed 4 -> 2 space indents. Actual ...
5 years, 4 months ago (2015-07-27 16:27:47 UTC) #2
Cutch
https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py File mojo/public/tools/dart_pkg.py (right): https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py#newcode1 mojo/public/tools/dart_pkg.py:1: #!/usr/bin/env python On 2015/07/27 16:27:46, zra wrote: > Changed ...
5 years, 4 months ago (2015-07-27 16:31:51 UTC) #3
zra
On 2015/07/27 16:31:51, Cutch wrote: > https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py > File mojo/public/tools/dart_pkg.py (right): > > https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py#newcode1 > ...
5 years, 4 months ago (2015-07-27 16:52:31 UTC) #4
zra
On 2015/07/27 16:31:51, Cutch wrote: > https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py > File mojo/public/tools/dart_pkg.py (right): > > https://codereview.chromium.org/1259873002/diff/40001/mojo/public/tools/dart_pkg.py#newcode1 > ...
5 years, 4 months ago (2015-07-27 16:55:03 UTC) #5
Cutch
lgtm https://codereview.chromium.org/1259873002/diff/40001/mojo/public/dart/rules.gni File mojo/public/dart/rules.gni (right): https://codereview.chromium.org/1259873002/diff/40001/mojo/public/dart/rules.gni#newcode219 mojo/public/dart/rules.gni:219: # entrypoints (optional) If this is optional it ...
5 years, 4 months ago (2015-07-27 22:13:59 UTC) #6
zra
https://codereview.chromium.org/1259873002/diff/40001/mojo/public/dart/rules.gni File mojo/public/dart/rules.gni (right): https://codereview.chromium.org/1259873002/diff/40001/mojo/public/dart/rules.gni#newcode219 mojo/public/dart/rules.gni:219: # entrypoints (optional) On 2015/07/27 22:13:58, Cutch wrote: > ...
5 years, 4 months ago (2015-07-27 22:46:49 UTC) #7
zra
5 years, 4 months ago (2015-07-27 22:47:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
402986f19a165b3be13108146a913245c2c36d7c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698