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 1408253006: Introduce "platform configurations" to replace categories and libraries.dart. (Closed)

Created:
5 years, 1 month ago by sigurdm
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org, Søren Gjesse, Lasse Reichstein Nielsen, floitsch
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce "platform configurations" to replace categories and libraries.dart. A small writeup of the thoughts behind this concept can be found at: https://docs.google.com/a/google.com/document/d/1WkqJVPphuThH8h2jDqBOb6h1iMkrkQIO7PF638-qlso/edit?usp=sharing BUG= R=floitsch@google.com, johnniwinther@google.com, whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/c0d5f73bd02506e697e507e172dc4effe07f0787

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Add consistency checking test #

Patch Set 3 : Address review comments #

Total comments: 6

Patch Set 4 : Address review comments. Update create_sdk.gyp, create_sdk.py #

Total comments: 4

Patch Set 5 : Fix create_sdk scripts according to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+734 lines, -195 lines) Patch
M create_sdk.gyp View 1 2 3 4 1 chunk +7 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/apiimpl.dart View 1 2 3 9 chunks +107 lines, -98 lines 0 comments Download
M pkg/compiler/lib/src/common/backend_api.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 chunk +22 lines, -0 lines 0 comments Download
A pkg/compiler/lib/src/platform_configuration.dart View 1 2 3 1 chunk +142 lines, -0 lines 0 comments Download
M pkg/compiler/samples/darttags/darttags.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/dart2js_incremental/lib/caching_compiler.dart View 1 chunk +10 lines, -7 lines 0 comments Download
M pkg/dart2js_incremental/lib/dart2js_incremental.dart View 3 chunks +3 lines, -5 lines 0 comments Download
A sdk/lib/dart2dart.platform View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A sdk/lib/dart_client.platform View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A sdk/lib/dart_server.platform View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A sdk/lib/dart_shared.platform View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/analyze_only_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/backend_dart/dart_backend_test.dart View 4 chunks +5 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/categories_test.dart View 1 chunk +2 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/library_resolution_test.dart View 1 2 3 chunks +31 lines, -64 lines 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/platform_config_parser_test.dart View 1 2 3 1 chunk +130 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/platform_consistency_test.dart View 1 1 chunk +41 lines, -0 lines 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 chunk +3 lines, -1 line 0 comments Download
M tools/create_sdk.py View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
sigurdm
5 years, 1 month ago (2015-10-29 15:27:31 UTC) #3
sigurdm
5 years, 1 month ago (2015-10-29 15:27:50 UTC) #4
sigurdm
I made a test of consistency between the known platform files.
5 years, 1 month ago (2015-10-30 10:23:12 UTC) #5
Johnni Winther
LGTM Can you add a test of the consistency between the different .platform files? https://codereview.chromium.org/1408253006/diff/20001/pkg/compiler/lib/src/apiimpl.dart ...
5 years, 1 month ago (2015-10-30 10:38:39 UTC) #6
Johnni Winther
Test LGTM
5 years, 1 month ago (2015-10-30 10:57:54 UTC) #7
sigurdm
https://codereview.chromium.org/1408253006/diff/20001/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1408253006/diff/20001/pkg/compiler/lib/src/apiimpl.dart#newcode58 pkg/compiler/lib/src/apiimpl.dart:58: /// Initialized in [setupSdk()]. On 2015/10/30 10:38:39, Johnni Winther ...
5 years, 1 month ago (2015-10-30 11:38:27 UTC) #8
sigurdm
Lasse, Florian: Do you have comments/objections to the proposed direction?
5 years, 1 month ago (2015-10-30 11:44:46 UTC) #9
floitsch
LGTM. https://codereview.chromium.org/1408253006/diff/60001/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1408253006/diff/60001/pkg/compiler/lib/src/apiimpl.dart#newcode345 pkg/compiler/lib/src/apiimpl.dart:345: bool allowInternalLibraryAccess = false; bool allowInternalLibraryAccess = importingLibrary ...
5 years, 1 month ago (2015-10-30 20:43:07 UTC) #11
sigurdm
Bill, could you review the changes to create_sdk.gyp and create_sdk.py? https://codereview.chromium.org/1408253006/diff/60001/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1408253006/diff/60001/pkg/compiler/lib/src/apiimpl.dart#newcode345 ...
5 years, 1 month ago (2015-11-02 10:06:39 UTC) #13
Bill Hesse
Build changes LGTM to me. https://codereview.chromium.org/1408253006/diff/80001/create_sdk.gyp File create_sdk.gyp (right): https://codereview.chromium.org/1408253006/diff/80001/create_sdk.gyp#newcode28 create_sdk.gyp:28: '<!@(["python", "tools/list_files.py",' Would it ...
5 years, 1 month ago (2015-11-02 10:33:27 UTC) #14
sigurdm
https://codereview.chromium.org/1408253006/diff/80001/create_sdk.gyp File create_sdk.gyp (right): https://codereview.chromium.org/1408253006/diff/80001/create_sdk.gyp#newcode28 create_sdk.gyp:28: '<!@(["python", "tools/list_files.py",' On 2015/11/02 10:33:27, Bill Hesse wrote: > ...
5 years, 1 month ago (2015-11-02 11:56:11 UTC) #15
sigurdm
5 years, 1 month ago (2015-11-02 12:02:40 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as
c0d5f73bd02506e697e507e172dc4effe07f0787 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698