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

Issue 2828583003: remove dependencies to analyzer from lib/src/fasta (Closed)

Created:
3 years, 8 months ago by Siggi Cherem (dart-lang)
Modified:
3 years, 8 months ago
Reviewers:
ahe, Paul Berry
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

loader, target, diet_listener moved from front_end/lib/src/fasta/analyzer/ to analyzer/lib/src/fasta/ analyzer_compile and compile_platform_dartk moved from front_end/lib/src/fasta/analyzer/ to front_end/tool/_fasta/ front_end/src/fasta/testing/* continues to have some shared testing logic, - logic to compute the patched sdk is moved up one level - TestContext, Run, and suite.dart (which depend on analyzer) moved to pkg/front_end/test/fasta/testing/ - only a copy of TestContext is duplicated under pkg/kernel/test/closure/. R=ahe@google.com, paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/06189b271a4a0bd87c469c33168279c68051c724

Patch Set 1 #

Patch Set 2 : v1 #

Patch Set 3 : add copyright #

Total comments: 14

Patch Set 4 : cl review load platform #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -930 lines) Patch
A + pkg/analyzer/lib/src/fasta/analyzer_diet_listener.dart View 1 chunk +9 lines, -6 lines 0 comments Download
A + pkg/analyzer/lib/src/fasta/analyzer_loader.dart View 1 chunk +7 lines, -4 lines 0 comments Download
A + pkg/analyzer/lib/src/fasta/analyzer_target.dart View 1 chunk +4 lines, -3 lines 0 comments Download
D pkg/front_end/lib/src/fasta/analyzer/README.md View 1 chunk +0 lines, -8 lines 0 comments Download
D pkg/front_end/lib/src/fasta/analyzer/analyzer_compile.dart View 1 chunk +0 lines, -65 lines 0 comments Download
D pkg/front_end/lib/src/fasta/analyzer/analyzer_diet_listener.dart View 1 chunk +0 lines, -36 lines 0 comments Download
D pkg/front_end/lib/src/fasta/analyzer/analyzer_loader.dart View 1 chunk +0 lines, -41 lines 0 comments Download
D pkg/front_end/lib/src/fasta/analyzer/analyzer_target.dart View 1 chunk +0 lines, -25 lines 0 comments Download
D pkg/front_end/lib/src/fasta/analyzer/compile_platform_dartk.dart View 1 2 3 1 chunk +0 lines, -120 lines 0 comments Download
D pkg/front_end/lib/src/fasta/environment_variable.dart View 1 2 3 1 chunk +0 lines, -72 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/run.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A + pkg/front_end/lib/src/fasta/testing/environment_variable.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/testing/kernel_chain.dart View 1 2 3 7 chunks +11 lines, -169 lines 0 comments Download
A pkg/front_end/lib/src/fasta/testing/patched_sdk_location.dart View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
D pkg/front_end/lib/src/fasta/testing/suite.dart View 1 2 3 1 chunk +0 lines, -218 lines 0 comments Download
M pkg/front_end/test/fasta/bootstrap_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/test/fasta/compile_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/test/fasta/kompile_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/test/fasta/outline_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/test/fasta/sdk_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/test/fasta/strong_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/test/fasta/testing.json View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + pkg/front_end/test/fasta/testing/suite.dart View 1 2 3 4 chunks +67 lines, -73 lines 0 comments Download
M pkg/front_end/test/subpackage_relationships_test.dart View 1 2 3 4 3 chunks +2 lines, -14 lines 0 comments Download
M pkg/front_end/tool/_fasta/analyzer_compile.dart View 1 chunk +61 lines, -3 lines 0 comments Download
M pkg/front_end/tool/_fasta/compile_platform_dartk.dart View 1 1 chunk +0 lines, -8 lines 0 comments Download
M pkg/kernel/test/closures/suite.dart View 1 2 3 4 chunks +28 lines, -53 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Siggi Cherem (dart-lang)
more details on the email I sent to the team offline. https://codereview.chromium.org/2828583003/diff/100001/pkg/front_end/lib/src/fasta/patched_sdk_location.dart File pkg/front_end/lib/src/fasta/patched_sdk_location.dart (right): ...
3 years, 8 months ago (2017-04-19 20:46:18 UTC) #8
Paul Berry
lgtm I'm curious to hear what Peter thinks.
3 years, 8 months ago (2017-04-20 07:36:10 UTC) #9
ahe
Can we go over this together in our 1:1? https://codereview.chromium.org/2828583003/diff/100001/pkg/front_end/lib/src/fasta/patched_sdk_location.dart File pkg/front_end/lib/src/fasta/patched_sdk_location.dart (right): https://codereview.chromium.org/2828583003/diff/100001/pkg/front_end/lib/src/fasta/patched_sdk_location.dart#newcode7 pkg/front_end/lib/src/fasta/patched_sdk_location.dart:7: ...
3 years, 8 months ago (2017-04-20 09:24:50 UTC) #10
ahe
https://codereview.chromium.org/2828583003/diff/100001/pkg/front_end/lib/src/fasta/run.dart File pkg/front_end/lib/src/fasta/run.dart (right): https://codereview.chromium.org/2828583003/diff/100001/pkg/front_end/lib/src/fasta/run.dart#newcode5 pkg/front_end/lib/src/fasta/run.dart:5: library fasta.run; We can probably remove this and use ...
3 years, 8 months ago (2017-04-20 09:37:14 UTC) #11
Siggi Cherem (dart-lang)
PTAL I did what we talked about offline: I made the tests load the platform.dill ...
3 years, 8 months ago (2017-04-21 04:29:23 UTC) #14
ahe
lgtm
3 years, 8 months ago (2017-04-25 13:55:05 UTC) #16
ahe
On 2017/04/21 04:29:23, Siggi Cherem (dart-lang) wrote: > I did what we talked about offline: ...
3 years, 8 months ago (2017-04-25 13:58:05 UTC) #17
Siggi Cherem (dart-lang)
On 2017/04/25 13:58:05, ahe wrote: > On 2017/04/21 04:29:23, Siggi Cherem (dart-lang) wrote: > > ...
3 years, 8 months ago (2017-04-25 15:59:02 UTC) #18
Siggi Cherem (dart-lang)
3 years, 8 months ago (2017-04-25 20:16:21 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:200001) manually as
06189b271a4a0bd87c469c33168279c68051c724 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698