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

Issue 11740025: Add dart2js option to select library categories. (Closed)

Created:
7 years, 11 months ago by ahe
Modified:
7 years, 11 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add dart2js option to select library categories. By default, the compiler will only accept the Client category, meaning that it will be an error to import dart:io. During testing on d8, the compiler will support all library categories to continue supporting so called "mock compilation". Committed: https://code.google.com/p/dart/source/detail?r=17637

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Fix dartdoc and some unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -6 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart View 1 4 chunks +17 lines, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/dart2js.dart View 1 2 4 chunks +33 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/dartdoc/lib/dartdoc.dart View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M dart/tests/compiler/dart2js/analyze_api_test.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M dart/tests/compiler/dart2js/dart_backend_test.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M dart/tools/testing/dart/test_suite.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ahe
This fixes http://dartbug.com/7673.
7 years, 11 months ago (2013-01-03 18:54:28 UTC) #1
Johnni Winther
lgtm
7 years, 11 months ago (2013-01-09 06:35:35 UTC) #2
ahe
PTAL, I think all tests are passing now, including dart2dart. Also, dartdoc works.
7 years, 11 months ago (2013-01-25 11:08:02 UTC) #3
Johnni Winther
7 years, 11 months ago (2013-01-25 12:06:22 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698