Commit graph

4007 commits

Author SHA1 Message Date
Terry Lucas
dd481e9d15 Updated to lated Chromium and WebKit changes for aggregate support.
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/2040093003 .
2016-06-07 07:41:58 -07:00
William Hesse
e9b92b73fe Start working on version 1.18 of Dart
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org/2039093004 .
2016-06-06 23:31:00 +02:00
William Hesse
fbf301c0ad Run dartium buildbot tests under xvfb on linux
Previously, the entire builder run was under xvfb, now only the tests are.

R=het@google.com
BUG=

Review URL: https://codereview.chromium.org/2038903002 .
2016-06-03 14:14:13 -07:00
Zach Anderson
44796ed02d Move Windows build output from //build to //out
This is needed in order to begin migration to GN because
third-party dependencies and GN boilerplate expect GN
boilerplate to be in //build.

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

Review URL: https://codereview.chromium.org/2027063003 .
2016-06-03 08:28:48 -07:00
Terry Lucas
5a9b600360 Updated to latest WebKit changes
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/2032563002 .
2016-06-01 09:48:53 -07:00
William Hesse
ca6983b9af Make dartium tests continue if layout tests result uploading fails
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2026093002 .
2016-06-01 00:58:04 +02:00
Sigmund Cherem
d1d46593d5 Make test.dart override only those dependencies declared in the pubspec.yaml
file (attempt #2).

Differences from before:
 - pull in transitive dependencies that were missing
 - pass on the package-root in standalone/io/test_runner_test

BUG= http://dartbug.com/26563
R=whesse@google.com

Review URL: https://codereview.chromium.org/2019163002 .
2016-05-31 15:48:54 -07:00
William Hesse
41ece1a95a Reland the roll of co19 tests
This reverts commit 020be8eca6,
updating the version of the co19 test suites to their version
3f0a4bc9a080a792cdf5f093147a900f99ea301f from May 17, 2016.

TBR=sgjesse@google.com
BUG=https://github.com/dart-lang/sdk/pull/26294

Review URL: https://codereview.chromium.org/2023953002 .
2016-05-30 22:11:30 +02:00
Sigmund Cherem
dd7cfb2b62 Revert "Make test.dart override only those dependencies declared in the pubspec.yaml"
This reverts commit bcfdd3345b.

Broke standalone/io/test_runner_test, need to investigate.

BUG=

Review URL: https://codereview.chromium.org/2017093004 .
2016-05-27 17:39:17 -07:00
Sigmund Cherem
bcfdd3345b Make test.dart override only those dependencies declared in the pubspec.yaml
file.

BUG= http://dartbug.com/26563
R=whesse@google.com

Review URL: https://codereview.chromium.org/2020843002 .
2016-05-27 17:19:47 -07:00
Ryan Macnak
227927a8bb Make Android gyp flags more like Linux gyp flags. Fix cases of -Wconversion-null.
R=zra@google.com

Review URL: https://codereview.chromium.org/2018723002 .
2016-05-26 14:56:24 -07:00
Ryan Macnak
ef8baa8760 Add test harness option for app snapshots with unoptimized code.
./tools/test.py -m all -c dart2appjit -r dart_app --use-blobs

Rename 'dart_product' runtime to 'dart_app'.

Rename Dart_PrecompiledJITSnapshotBlob to Dart_CreateAppJITSnapshot and add documentation.

Remove out-of-date scripts in tools/precompilation.

R=fschneider@google.com

Review URL: https://codereview.chromium.org/1992703005 .
2016-05-26 10:37:47 -07:00
Jacob Richman
fd58be1816 Add back in pure_interfaces list that turned out to still be needed. The checked in generated code matches this cl.
BUG=

Review URL: https://codereview.chromium.org/2005143004 .
2016-05-24 10:25:31 -07:00
Terry Lucas
de736d5122 Updated to adding back all fonts to content shell
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/2000183002 .
2016-05-23 06:09:33 -07:00
William Hesse
020be8eca6 Revert the roll of co19.
This reverts commit 167130ed60.
This reverts commit 9e7594a68fd48d474f9db65ec9f832e19f308830.

This will be recommitted with more status fixes, at a time when other developers aren't working.

R=scheglov@google.com

Review URL: https://codereview.chromium.org/1997013002 .
2016-05-20 19:32:27 +02:00
William Hesse
167130ed60 Roll co19 test suite, update status files.
CL contributed by sgrekhov as pull request
https://github.com/dart-lang/sdk/pull/26294

BUG=
R=whesse@google.com
(Author is sgrekhov@unipro.ru)

Review URL: https://codereview.chromium.org/1999123002 .
2016-05-20 17:09:26 +02:00
Terry Lucas
94456a2433 Optimization for patch file generation
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1999803002 .
2016-05-20 07:48:08 -07:00
Jacob Richman
f26e522f84 Strip unused functionality from dart:html and fix strong mode errors. Switch from blacklisting pure interfaces to determining pure interfaces from the idl and whitelisting impure interfaces we need for dart2js.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1987073002 .
2016-05-18 12:49:09 -07:00
Florian Schneider
6c778cab08 Pass command line options of tests to precompiled runtime correctly.
This fixes the precompilation tests on Android that have command line
options specified in their test files.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1988133003 .
2016-05-18 21:00:40 +02:00
Harry Terkelsen
1745ba77f5 fix all instances of "the the"
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1980573003 .
2016-05-13 12:38:25 -07:00
Vyacheslav Egorov
43dc5c223d Introduce a new ARMSIMDBC configuration.
This allows us to build dart binary with SIMDBC for non-Android ARM devices.

We are going to use it to measure performance.

BUG=http://dartbug.com/26421
R=zra@google.com

Review URL: https://codereview.chromium.org/1967613002 .
2016-05-10 20:06:54 +02:00
Florian Schneider
92a681266c Fix running precompiled tests on Android.
The command line options for running the snapshot were outdated.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1963573002 .
2016-05-09 10:08:45 +02:00
Ryan Macnak
01381e9efe Roll Dartium DEPS to "Disable verify_order."
Review URL: https://codereview.chromium.org/1956573006 .
2016-05-06 14:22:52 -07:00
Ryan Macnak
7546ef1709 Simplify command line options for creating snapshots.
Also makes codeless app snapshots work in debug and release modes.

dart --snapshot=file.snap [--snapshot-kind=script] script.dart
dart file.snap

dart_bootstrap --snapshot=dir --snapshot-kind=app-after-run script.dart
dart --run-app-snapshot=dir script.dart

dart_bootstrap --snapshot=dir --snapshot-kind=app-jit-after-run script.dart
dart --run-app-snapshot=dir script.dart

dart_bootstrap --snapshot=dir --snapshot-kind=app-aot script.dart
dart_precompiled_runtime --run-app-snapshot=dir script.dart

R=asiva@google.com

Review URL: https://codereview.chromium.org/1947783003 .
2016-05-06 12:40:04 -07:00
Zachary Anderson
78de302495 Fix DBC product build
fixes #26415

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1945183006 .
2016-05-05 15:57:16 -07:00
Ryan Macnak
d7234da230 Include DBC in the "all" architecture.
R=zra@google.com

Review URL: https://codereview.chromium.org/1949423003 .
2016-05-05 15:19:58 -07:00
Terry Lucas
41e6a838c8 Updated to latest Chromium CL
TBR=rmacnak@google.com

Review URL: https://codereview.chromium.org/1950913006 .
2016-05-05 05:55:55 -07:00
Florian Schneider
b0f4ccabf4 Fix exit code handling for Android testing.
Shell returns 128+N when exiting because of signal.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1950633003 .
2016-05-04 10:13:34 +02:00
Florian Schneider
174121435a Fix handling of negative exit codes in test.dart on Android.
BUG=dartbug.com/26375
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1940213003 .
2016-05-03 16:47:22 +02:00
William Hesse
5a183f4c54 Update downloaded Dart SDK to 1.16.0
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1941423002 .
2016-05-03 14:47:22 +02:00
Terry Lucas
96e8075303 updated to latest WebKit
TBR=asiva@google.com

Review URL: https://codereview.chromium.org/1940113002 .
2016-05-02 18:41:51 -07:00
Terry Lucas
4a118124fc Test bots with WebKit's static Strings and threads
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1939323002 .
2016-05-02 14:54:02 -07:00
Terry Lucas
c99ed66ca1 Updated to pull in Jacob's and Shiva's WebKit changes
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1943473002 .
2016-05-02 11:12:01 -07:00
Martin Kustermann
60087afcf8 Add third_party/android_tools/sdk/platform-tools to PATH if available
R=whesse@google.com

Review URL: https://codereview.chromium.org/1938973002 .
2016-05-02 14:01:44 +02:00
Martin Kustermann
abfea75f1e Add support for timeouts when using AdbPrecompilationCommand
R=whesse@google.com

Review URL: https://codereview.chromium.org/1940853002 .
2016-05-02 14:00:18 +02:00
Martin Kustermann
620b896e2f Initial support to test.dart for running precompiler tests on android devices
Steps to make this work:

a) Make sure you have an android sdk checkout:

  => See https://github.com/dart-lang/sdk/wiki/Building-Dart-SDK-for-Android

