Commit graph

354 commits

Author SHA1 Message Date
Asger Feldthaus fbb698393d Update third_party/pkg/kernel version
This CL also updates the use of kernel in dart2js, and
updates the VM/kernel status files.

This is a preliminary step to moving kernel into the
SDK repository.

BUG=
R=het@google.com, johnniwinther@google.com, kmillikin@google.com, sigmund@google.com, vegorov@google.com

Committed: 5d66d0e5dc

Review URL: https://codereview.chromium.org/2518023002 .

Reverted: d69e048d60
2016-11-22 15:22:20 +01:00
Asger Feldthaus d69e048d60 Revert "Update third_party/pkg/kernel version"
This reverts commit 5d66d0e5dc.

BUG=

Review URL: https://codereview.chromium.org/2514323005 .
2016-11-22 14:35:56 +01:00
Asger Feldthaus 5d66d0e5dc Update third_party/pkg/kernel version
This CL also updates the use of kernel in dart2js, and
updates the VM/kernel status files.

This is a preliminary step to moving kernel into the
SDK repository.

BUG=
R=het@google.com, johnniwinther@google.com, kmillikin@google.com, sigmund@google.com, vegorov@google.com

Review URL: https://codereview.chromium.org/2518023002 .
2016-11-22 13:42:13 +01:00
pq acafb19468 Update DEPS to pull in linter 0.1.29.
* New `cascade_invocations` lint.
* Expand `await_only_futures` to accept classes that extend or implement `Future`.
* Improve camel case regular expression tests to accept `$`s.
* Fixes to `parameter_assignments` (improved getter handling and an NPE).

BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/2522563003 .
2016-11-21 11:05:05 -08:00
Devon Carew 5c9f09e657 Bring in version 3.0.3 of http_parser; it addresses an issue in the pubspec file of
one of it's dependencies.

BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/2515123002 .
2016-11-20 00:13:03 -08:00
William Hesse 373db1aba9 Revert "Roll co19 tests and update status files"
This reverts commit 2a947db2ea.
We will update the status files using buildbot logs, and try again.

BUG=
TBR=sortie@google.com

Review URL: https://codereview.chromium.org/2508863004 .
2016-11-17 13:38:09 +01:00
William Hesse 2a947db2ea Roll co19 tests and update status files
This commit will be rolled back after running on all builders to collect
error logs.

R=sortie@google.com

Review URL: https://codereview.chromium.org/2508803006 .
2016-11-17 11:56:47 +01:00
Kevin Moore 90da9eeddc Revert "Remove smoke and observe from SDK DEPS"
This reverts commit 4710e92cfc.

Analyzer tests seem to still want to use the SDK DEPS for observatory – which needs smoke and observe

Review URL: https://codereview.chromium.org/2508523002 .
2016-11-15 12:58:51 -08:00
Kevin Moore 4710e92cfc Remove smoke and observe from SDK DEPS
R=whesse@google.com

Review URL: https://codereview.chromium.org/2500393003 .
2016-11-15 12:38:40 -08:00
Kevin Moore cee0f585ad Remove pkg/pub_cache from pkg/third_party
R=devoncarew@google.com

Review URL: https://codereview.chromium.org/2498983006 .
2016-11-15 10:47:01 -08:00
Bob Nystrom 4de1cb320b Bring in the latest dart_style to the SDK.
This pulls in the latest commit off GitHub to get the bots passing
again since analyzer has a breaking change in the SDK that hasn't
been released yet.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/2499473002 .
2016-11-10 16:51:36 -08:00
William Hesse 63b1016e90 Revert "Status and DEPS files updated (#27792)"
This reverts commit be4426a9c1.
This roll of co19 tests to the latest version is tested on the
buildbots, and then reverted so any necessary status updates can
be worked on offline.

BUG=
TBR=sortie@google.com

