Commit graph

335 commits

Author SHA1 Message Date
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
William Hesse 8c096d6dab Update dependencies in third-party/packages
BUG=
R=lrn@google.com

Review URL: https://codereview.chromium.org/2300363002 .
2016-09-02 13:26:58 +02:00
William Hesse 1e959c3718 Revert update of co19 and followup status changes
This reverts commit d08c2b967b.
This reverts commit c76badd899.
This reverts commit 82cd69976a.

We are almost there with the status updates, but it is better
to revert, and do them carefully, rather than rushing.

Review URL: https://codereview.chromium.org/2299023006 .
2016-09-01 22:57:41 +02:00
William Hesse d08c2b967b Update co19 to revision d4767b4caea3c5828ad8e053cd051d44a59061af
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2307493003 .
2016-09-01 17:47:47 +02:00
William Hesse 2a7946817b Update third_party/pkg/stack_trace to 1.6.6
All packages in third_party except markdown are now at the latest
released version. Markdown will be rolled in a separate CL.

BUG=
R=mit@google.com

Review URL: https://codereview.chromium.org/2297363004 .
2016-09-01 14:01:29 +02:00
William Hesse 7bceafd11e Update all packages in third_party/pkg to latest compatible version
Packages markdown and stack_trace are not updated, because of their high impact.
They will be updated in separate CLs.

BUG=
R=nweiz@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org/2297213002 .
2016-09-01 10:12:23 +02:00
John Messerly c1cde9600b use pkg/dev_compiler in the build 2016-08-31 18:05:17 -07:00
Konstantin Shcheglov ee08f86c91 Rename test_reflective_loader_tag to test_reflective_loader_rev in DEPS.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/2292423003 .
2016-08-31 14:05:10 -07:00
Konstantin Shcheglov cc6beaf56d Pull in test_reflective_loader 0.0.4 and switch analyzer to it.
There are following changes:

1. DEPS to pull in test_reflective_loader 0.0.4
2. Rename runReflectiveTests() to defineReflectiveTests().
3. Remove analyzer's pkg/analyzer/test/reflective_tests.dart
4. Replace reflective_tests.dart imports with package:test_reflective_loader/test_reflective_loader.dart imports.
5. Sort/format and organize imports in the files with imports changes.
6. Fix for a couple of bugs in analysis_server exposed by the new loader.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/2298913003 .
2016-08-31 13:46:39 -07:00
Jacob Richman c2f07c61f2 DEPS AutoUpdate: dev_compiler
commit 01d4907cff61ecf934940e7243f79ef68e4bb12b
Author: Vijay Menon <vsm@google.com>

    Mark test flaky
2016-08-31 09:56:08 -07:00
Jacob Richman 2e287201e2 DEPS AutoUpdate: dev_compiler
commit 80fcd4337743378bde800ad9a3b99b0d76d560c2
Author: Vijay Menon <vsm@google.com>

    Remove deprecated code
2016-08-30 15:40:44 -07:00
Vijay Menon 7d49209e7d Roll DDC
auto script is down right now

TBR=jmesserly@google.com

Review URL: https://codereview.chromium.org/2287343003 .
2016-08-29 16:54:09 -07:00
William Hesse 792997c347 Revert "Update co19 to revision d4767b4caea3c5828ad8e053cd051d44a59061af"
This reverts commit a829cfff4b.
The co19 update often introduces many test failures, even after testing
locally and updating status files.  So we may revert the update, after
seeing which tests are failing on the buildbot, to do more updates on
the status files before landing again.

BUG=https://github.com/dart-lang/sdk/issues/27162
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2288593005 .
2016-08-29 18:57:12 +02:00
William Hesse a829cfff4b Update co19 to revision d4767b4caea3c5828ad8e053cd051d44a59061af
BUG=https://github.com/dart-lang/sdk/issues/27162
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2289813002 .
2016-08-29 17:46:15 +02:00
keertip 5d6c03e40d rev dartdoc in DEPS to 0.9.7+2 to pick up fix for package doc gen.
BUG=
R=devoncarew@google.com

Review URL: https://codereview.chromium.org/2283413002 .
2016-08-29 06:25:54 -07:00
Harry Terkelsen 272bf3d798 add kernel to DEPS
This is in preparation for dart2js to use kernel IR as an input to the
backend.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/2261293002 .
2016-08-22 12:41:15 -07:00
Bob Nystrom ac67dba62f Bump dart_style to 0.2.9+1.
R=nweiz@google.com

Review URL: https://codereview.chromium.org/2245343003 .
2016-08-16 15:55:00 -07:00
Natalie Weizenbaum 38dccc88ff Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2250053004 .
2016-08-16 15:48:20 -07:00
Natalie Weizenbaum fefbf850fb Fix the DEPS file one more time.
TBR

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2252513003 .
2016-08-15 15:38:21 -07:00
Natalie Weizenbaum 5b74878fdc Fix a broken DEPS file.
TBR

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2242083003 .
2016-08-15 15:30:51 -07:00