b) Building using android-toolchain crosscompiler:

  $ ./tools/build.py -mrelease -aarm --os=android dart_precompiled_runtime

  => Notice --os=android

c) Testing using attached android phones:

  $ export PATH=$PATH:$PWD/third_party/android_tools/sdk/platform-tools
  $ ./tools/test.py -mrelease -aarm --system=android -cprecompiler -rdart_precompiled --use-blobs

  => Notice --system=android

Failing tests on android can be marked in status files via:

[ $compiler == precompiler && $runtime == dart_precompiled && $system == android ]

R=whesse@google.com

Review URL: https://codereview.chromium.org/1922163002 .
2016-05-02 12:41:22 +02:00
Alan Knight
c5acca2ff0 Check for the case where previousNode fails in sanitization. Can happen with object tags
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org/1825373004 .
2016-04-28 12:51:40 -07:00
Jacob Richman
6ef4eae35f Remove as checks bloating sample dart apps by 4K
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org/1923143002 .
2016-04-27 08:53:48 -07:00
Terry Lucas
425d3f5947 Updated DEPS to latest WebKit change
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1924783002 .
2016-04-27 07:00:51 -07:00
Terry Lucas
a96e920508 Update to latest chromium change fixes Mac compile
TBR=rmacnak@google.com

Review URL: https://codereview.chromium.org/1931473002 .
2016-04-27 05:27:21 -07:00
William Hesse
a47eb0f59e Start working on version 1.17 of the Dart SDK
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1923623002 .
2016-04-26 21:30:16 +02:00
William Hesse
7c9219a48e Revert "Delay Firefox browser startup in test scripts, to flatten load."
This reverts commit 40b69fd615.

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

