Chris Bracken
f173e72e06
Migrate Fuchsia runners to SDK tracing API ( flutter/engine#10478 )
...
Migrates the Fuchsia Flutter and Dart runners off the internal tracing
APIs and onto the public SDK.
2019-08-06 11:26:34 -07:00
Dan Field
cd18c5ef0b
Remove get engine ( flutter/engine#9747 )
2019-07-30 17:11:04 -07:00
Jason Simmons
8be5805dff
Exit flutter_tester with an error code on an unhandled exception ( flutter/engine#9932 )
2019-07-22 12:06:34 -07:00
liyuqian
fb0ea0ef4c
Add onReportTimings and FrameRasterizedCallback API ( flutter/engine#8983 )
...
Using it, a Flutter app can monitor missing frames in the release mode, and a custom Flutter runner (e.g., Fuchsia) can add a custom FrameRasterizedCallback.
Related issues:
https://github.com/flutter/flutter/issues/26154
https://github.com/flutter/flutter/issues/31444
https://github.com/flutter/flutter/issues/32447
Need review as soon as possible so we can merge this before the end of May to catch the milestone.
Tests added:
* NoNeedToReportTimingsByDefault
* NeedsReportTimingsIsSetWithCallback
* ReportTimingsIsCalled
* FrameRasterizedCallbackIsCalled
* FrameTimingSetsAndGetsProperly
* onReportTimings preserves callback zone
* FrameTiming.toString has the correct format
This will need a manual engine roll as the TestWindow defined in the framework needs to implement onReportTimings.
2019-06-06 10:42:48 -07:00
Jason Simmons
f1ef8c2748
Add a minimal set of symbols to the dynamic symbol table for Linux executables ( flutter/engine#8937 )
...
This will reduce executable size.
2019-05-13 16:12:58 -07:00
Dan Field
c96714ac5d
new lints ( flutter/engine#8849 )
...
Dart lints added:
* Avoid optional new
* Avoid optional const
* Prefer single quotes
* Prefer default assignment `=`
2019-05-07 16:10:21 -07:00
Chinmay Garde
56e7bf84b1
Wire up Fuchsia SDK related updated for shell dependencies. #8869
...
This does not actually import the runners into the engine. It only sets up the targets so they need no modifications are necessary when the migration is done. The engine has been verified to build in both buildroots.
2019-05-06 18:01:59 -07:00
liyuqian
358e88cabf
Revert "Only allow mappings for ICU initialization. ( #8656 )" ( flutter/engine#8682 )
...
This reverts commit dfaa1c9292238e73c56d36f7264adc63ea53745c.
Reverts flutter/engine#8656
Reason: https://github.com/flutter/engine/pull/8656 seems to break the framework windows tests and the engine roll (see https://cirrus-ci.com/task/4704667236827136 and https://github.com/flutter/flutter/pull/31330 ). The failure has been consistent for 7 consecutive engine-to-framework auto-rolls.
TBR: @chinmaygarde
2019-04-22 10:28:54 -07:00
Chinmay Garde
dfaa1c9292
Only allow mappings for ICU initialization. ( flutter/engine#8656 )
...
If the mapping callback is not set or it the callback returns invalid data, ICU initialization will be embedder responsibility.
This affects all embedders and the following have been audited:
* Android: Via a symbol mapping.
* iOS: Via a file mapping.
* Embedder: Via a file mapping.
* Fuchsia: Via a VMO mapping
* Test shells and Flutter tester: Via file mapping with ICU data needing to be next to the executable.
2019-04-19 15:01:40 -07:00
Ben Konyi
ef2a551576
Disable auth codes for Observatory test ( flutter/engine#8646 )
2019-04-18 17:46:32 -07:00
Chinmay Garde
4dd267959f
Rename the shell namespace to flutter. ( flutter/engine#8520 )
2019-04-09 17:10:46 -07:00
Chinmay Garde
1fd28a143a
Rename the blink namespace to flutter. ( flutter/engine#8517 )
...
Some components in the Flutter engine were derived from the forked blink codebase. While the forked components have either been removed or rewritten, the use of the blink namespace has mostly (and inconsistently) remained. This renames the blink namesapce to flutter for consistency. There are no functional changes in this patch.
2019-04-09 12:44:42 -07:00
Zachary Anderson
8d8c635813
[flutter_tester] Accept --icu-data-file-path ( flutter/engine#8374 )
2019-03-29 14:57:40 -07:00
Chris Bracken
23db336526
[Fuchsia] Depend on libtrace when that is what's really meant ( flutter/engine#7214 )
...
libtrace-provider has libtrace listed as a dependency when really it
does not have any such dependency. This lets trace clients use
libtrace-provider as a dependency when what they really mean is libtrace.
This errant dependency in trace-provider is being fixed, which
means we need to fix these clients.
2018-12-13 13:13:38 -08:00
Chris Bracken
c2c439fd0a
Use application_kernel_asset in flutter_tester ( flutter/engine#6972 )
...
Since the migration to Dart 2, the first positional command-line
argument to flutter_tester has been a Dart kernel .dill file. Use
Settings::application_kernel_asset here for consistency/clarity.
2018-11-27 13:51:54 -08:00
Michael Goderbauer
0def82ddb0
Unify copyright lines ( flutter/engine#6757 )
2018-11-07 12:24:35 -08:00
Gary Qian
db2208a1fc
Flutter tester default locales ( flutter/engine#6689 )
2018-10-29 14:06:04 -07:00
Chinmay Garde
ddd0b8887a
Handle Windows headers defining ERROR to 0 in log levels. ( flutter/engine#6677 )
2018-10-26 16:47:14 -07:00
Chinmay Garde
68887916e2
Realize kernel asset mappings on a worker thread if one is available. ( flutter/engine#6648 )
2018-10-24 11:33:46 -07:00
Ben Konyi
af54a8129e
Dart SDK roll for 2018-09-28 ( flutter/engine#6388 )
2018-09-28 18:02:04 -07:00
Chinmay Garde
74c44fa72a
Wire up the Skia persistent GPU related artifacts cache. ( flutter/engine#6278 )
...
Also teaches FML to create files and directories.
2018-09-26 14:54:09 -07:00
Dan Field
1df2685196
Format for #6324 ( flutter/engine#6326 )
...
Format code from previous patch
2018-09-24 18:42:04 -04:00
Dan Field
89eeaf461e
Engine::Run returns enum: success, failure, or isolate already running ( flutter/engine#6324 )
...
* If isolate is already running, return true
* Use shell::Engine::RunStatus as result of Engine::Run
2018-09-24 18:01:22 -04:00
Ryan Macnak
a6d25b895c
Reapply "Some cleanups enabled by removing support for Dart 1" ( flutter/engine#6250 )
...
Following fixes in dart-lang/sdk@91cbb57cd5
2018-09-14 09:36:13 -07:00
Michael Goderbauer
d6ba11b0c1
Revert "Reapply "Some cleanups enabled by removing support for Dart 1" ( #6216 )" ( flutter/engine#6232 )
...
This reverts commit 88aac222998fac4a7c0e57e99c48feacefc92aa6.
2018-09-12 12:07:20 +02:00
Ryan Macnak
88aac22299
Reapply "Some cleanups enabled by removing support for Dart 1." ( flutter/engine#6216 )
...
- Add missing Dart 2 flags to gen_snapshot invocation.
- Disable brittle service test.
2018-09-10 17:03:54 -07:00
Ryan Macnak
75e10e3845
Revert "Some cleanups enabled by removing support for Dart. ( #5621 )" ( flutter/engine#6205 )
...
This reverts commit e05d573589bded526e9acf44128e35151d142b7e.
2018-09-07 17:39:51 -07:00
Ryan Macnak
e05d573589
Some cleanups enabled by removing support for Dart. ( flutter/engine#5621 )
...
- Switch core snapshot to Dart 2 and remove support for loading platform.dill.
- Remove support for loading script snapshots.
- Remove support for loading source.
- Remove settings and fix names to reflect the above.
- Remove support for loading the service isolate from source.
2018-09-07 15:44:46 -07:00
Chinmay Garde
cef3ee517c
Check the kernel header magic to determine if a mapping may be a valid kernel blob. ( flutter/engine#5997 )
2018-08-10 15:12:48 -07:00
Todd Volkert
306464cb6f
Reference platform_strong.dill, not platform.dill ( flutter/engine#5992 )
2018-08-10 11:55:36 -07:00
Alexander Aprelev
5de4538b21
Fix IsolateStart event kind. ( flutter/engine#5978 )
2018-08-08 15:45:26 -07:00
Chinmay Garde
6ab2c166fd
Remove all dependencies on Garnet. ( flutter/engine#5869 )
2018-07-26 12:49:34 -07:00
Jason Simmons
ebbdba1aea
Migrate to a standalone Tonic repository separated from Topaz ( flutter/engine#5817 )
2018-07-23 11:49:35 -07:00
Joshua Seaton
967a473c6d
[fml][fxl] Migrate AutoResetWaitableEvent to fml version. ( flutter/engine#5808 )
...
Thanks Jason for the speedy review
2018-07-20 10:12:38 -07:00
Greg Spencer
5a4558f9bf
Synchronizes analysis_options.yaml files, and turns on Function typedef lint. ( flutter/engine#5419 )
...
Addresses flutter/flutter#18028 for the engine repo, and synchronizes the analysis_options.yaml files between the engine and the flutter/flutter repo.
2018-05-30 16:06:05 -07:00
Ryan Macnak
8e2bc7b70e
Reapply "Don't link the core snapshot in the Android engine." ( flutter/engine#5353 )
...
Add back the core snapshot to runtime_unittests and embedder_unittests.
2018-05-23 17:09:51 -07:00
Ryan Macnak
49c1ba1007
Revert "Don't link the core snapshot in the Android engine. ( #5348 )" ( flutter/engine#5352 )
...
This reverts commit d40b0dbcd2c28fbd4eadc91943f3c2c9ee0d7df5.
2018-05-23 16:11:57 -07:00
Ryan Macnak
d40b0dbcd2
Don't link the core snapshot in the Android engine. ( flutter/engine#5348 )
...
Allows one to use a different core snapshot without a custom engine build by just packaging a different one in the APK.
2018-05-23 15:56:28 -07:00
Chinmay Garde
1718f9b935
Break the FXL from flutter/assets. ( flutter/engine#5316 )
2018-05-18 17:04:36 -07:00
Ryan Macnak
9ee60830b1
Roll Dart to a5c11d7d0329432ca37e35bb249b20f60aa0aa31. ( flutter/engine#5269 )
...
Update engine for removal of Dart_ReadKernelBinary and refactored build targets.
2018-05-15 16:13:21 -07:00
Ryan Macnak
f49044eebd
Revert "Roll Dart to a5c11d7d0329432ca37e35bb249b20f60aa0aa31. ( #5259 )" ( flutter/engine#5266 )
...
This reverts commit e2a590e926c80ba039fc70a336ea6cd341c27f12.
2018-05-15 13:26:51 -07:00
Ryan Macnak
e2a590e926
Roll Dart to a5c11d7d0329432ca37e35bb249b20f60aa0aa31. ( flutter/engine#5259 )
...
Update engine for removal of Dart_ReadKernelBinary and refactored build targets.
2018-05-15 12:57:01 -07:00
Ryan Macnak
4f023940cd
[fuchsia] Add dependencies needed to build the test shell. ( flutter/engine#5216 )
2018-05-09 13:43:27 -07:00
Ryan Macnak
b8b7e8e829
[fuchsia] Changes for running Dart 2 on flutter_runner. ( flutter/engine#5080 )
...
- Remove assumption that we're in Dart 2 mode only if there's a platform kernel.
- Load core snapshots from the package instead of linking them in.
2018-04-25 13:31:13 -07:00
Alexander Aprelev
834a85578d
Fix shell launcher test (dart2 compliant and stop polling) ( flutter/engine#5009 )
...
* Make test Dart2 compliant
* Use service and debug events instead of polling to wait for isolate to start, run and resume.
* Refactor into _onServiceEvent. Wait for 'paused' event instead of 'isolate runnable'.
2018-04-16 19:31:43 -07:00
Chinmay Garde
8ad80a986f
If the test specifies a .dill file, dont make the engine interpret is as source. ( flutter/engine#5002 )
2018-04-13 15:07:28 -07:00
Chinmay Garde
82c5c8feda
Re-land "Support multiple shells in a single process. ( #4932 )" ( flutter/engine#4998 )
...
* Re-land "Support multiple shells in a single process. (#4932 )"
This reverts commit a9dd1abd80f9c5148c74d606302171fa260365ca.
2018-04-13 13:48:15 -07:00
Vyacheslav Egorov
a9dd1abd80
Revert "Re-land "Support multiple shells in a single process. ( #4932 )" ( #4977 )" ( flutter/engine#4981 )
...
This reverts commit e27940623b550f50fece0740ea3d6e9cb259fdae.
2018-04-12 18:28:55 +02:00
Chinmay Garde
e27940623b
Re-land "Support multiple shells in a single process. ( #4932 )" ( flutter/engine#4977 )
...
This reverts commit a1befb4f3090141d738fc2b801e5454d96047121.
2018-04-11 15:41:23 -07:00
Chinmay Garde
a1befb4f30
Revert "Support multiple shells in a single process. ( #4932 )" ( flutter/engine#4964 )
...
This reverts commit 077d29581c35a08a076c5aeb5186855975756b55.
2018-04-10 15:28:43 -07:00