Commit graph

317 commits

Author SHA1 Message Date
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
Natalie Weizenbaum 279c5d6334 Bring in the latest pub.
This time bring in its dependencies as well.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2252493002 .
2016-08-15 14:57:49 -07:00
Natalie Weizenbaum 9c0364edca Revert "Bring in the latest pub."
This reverts commit bb65edde0d.

TBR

R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2246213002 .
2016-08-15 14:25:53 -07:00
Natalie Weizenbaum bb65edde0d Bring in the latest pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org/2243553002 .
2016-08-15 14:21:59 -07:00
pq e5029df4f2 Update to DEPS to linter 0.1.24.
Picks up:

* Internal updates to keep up with changes in the analyzer package.
* Updated `close_sinks` to respect calls to `destroy` (#282).
* Fixed `only_throw_errors` to report on the expression not node.

BUG=
R=paulberry@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org/2247793002 .
2016-08-15 10:46:03 -07:00
Paul Berry 4114bc8034 Upgrade linter to version 296830692adccda06b19da04eaa696a547641729.
This fixes a warning introduced by
a3a031195a (MockSdk missing concrete
implementation of 'DartSdk.getLinkedBundle').

R=scheglov@google.com

Review URL: https://codereview.chromium.org/2248483002 .
2016-08-15 08:54:44 -07:00
Zachary Anderson fc42f03c13 Roll BoringSSL Forward
R=asiva@google.com

Review URL: https://codereview.chromium.org/2219933002 .
2016-08-05 09:56:03 -07:00
Jacob Richman d165e4ebaa DEPS AutoUpdate: dev_compiler
commit fa084164b620ea75cd2008c9dc317655a045ad6d
Author: Vijay Menon <vsm@google.com>

    Mark recursive_inheritance_test as passing
2016-08-05 09:36:15 -07:00
Jacob Richman e039890671 DEPS AutoUpdate: dev_compiler
commit e54f776b5d4ac5a5e94afc7a8cd0361715dedcf0
Author: Vijay Menon <vsm@google.com>

    Run travis on trusty
2016-08-05 08:39:34 -07:00
Jacob Richman 4f7464da27 DEPS AutoUpdate: dev_compiler
commit 881a304f51a12869a5965cfaa55731d17cf73527
Author: Vijay Menon <vsm@google.com>

    Reify type params on map literals
2016-08-05 07:17:18 -07:00
Jacob Richman 4a68926534 DEPS AutoUpdate: dev_compiler
commit 057a9c8ad213fc51959093f31bfed3ca972a8eab
Author: Vijay Menon <vsm@google.com>

    Enforce green on travis with dev analyzer
2016-08-04 09:57:13 -07:00
Carlo Bernaschina de0fabc425 Updated observatory_pub DEP
Fixes https://github.com/dart-lang/sdk/issues/25561

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2212703002 .
2016-08-03 17:57:08 -07:00
Jacob Richman 508dbbe1c9 DEPS AutoUpdate: dev_compiler
commit 9cc982b90f57c6132f648b0041c0b03bd23fcbfc
Author: Vijay Menon <vsm@google.com>

    Roll DDC to latest dart:html
2016-08-03 17:55:59 -07:00
Jacob Richman 91d079b7cf DEPS AutoUpdate: dev_compiler
commit 4e13bd49effd370a542aae3ed044648292a8bfb6
Author: Vijay Menon <vsm@google.com>

    Regen with latest analyzer
2016-08-03 17:35:20 -07:00
Jacob Richman 3d58d8a7d8 DEPS AutoUpdate: dev_compiler
commit 73b9e73bec11431e48b22f75942acba923d37784
Author: Priscilla Lee <priscillalee@google.com>

    Added list of imports to library modules (needed in order to discover filepaths of summaries, allowing the dev_compiler to run in the browser).
2016-08-03 15:52:26 -07:00
Jacob Richman eb2b2bcda9 DEPS AutoUpdate: dev_compiler
commit 5fc554825310aecff61898172e2451e8cec26f77
Author: Brenna Milligan <bmilligan@google.com>

    Updated sdk
2016-08-02 17:19:41 -07:00
Jacob Richman 8230749e11 DEPS AutoUpdate: dev_compiler
commit db950878eded7ab400c71f4a7b0c9cfd66b06fd3
Author: Brenna Milligan <bmilligan@google.com>

    Get rid of library proto information for debugger libraries
2016-08-02 17:09:20 -07:00
Jacob Richman 375e5dd94f DEPS AutoUpdate: dev_compiler
commit 930e1bd50d27e5156b137cbf263fec509812e3ee
Author: Vijay Menon <vsm@google.com>

    Fix wrt analyzer tip

commit 2699745b635dcb626ba81eb0f412092ab1143584
Author: Vijay Menon <vsm@google.com>

    Test against dev version of analyzer on travis
2016-08-02 14:45:17 -07:00
Jacob Richman cdb317d88b DEPS AutoUpdate: dev_compiler
commit 1a946b210f9275a1dda1a79969f5dabdc8b7784b
Author: Vijay Menon <vsm@google.com>

    Remove source file check
2016-08-02 13:43:27 -07:00