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

Issue 286883004: Update test.dart to tell the analyzer to use the --use-dart2js-libraries flag when analyzing dart2j… (Closed)

Created:
6 years, 7 months ago by Emily Fortuna
Modified:
6 years, 7 months ago
Reviewers:
ricow1, ahe, Brian Wilkerson
CC:
reviews_dartlang.org, ricow1
Visibility:
Public.

Description

Update test.dart to tell the analyzer to use the --use-dart2js-libraries flag when analyzing dart2js libs. BUG= R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=36189

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M tools/testing/dart/test_suite.dart View 1 1 chunk +6 lines, -0 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Emily Fortuna
This enables the option that Brian added a while back so we can use it ...
6 years, 7 months ago (2014-05-14 20:29:31 UTC) #1
Brian Wilkerson
LGTM
6 years, 7 months ago (2014-05-14 20:33:02 UTC) #2
Emily Fortuna
Committed patchset #2 manually as r36189 (presubmit successful).
6 years, 7 months ago (2014-05-14 20:34:54 UTC) #3
ricow1
https://codereview.chromium.org/286883004/diff/30001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/286883004/diff/30001/tools/testing/dart/test_suite.dart#newcode1401 tools/testing/dart/test_suite.dart:1401: args.add("--use-dart2js-libraries"); this is a major hack and we should ...
6 years, 7 months ago (2014-05-15 06:50:10 UTC) #4
Emily Fortuna
6 years, 7 months ago (2014-05-15 15:21:56 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/286883004/diff/30001/tools/testing/dart/test_...
File tools/testing/dart/test_suite.dart (right):

https://codereview.chromium.org/286883004/diff/30001/tools/testing/dart/test_...
tools/testing/dart/test_suite.dart:1401: args.add("--use-dart2js-libraries");
On 2014/05/15 06:50:10, ricow1 wrote:
> this is a major hack and we should try to do this in another way - this will
> include files that it is not suppose to.
> Which test suites are we exactly trying to do this for?

Agreed it's a major hack. I didn't know of a nicer way to do so. This is for
analyzing any of the dart2js html files (web_gl_dart2js.dart, html_dart2js.dart
and so on). We have the vague convention of ending in "dart2js" in the filename,
but then also html_common bucks that trend. Brian can come up with some more
examples, but I believe there were others that didn't fit the pattern so well
either, which is why he added the flag to begin with, rather than
"auto-detecting" it was a dart2js lib.

Powered by Google App Engine
This is Rietveld 408576698