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

Issue 2660173002: implement default analysis options in bazel (Closed)

Created:
3 years, 10 months ago by danrubel
Modified:
3 years, 10 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

implement default analysis options in bazel * if no analysis options file is found using the default search algorithm, check for options in package:dart.analysis_options/default.yaml * implement common workspace superclass R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/3dba1f9e3674b2b3d9c7e27a2414fd3863389135

Patch Set 1 #

Total comments: 4

Patch Set 2 : merge #

Patch Set 3 : address comment #

Patch Set 4 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -48 lines) Patch
M pkg/analyzer/lib/src/context/builder.dart View 1 2 4 chunks +93 lines, -43 lines 0 comments Download
M pkg/analyzer/lib/src/generated/bazel.dart View 3 chunks +20 lines, -1 line 0 comments Download
M pkg/analyzer/lib/src/generated/gn.dart View 4 chunks +18 lines, -4 lines 0 comments Download
A pkg/analyzer/lib/src/generated/workspace.dart View 1 chunk +32 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/context/builder_test.dart View 1 5 chunks +51 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
danrubel
3 years, 10 months ago (2017-01-30 14:25:54 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/lib/src/context/builder.dart File pkg/analyzer/lib/src/context/builder.dart (right): https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/lib/src/context/builder.dart#newcode408 pkg/analyzer/lib/src/context/builder.dart:408: source = Merge initialization with declaration? https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/test/src/context/builder_test.dart File ...
3 years, 10 months ago (2017-01-30 14:56:06 UTC) #3
danrubel
Committed patchset #4 (id:60001) manually as 3dba1f9e3674b2b3d9c7e27a2414fd3863389135 (presubmit successful).
3 years, 10 months ago (2017-01-30 18:59:51 UTC) #5
danrubel
3 years, 10 months ago (2017-01-30 19:00:44 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/lib/src/contex...
File pkg/analyzer/lib/src/context/builder.dart (right):

https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/lib/src/contex...
pkg/analyzer/lib/src/context/builder.dart:408: source =
On 2017/01/30 14:56:05, Brian Wilkerson wrote:
> Merge initialization with declaration?

Done.

https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/test/src/conte...
File pkg/analyzer/test/src/context/builder_test.dart (right):

https://codereview.chromium.org/2660173002/diff/1/pkg/analyzer/test/src/conte...
pkg/analyzer/test/src/context/builder_test.dart:527: void
test_getAnalysisOptions_default_bazel() {
On 2017/01/30 14:56:05, Brian Wilkerson wrote:
> Should we have a similar test for Gn?

Good point, but I don't know an appropriate default for Gn. I can implement and
add a test in a subsequent CL once we determine a proper course of action.

Powered by Google App Engine
This is Rietveld 408576698