Review URL: https://codereview.chromium.org/2488253002 .
2016-11-10 11:39:42 +01:00
Sergey G. Grekhov be4426a9c1 Status and DEPS files updated (#27792)
* Analyzer and VM status files are updated according last versions of co19 and sdk

* dart2js status file updated according the last tests run on Chrome and FF

* dart2js status file updated according the last tests run on FF

* Status files updated according latest Dartium run

* status file updated according Linux run

* DEPS and VM status files updated

* dart2js files updated for FF and Chrome on Linux

* Status files updated according the latest Chrome run
2016-11-10 11:30:53 +01:00
Zachary Anderson 630d24bec8 clang-formats remaining files and adds a presubmit check.
R=asiva@google.com, johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2483363002 .
2016-11-09 12:43:57 -08:00
Zachary Anderson 861f0be47e Fix build
Review URL: https://codereview.chromium.org/2487473002 .
2016-11-07 13:13:58 -08:00
Zachary Anderson 7b86880b01 GN: Add an option to build against the Debian wheezy sysroot
Set the environment variable DART_USE_WHEEZY to build against
the wheezy sysroot on Linux.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2476343004 .
2016-11-07 13:09:45 -08:00
Vijay Menon f1ca15ae6b Roll latest strong mode fixes in
R=leafp@google.com

Review URL: https://codereview.chromium.org/2466033002 .
2016-10-31 13:37:36 -07:00
Vijay Menon 7bf9cbb7d4 Bump to latest package:collection
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2460363002 .
2016-10-31 05:37:41 -07:00
Vyacheslav Egorov 4923c45689 Update Kernel dependency.
R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org/2459863004 .
2016-10-28 13:06:50 +02:00
Bob Nystrom 8e37e083fd Fix dart_style version.
I accidentally tagged the code review commit for "0.2.11+1", not the
commit created and landed by Rietveld. The "v0.2.11+1" tag points to the
right commit.

R=paulberry@google.com

Review URL: https://codereview.chromium.org/2438793003 .
2016-10-20 13:26:18 -07:00
Bob Nystrom 59ec5d4f60 Update dart_style to 0.2.11+1.
R=paulberry@google.com

Review URL: https://codereview.chromium.org/2442513002 .
2016-10-20 10:30:35 -07:00
Konstantin Shcheglov 377dd61e2f Move 'linter' to 0.1.28 tag.
TBR

R=brianwilkerson@google.com, pquitslund@google.com
BUG=

Review URL: https://codereview.chromium.org/2417493002 .
2016-10-11 21:32:57 -07:00
keertip ffb729d015 update DEPS to pull in dartdoc version 0.9.7+6.
BUG=
R=devoncarew@google.com

Review URL: https://codereview.chromium.org/2406563002 .
2016-10-07 11:39:20 -07:00
Ryan Macnak aa86d80462 Roll tcmalloc to fix ARM64 Linux build.
R=zra@google.com

Review URL: https://codereview.chromium.org/2394353002 .
2016-10-06 15:45:11 -07:00
Harry Terkelsen 8d746645e3 Include ClosureInfo in dump info.
Uses the 0.5.0 version of dart2js_info

R=sigmund@google.com

Review URL: https://codereview.chromium.org/2398133002 .
2016-10-06 13:48:52 -07:00
Zachary Anderson c5575aeedc Roll buildtools and clang for GN build.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2399893002 .
2016-10-06 09:51:15 -07:00
Konstantin Shcheglov 175dad4f15 Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0.
R=brianwilkerson@google.com, paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/2391423003 .
2016-10-06 08:46:35 -07:00
Zachary Anderson c67bd01d76 Select GN build with an environment variable
Setting DART_USE_GN to anything will cause 'gclient runhooks' and
build.py to use GN.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2400493002 .
2016-10-05 14:07:22 -07:00
Johnni Winther 1b2e857f19 Roll kernel to latest
+ fix default constructor encoding
+ match fall-through error handling
+ handle typedef tests
+ speed up visitor_test by reusing the Compiler object

R=het@google.com

Review URL: https://codereview.chromium.org/2392863002 .
2016-10-05 10:36:37 +02:00
Zach Anderson 9a6797e6ba GN build on windows
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2385643004 .
2016-10-04 09:19:07 -07: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
William Hesse 778a47477e Update markdown and dartdoc in DEPS, remove petitparser
BUG=
R=devoncarew@google.com

Review URL: https://codereview.chromium.org/2380303002 .
2016-09-30 21:48:54 +02:00
William Hesse c20e2a0883 Update pub, making --packages-dir false by default
BUG=https://github.com/dart-lang/sdk/issues/27399
BUG=https://github.com/dart-lang/pub/issues/1450
R=kustermann@google.com

Review URL: https://codereview.chromium.org/2374143005 .
2016-09-29 14:01:13 +02:00
Zachary Anderson 3b6f3f3969 Roll buildtools forward and fix GN build for it.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2378223002 .
2016-09-28 13:03:47 -07:00
Paul Berry e9e6b331c3 Update DEPS to pull in cli_util version 0.0.1+3.
R=pquitslund@google.com

Review URL: https://codereview.chromium.org/2371863002 .
2016-09-26 11:40:24 -07:00
pq bb4e0798df Pull linter 0.1.27 into the SDK.
* Fixed cast exception in `dart_type_utilities` (dart-lang/sdk#27405).
* New `parameter_assignments` lint.
* New `prefer_final_fields` lint.
* New `prefer_final_locals` lint.
* Markdown link fixes in docs (#306).
* Miscellaneous solo test running fixes and introduction of `solo_debug` (#304).

R=scheglov@google.com

Review URL: https://codereview.chromium.org/2369463003 .
2016-09-23 14:00:01 -07:00
Bob Nystrom f8bca9b5bc Bump dart_style to 0.2.10.
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/2365503004 .
2016-09-23 13:56:57 -07:00
Zachary Anderson 7e1b7e54d7 Starting work on full GN build
This change:
- Sucks in gn binaries
- Sucks in a version of llvm that the GN build likes
- Adds tools/gn.py to invoke gn
- Adds a root BUILD.gn and .gn file
- Removes chrome boilerplate we don't need
- etc.

This lets us do a standalone build of the 'runtime'
target for x64, ia32, arm, arm64, mips, and the
simulators on Linux, and arm and arm64 on Android.

It does not include tcmalloc, and hasn't been tested
on Mac or Windows. That work and more cleanup of
chrome boilerplate will come in follow-up CLs.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2350583002 .
2016-09-23 07:47:36 -07:00
Johnni Winther 7a570f1b80 Roll kernel to latest and add baseline test.
The added visitor_test tests that the IR generated by the KernelVisitor
in dart2js matches the spec-mode IR.

R=asgerf@google.com, het@google.com

Review URL: https://codereview.chromium.org/2360603002 .
2016-09-22 10:16:11 +02:00
William Hesse 1c413993d9 Roll pub in DEPS to pick up test status change
Does not roll dartium DEPS because it and other packages are at
much earlier versions.
Dartium DEPS should be updated all at once, in a different CL

BUG=https://github.com/dart-lang/pub/issues/1446
TBR=rnystrom@google.com

Review URL: https://codereview.chromium.org/2358083002 .
2016-09-21 19:07:42 +02:00
Zachary Anderson 2873e87a6e Roll boringssl_gen for small fixes
This pulls in small fixes that are only needed for the standalone GN
build.

Review URL: https://codereview.chromium.org/2357043002 .
2016-09-20 19:44:07 -07:00
Zachary Anderson 43231d9ff4 Pull boringssl generated source from boringssl_gen
Dart and Flutter engine both need to have the code generated for
boringssl under //third_party/boringssl. To avoid having two
copies of this code, this CL removes it from the Dart repo and
instead pulls it from a github repo that Flutter engine can
share.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2354623003 .
2016-09-20 08:46:44 -07:00
William Hesse 3bdc62bfe3 Add package_resolver to dartium DEPS, update both DEPS files.
BUG=https://github.com/dart-lang/sdk/issues/21949
BUG=https://github.com/dart-lang/sdk/issues/27065
R=eernst@google.com

Review URL: https://codereview.chromium.org/2354863002 .
2016-09-20 11:54:37 +02:00
Zachary Anderson 44a04f18f9 Use tcmalloc on Linux
Statically linking in the tcmalloc code is enough
to override the built-in malloc. I have this set up to
exclude the code for collecting heap profiles in a
Product build. There's still about a 230KB increase in
binary size, though. I think this isn't a big problem
since right now this is enabled only for server Linux.

product binary size:
before x64: 9569600
after  x64: 9807840
increase: 238240 (2.5%)

before ia32: 9122836
after  ia32: 9360944
increase: 238108 (2.6%)

before mips: 9418680
after  mips: 9640940
increase: 222260 (2.4%)

InitialRSS:
product:
before x64: 6307840
after x64:  7430144
increase: 1122304 (17.8%)

release (--no-profiler)
before x64: 7843840
after x64:  9207808
increase: 1363968 (17.4%)

R=asiva@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/2316813002 .
2016-09-16 08:24:54 -07:00
Harry Terkelsen e4f1526449 roll kernel to latest
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2329123002 .
2016-09-09 16:35:31 -07:00
William Hesse 023edb6806 Revert "Update co19 to revision d4767b4caea3c5828ad8e053cd051d44a59061af"
This reverts commit d08c2b967b.

BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/2300543004 .
2016-09-09 12:46:20 +02:00
Zachary Anderson 15fadbe2cc Remove gperftools from DEPS
R=asiva@google.com

Review URL: https://codereview.chromium.org/2326673002 .
2016-09-08 11:20:41 -07:00
Zachary Anderson cb50a52bb8 Temporarily add gperftools to DEPS for Golem
R=asiva@google.com

Review URL: https://codereview.chromium.org/2328603002 .
2016-09-08 09:58:34 -07:00
Carlo Bernaschina 5177c2bca9 Removed polymer & mirror from Observatory
web_components are still necessary, but avoiding to use shadow dom
allows us to use the lite version

Closes=https://github.com/dart-lang/sdk/issues/27239
Closes=https://github.com/dart-lang/sdk/issues/27148
Closes=https://github.com/dart-lang/sdk/issues/26952

R=johnmccutchan@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org/2310003004 .
2016-09-07 14:15:27 -07:00
pq 45a4ae042b Update DEPS to latest linter (0.1.26).
* Updated tests to use package `test` (#302).
* Fixed false positive on `[]=` in `always_declare_return_types` (#300).
* New `invariant_booleans` lint.
* New `literal_only_boolean_expressions` lint.
* Fixed `camel_case_types` to allow `$` in identifiers (#290).

BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/2309333002 .
2016-09-06 16:39:37 -07:00