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

Issue 2598593003: support --options flag and other analysis options flags in DDC (Closed)

Created:
3 years, 12 months ago by danrubel
Modified:
3 years, 11 months ago
Reviewers:
vsm, Jennifer Messerly
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

support --options flag and other analysis options flags in DDC This updates DDC options processing to support: * --options /path/to/analysis/options/file.yaml * --enable-strict-call-checks * --supermixin * --no-implicit-casts * --no-implicit-dynamic As well as general refactoring and cleanup of DDC options processing R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/55ef6e193c21d4f1ae976c08645609c0c969db1b

Patch Set 1 #

Patch Set 2 : add missing tests #

Total comments: 8

Patch Set 3 : merge #

Patch Set 4 : address comments #

Patch Set 5 : fix tests #

Total comments: 8

Patch Set 6 : address comments #

Patch Set 7 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -98 lines) Patch
M pkg/analyzer/lib/src/command_line/arguments.dart View 1 2 3 6 chunks +14 lines, -10 lines 0 comments Download
M pkg/dev_compiler/lib/src/analyzer/context.dart View 1 2 3 7 chunks +20 lines, -51 lines 0 comments Download
M pkg/dev_compiler/lib/src/compiler/command.dart View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/dev_compiler/lib/src/compiler/compiler.dart View 1 2 3 4 5 5 chunks +35 lines, -22 lines 0 comments Download
M pkg/dev_compiler/test/all_tests.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/dev_compiler/test/codegen_test.dart View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
A pkg/dev_compiler/test/options/analysis_options.yaml View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A pkg/dev_compiler/test/options/analysis_options_2.yaml View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A pkg/dev_compiler/test/options/options_test.dart View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
M pkg/dev_compiler/web/web_command.dart View 1 2 3 4 5 4 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
danrubel
3 years, 12 months ago (2016-12-21 18:10:05 UTC) #2
danrubel
3 years, 12 months ago (2016-12-21 18:10:20 UTC) #4
vsm
https://codereview.chromium.org/2598593003/diff/20001/pkg/dev_compiler/lib/src/analyzer/context.dart File pkg/dev_compiler/lib/src/analyzer/context.dart (right): https://codereview.chromium.org/2598593003/diff/20001/pkg/dev_compiler/lib/src/analyzer/context.dart#newcode64 pkg/dev_compiler/lib/src/analyzer/context.dart:64: ..strongMode = true; Maybe ..defaultOptions = new AnalysisOptionsImpl()..strongMode = ...
3 years, 11 months ago (2017-01-03 17:56:28 UTC) #5
danrubel
Comments addressed. PTAL. https://codereview.chromium.org/2598593003/diff/20001/pkg/dev_compiler/lib/src/analyzer/context.dart File pkg/dev_compiler/lib/src/analyzer/context.dart (right): https://codereview.chromium.org/2598593003/diff/20001/pkg/dev_compiler/lib/src/analyzer/context.dart#newcode64 pkg/dev_compiler/lib/src/analyzer/context.dart:64: ..strongMode = true; On 2017/01/03 17:56:28, ...
3 years, 11 months ago (2017-01-03 18:51:48 UTC) #6
vsm
https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode67 pkg/dev_compiler/lib/src/compiler/compiler.dart:67: factory ModuleCompiler(String projRoot, AnalyzerOptions options, Perhaps rename projRoot to ...
3 years, 11 months ago (2017-01-04 20:20:39 UTC) #7
danrubel
See answers inline. PLMK. https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode67 pkg/dev_compiler/lib/src/compiler/compiler.dart:67: factory ModuleCompiler(String projRoot, AnalyzerOptions options, ...
3 years, 11 months ago (2017-01-04 20:41:20 UTC) #8
vsm
https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode67 pkg/dev_compiler/lib/src/compiler/compiler.dart:67: factory ModuleCompiler(String projRoot, AnalyzerOptions options, On 2017/01/04 20:41:20, danrubel ...
3 years, 11 months ago (2017-01-04 20:46:20 UTC) #9
danrubel
Comments addressed. PTAL. https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2598593003/diff/80001/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode67 pkg/dev_compiler/lib/src/compiler/compiler.dart:67: factory ModuleCompiler(String projRoot, AnalyzerOptions options, On ...
3 years, 11 months ago (2017-01-04 21:37:42 UTC) #10
vsm
lgtm
3 years, 11 months ago (2017-01-04 22:15:53 UTC) #11
danrubel
3 years, 11 months ago (2017-01-04 23:15:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
55ef6e193c21d4f1ae976c08645609c0c969db1b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698