Review URL: https://codereview.chromium.org/1921553005 .
2016-04-26 21:29:45 +02:00
William Hesse
40b69fd615 Delay Firefox browser startup in test scripts, to flatten load.
BUG=https://github.com/dart-lang/sdk/issues/26060
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org/1882813002 .
2016-04-26 15:33:52 +02:00
Ryan Macnak
f262fad639 Option to output precompiled instructions as a blob for use with mmap instead of assembly for use in a shared library.
BUG=http://dartbug.com/26199
R=fschneider@google.com

Review URL: https://codereview.chromium.org/1915853004 .
2016-04-25 16:19:34 -07:00
Alan Knight
dad1a74d2e Oops, movementX/Y are private. Fix template
BUG=

Review URL: https://codereview.chromium.org/1916203002 .
2016-04-25 13:26:14 -07:00
Zachary Anderson
3d7202bad3 DBC: Adds simdbc64 target, adds arm64 arithmetic overflow logic
There were differences between linux gcc, android gcc,
MacOS clang, and 32 vs. 64-bit w.r.t the __builtin
functions for detecting arithmetic overflow. I couldn't get
them all working at the same time. Instead, I removed them,
and changed to always use the inline assembly. This works
in all the configurations above.

This change also adds a simdbc64 target for building simdbc
for 64-bit, and sets up the android targets. simdbc targets
arm, and simdbc64 targets arm64. You can build them with:

$ ./tools/build.py -m release -a simdbc{64} --os=android runtime

R=iposva@google.com

Review URL: https://codereview.chromium.org/1904153003 .
2016-04-25 12:48:34 -07:00
Alan Knight
5542568adc Fix MouseEvent.movement to not use old webkit prefix
BUG=

Review URL: https://codereview.chromium.org/1921823002 .
2016-04-25 12:35:03 -07:00
Terry Lucas
cf59fdfabd Updated test expectations
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1913573002 .
2016-04-22 14:02:01 -07:00
Terry Lucas
8f7b8a9d87 Update to new Webkit additions for custom elements
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1914643002 .
2016-04-22 12:53:36 -07:00
Jacob Richman
7fdce7a2f0 Use _downcast and _cast instead of "as" to reduce dart2js output size.
BUG=
R=leafp@google.com

Review URL: https://codereview.chromium.org/1914583002 .
2016-04-22 11:09:01 -07:00