Commit Graph

24 Commits

Author SHA1 Message Date
Sigmund Cherem 2e1c17e5c1 Revert "dump-info: Use relative paths for library canonicalUri..."
This reverts commit 7fe8659613.

Reason for revert: we decided to take an alternative approach to solve the problem.

Original change's description:
> dump-info: Use relative paths for library canonicalUri...
> 
> ...if they are within the working directory
> 
> Makes output from dump-info more stable, especially with pkg:build
> 
> Change-Id: I3e6c444a0aa7df55c10e1bdff4b59ef035d2acc3
> Reviewed-on: https://dart-review.googlesource.com/53168
> Reviewed-by: Harry Terkelsen <het@google.com>
> Commit-Queue: Kevin Moore <kevmoo@google.com>

TBR=kevmoo@google.com,het@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I701847cf8879599c3d129a83809b8fe1c9d9d172
Reviewed-on: https://dart-review.googlesource.com/54141
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-05-08 02:00:52 +00:00
Kevin Moore 7fe8659613 dump-info: Use relative paths for library canonicalUri...
...if they are within the working directory

Makes output from dump-info more stable, especially with pkg:build

Change-Id: I3e6c444a0aa7df55c10e1bdff4b59ef035d2acc3
Reviewed-on: https://dart-review.googlesource.com/53168
Reviewed-by: Harry Terkelsen <het@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-05-01 16:47:26 +00:00
Harry Terkelsen b7666dd327 dart2js: Remove lookup map support
Change-Id: Id435dc0f54165285c0d291d2e1c984da92bfd22a
Reviewed-on: https://dart-review.googlesource.com/5284
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Harry Terkelsen <het@google.com>
2017-09-12 20:16:12 +00:00
Kevin Moore 1120d10daf Finish cleaning up analyzer warnings
Also Updated pubspec to use the SDK version of kernel

Closes https://github.com/dart-lang/sdk/issues/28454

R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2815383003 .
2017-04-14 10:28:07 -07:00
Johnni Winther 09a11a5c5f Update pkg/compiler/pubspec.yaml
Review-Url: https://codereview.chromium.org/2671723002 .
2017-02-02 14:28:25 +01:00
Johnni Winther cffc20cdf5 Update dart2js/pubspec
R=het@google.com

Review URL: https://codereview.chromium.org/2540103002 .
2016-12-01 10:44:46 +01:00
Asger Feldthaus ce428a1f20 Complete merge of kernel repo into SDK.
This removes third_party/pkg/kernel and changes dependencies to
refer to pkg/kernel instead.

Some status files are updated to reflect new test outcomes.
2016-11-23 12:46:29 +01:00
Harry Terkelsen 90b54ed78b roll dart2js_info to 0.3.0
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2379573010 .
2016-09-30 16:02:55 -07:00
Harry Terkelsen b86be4ea68 Copy Rasta visitor to dart2js.
This code is unused now, but will be used to create the SSA graph
from Kernel IR.

BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2265383002 .
2016-08-22 15:31:48 -07:00
Kevin Moore 17a2ddfd42 Update dependency on pkg/package_compiler
For analysis_server, analyzer, analyzer_cli, compiler packages

Progress on https://github.com/dart-lang/sdk/issues/26711

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/2172683002 .
2016-07-27 08:42:05 -07:00
Harry Terkelsen 22200410c0 dart2js: update pubspec
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1582923002 .
2016-01-13 15:01:05 -08:00
Florian Loitsch 45f4d82cde Revert shared dart2js messages.
This partially reverts commit e802e26d7b.
This reverts commit 6ecea2f559.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/1589493002 .
2016-01-13 18:32:55 +01:00
Florian Loitsch 6ecea2f559 Add dart_messages package.
R=johnniwinther@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org/1514333002 .
2015-12-17 18:15:17 +01:00
Jacob Richman cd2752431e Support user generated custom native JS classes.
BUG=
R=jmesserly@google.com, sra@google.com

Review URL: https://codereview.chromium.org//1318043005 .
2015-10-13 13:15:28 -07:00
Sigmund Cherem 93f61f383e dart2js send stats, includes:
- initial visitor to collecting data about sends (incomplete)
- logic to emit data in a json summary file.
- logic to print summary information on the command-line
- logic to display some of the data in a web UI.

BUG=
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1220043005 .
2015-10-02 11:10:41 -07:00
Sigmund Cherem d78be6beb0 Fix typo in lookup map, use pub_semver to check version constraints in dart2js
R=sra@google.com

Review URL: https://codereview.chromium.org//1301373009 .
2015-09-08 14:51:23 -07:00
Sigmund Cherem 2c660aa2f0 dart2js: add initial support for lookup-maps
R=herhut@google.com, sra@google.com

Review URL: https://codereview.chromium.org//1320503003 .
2015-09-02 17:51:59 -07:00
Sigmund Cherem aae02054d2 Record information about constants in dump info
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1301903002 .
2015-08-19 13:52:49 -07:00
Sigmund Cherem 8896ccd385 dart2js: switch to use dart2js_info/info.dart
R=het@google.com

Review URL: https://codereview.chromium.org//1298553002 .
2015-08-18 15:44:38 -07:00
William Hesse e2928705be Move third_party/pkg/package_config to pkg_tested.
Closes https://github.com/dart-lang/sdk/issues/24092

R=ricow@google.com

Review URL: https://codereview.chromium.org//1296093003 .
2015-08-18 15:04:41 +02:00
Sigmund Cherem e3fbf44643 dart2js: add function coverage tracking in dart2js output, dumpinfo, and
coverage recording server

R=sra@google.com

Review URL: https://codereview.chromium.org//1288593002 .
2015-08-13 16:47:58 -07:00
Sigmund Cherem 571c1d5b6e dart2js: add an example script that shows the distribution of code among
libraries.

For example, running this on the dump-info of angular2 'hello
world' would produce:

  path             8807   1.21%
  stack_trace     11501   1.59%
  intl            14135   1.95%
  Loose files    142311  19.62%
  angular2       224171  30.90%
  Core libs      225120  31.03%
  All packages   258614  35.65%
  TOTAL          626045  86.30%

Note that the grouping of libraries, say by package, and summary information is
configurable.

R=het@google.com

Review URL: https://codereview.chromium.org//1287543002 .
2015-08-11 14:59:59 -07:00
Sigmund Cherem b273d56f0d Fix pkgbuild tests after adding a pubspec on pkg/compiler (fix #23750)
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1217353002.
2015-07-01 08:19:00 -07:00
Sigmund Cherem b18c5a3e7c sdk files reorganization to make dart2js a proper package
BUG=
R=brianwilkerson@google.com, floitsch@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1212513002.
2015-06-29 10:21:14 -07:00