868 Commits

Author SHA1 Message Date
Kaushik Iska
3ea49f1530 Reland "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28726) 2021-09-20 15:13:02 -07:00
Dan Field
2e28909bb8 Do not use jcenter(), switch to mavenCentral() (flutter/engine#28738) 2021-09-20 14:26:52 -07:00
Jason Simmons
c9c7f44174 Wrap ImageShader::sk_image_ with a SkiaGPUObject (flutter/engine#28698) 2021-09-17 20:18:02 -07:00
Zachary Anderson
75c1fbccc7 Don't use Dart's application_snapshot() rule (flutter/engine#28361) 2021-09-16 13:37:01 -07:00
Brandon DeRosier
7b6fa075a7 Flip on leak detector and suppress or fix remaining leak traces (flutter/engine#28625)
Patch/suppress the remaining leaks and flip on the leak detector to start catching new leaks in CI.
2021-09-16 12:58:56 -07:00
Bruno Leroux
cf0c1b8c2a Call _isLoopback as a last resort (flutter/engine#28576) 2021-09-15 08:47:01 -07:00
Konstantin Scheglov
463ebf640f Fix UNNECESSARY_TYPE_CHECK_TRUE (flutter/engine#28611)
* Fix UNNECESSARY_TYPE_CHECK_TRUE

* Fix two more places.
2021-09-15 08:22:24 -07:00
Kaushik Iska
0e1c107c4f Parse the benchmarks on presubmit jobs (flutter/engine#28586) 2021-09-13 13:57:59 -07:00
Rich Kadel
dd51e241e5 Fix building Dart Fuchsia components and packages (flutter/engine#28413) 2021-09-09 14:47:02 -07:00
Kaushik Iska
3cbb40e6ea Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28513) 2021-09-08 12:24:43 -07:00
Kaushik Iska
559cc49517 Reland "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28510)
This reverts commit f23eeaba7a6edef97cae5693cdbeb66ce05d2493.
2021-09-08 11:24:09 -07:00
ColdPaleLight
17f29a0304 Factor out a task synchronization help function for unit tests (flutter/engine#28467) 2021-09-08 11:12:01 -07:00
Chinmay Garde
f23eeaba7a Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28509)
This reverts commit db55f9274993a34bb6a0c81cc377cde54bb585d7.
2021-09-08 10:33:54 -07:00
Kaushik Iska
db55f92749 Add benchmarks to measure dart -> native time (flutter/engine#28492) 2021-09-08 09:17:01 -07:00
Jim Graham
10d49ea696 Add RasterCache metrics to the FrameTimings (flutter/engine#28439) 2021-09-03 16:26:01 -07:00
Dan Field
01b6571ebc Drop unneded kotlin dep (flutter/engine#28375) 2021-08-31 15:31:02 -07:00
Christopher Crawford
4ac725f85f Fix function definitions in SPIR-V transpiler. (flutter/engine#28352)
Function calls were not tested and the definitions of function parameters were output separately, since the transpiler used to output function declarations before implementations.

Closes issue flutter/flutter#89083
2021-08-30 17:47:01 -07:00
ColdPaleLight
d90a23b4ae Support raw straight RGBA format in Image.toByteData() (flutter/engine#28293) 2021-08-27 10:11:01 -07:00
Brandon DeRosier
5bb761bbe8 Remove overflow suppression (flutter/engine#28317) 2021-08-25 17:00:32 -07:00
Jason Simmons
a00125e2e4 Run the Android Robolectric tests using Gradle (flutter/engine#28084) 2021-08-25 09:11:02 -07:00
ColdPaleLight
138cde7ea8 Correct the return value of the method RunInIsolateScope (flutter/engine#28161) 2021-08-24 11:24:03 -07:00
Brandon DeRosier
bb11686888 Symbolize ASan traces when using run_tests.py (flutter/engine#28274)
* Configure ASan to symbolize on linux

* Supply ASAN_SYMBOLIZER_PATH when running tests, fix problem with line stripping in run_tests
2021-08-23 16:43:01 -07:00
Dan Field
d8ce6688ad No more gradlew, instead get gradle during gclient sync (flutter/engine#28264) 2021-08-23 13:58:22 -07:00
Matej Knopp
b48f5143ac Enable repeat for desktop embedder tests (flutter/engine#28253) 2021-08-23 09:07:02 -07:00
Brandon DeRosier
a5adf663ce Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235) 2021-08-20 14:48:30 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Martin Kustermann
d915f0c519 Normalize the path that ANDROID_HOME uses (flutter/engine#28222)
The gradle/android tooling will validate that ANDROID_HOME and
ANDROID_SDK_ROOT are precisely the same. So if they point to the same
directory but are not normalized this check will fail.

Fixes Dart-Flutter Head-Head-Head bot which failed with
```
Several environment variables and/or system properties contain different paths to the SDK.
  Please correct and use only one way to inject the SDK location.
  
  ANDROID_HOME: /b/s/w/ir/cache/builder/engine/src/flutter/testing/rules/../../../third_party/android_tools/sdk
  ANDROID_SDK_ROOT: /b/s/w/ir/cache/builder/engine/src/third_party/android_tools/sdk
```
2021-08-20 16:03:43 +02:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Emmanuel Garcia
1a9e4c4ff3 Bump Android version and add more info to create_sdk_cipd_package.sh (flutter/engine#27413) 2021-08-18 18:22:02 -07:00
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Brandon DeRosier
792f013ddb Use the suppressions script to source runtime suppressions in run_tests.py (flutter/engine#28140) 2021-08-17 14:34:24 -07:00
Brandon DeRosier
0d81592d40 Add asan flag to run_tests.py (flutter/engine#28082) 2021-08-13 14:26:19 -07:00
Justin McCandless
87882e782a Fix getLineBoundary for TextAffinity (flutter/engine#28008)
Fix a bug in a calculation when selection is at a wordwrap
2021-08-11 16:04:30 -07:00
Emmanuel Garcia
604089b0fd Provide Open JDK 11 (flutter/engine#27942) 2021-08-11 12:34:11 -07:00
Jason Simmons
5126dfe55e Python 3 compatibility fix for running Java tests using run_tests.py (flutter/engine#27970)
(Note that LUCI is currently still running this script using Python 2)
2021-08-11 11:00:57 -07:00
Chris Bracken
82fdaae8a6 Use runtime checks for arguments, out directory (flutter/engine#27978)
Since verify_exported.dart is not run with assertions enabled, replace
the assertions with runtime checks and appropriate error messages:

* Adds a check for valid arguments and emits usage otherwise
* Adds a check for the presence of the out/ directory and exits with
  error if it does not exist.
2021-08-09 17:13:53 -07:00
Jenn Magder
693dd0381c Support iOS universal links route deep linking (flutter/engine#27874) 2021-08-09 14:35:11 -07:00
Jenn Magder
66134f5875 Embed OCMock and iOS tests into IosUnitTests app (flutter/engine#27899) 2021-08-05 09:50:02 -07:00
Michael Ludwig
8910b2bfc6 Remove references to deprecated SkClipOps (flutter/engine#27900) 2021-08-05 08:25:01 -07:00
Jenn Magder
ef50866478 Unskip iOS launch URL tests (flutter/engine#27854) 2021-08-04 18:37:05 -07:00
Jonah Williams
2cc2854964 Add GestureSettings and configure touch slop from Android ViewConfiguration (flutter/engine#27836) 2021-08-03 12:55:02 -07:00
Emmanuel Garcia
afbc9be3aa Add lockfiles in the scenario app (flutter/engine#27852) 2021-08-03 11:08:20 -07:00
A Reyes
8c563154db Added assertion up to cv99 for FontFeature.characterVariant (flutter/engine#27745)
* Added assertion up to cv99 for FontFeature.characterVariant

* Added FontFeature.characterVariant(99) test
2021-08-02 19:59:18 -07:00
Jenn Magder
b5409c0989 Allow iOS unit tests to run on Xcode 13 (flutter/engine#27850) 2021-08-02 14:25:02 -07:00
Chris Bracken
8803824c64 Migrate all Python hashbangs to Python 3 (flutter/engine#27838)
Migrates all `#!/usr/bin/env python` hashbang lines to use python3.

Also updates the licence tool to treat python3 scripts on par with
python 2 scripts.

Issue: https://github.com/flutter/flutter/issues/83043
2021-07-31 11:09:12 -07:00
Zachary Anderson
5c4431a610 Use a pool for dart actions to avoid OOMs (flutter/engine#27781)
* Use a pool for dart actions to avoid OOMs

* Add Windows support
2021-07-29 23:43:49 -07:00
Jason Simmons
497e812a04 Add a run_tests flag that captures core dumps from engine unit tests and runs a GDB script (flutter/engine#27742) 2021-07-29 23:09:04 -07:00