Commit Graph

91 Commits

Author SHA1 Message Date
Chinmay Garde 8529dbc865 Remove unused FML file export.h (#7926)
We should not be exporting anything from FML anyway.
2019-02-22 12:44:09 -08:00
Alexander Aprelev 2acd79480a Add fml::FileExists implementation for Windows (#7845) 2019-02-15 12:42:41 -08:00
Jason Simmons 050dcaad60 Embed ICU data inside libflutter.so on Android (#7588)
Prior to this the Android embedder code would extract the icudtl.dat asset out
of the APK and write it to local disk during the first startup of the app.

This change will make that work unnecessary and eliminate the risk of ICU
failures due to errors in the extraction process.
2019-01-30 11:56:17 -08:00
Chris Bracken 826f342641 [Fuchsia] Depend on libtrace when that is what's really meant (#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
Alexander Aprelev cebde437a1 Guard the service protocol's global handlers list with a reader/writer lock. (#6900)
* Revert "Revert "Guard the service protocol's global handlers list with a reader/writer lock (#6888) #6895" (#6899)"

This reverts commit b6e93759fa and applies fix for tests on Windows.

* Reland guard the service protocol's global handlers list with a reader/writer lock.

* Remove blank line
2018-11-18 14:36:15 -08:00
Todd Volkert b6e93759fa Revert "Guard the service protocol's global handlers list with a reader/writer lock (#6888) #6895" (#6899) 2018-11-18 09:28:26 -08:00
Jason Simmons fd0911cc0f Guard the service protocol's global handlers list with a reader/writer lock (#6888) (#6895)
The service protocol holds the lock while waiting for completion of service
RPC tasks.  These tasks (specifically hot restart/RunInView) may need to
modify a handler's description data.

Task execution and ServiceProtocol::SetHandlerDescription will obtain a shared
lock to make this possible.  AddHandler and RemoveHandler will obtain an
exclusive lock in order to guard against a handler being deleted while a
service task is running.
2018-11-17 22:04:37 -08:00
Jason Simmons 9ba5561566 Revert "Guard the service protocol's global handlers list with a reader/writer lock (#6888)" (#6893)
This reverts commit 9352360c8b.

(shared_timed_mutex is unavailable in the iOS build)
2018-11-17 12:27:06 -08:00
Jason Simmons 9352360c8b Guard the service protocol's global handlers list with a reader/writer lock (#6888)
The service protocol holds the lock while waiting for completion of service
RPC tasks.  These tasks (specifically hot restart/RunInView) may need to
modify a handler's description data.

Task execution and ServiceProtocol::SetHandlerDescription will obtain a shared
lock to make this possible.  AddHandler and RemoveHandler will obtain an
exclusive lock in order to guard against a handler being deleted while a
service task is running.
2018-11-17 10:53:26 -08:00
Michael Goderbauer 6a132f80f4 Fix Windows Engine Bot (#6844)
Follow-up to https://github.com/flutter/engine/pull/6833
2018-11-13 09:46:30 -08:00
Michael Goderbauer 09ef73ff6e Fix code smells reported by chrome's clang plugin (#6833) 2018-11-12 19:59:29 -08:00
Michael Goderbauer 70a1106b50 Unify copyright lines (#6757) 2018-11-07 12:24:35 -08:00
Chinmay Garde ba8f6aa71c Handle Windows headers defining ERROR to 0 in log levels. (#6677) 2018-10-26 16:47:14 -07:00
Chinmay Garde 979de076b3 Add a CountDownLatch to fml with tests. (#6574) 2018-10-17 17:20:44 -07:00
Chinmay Garde f2a3df97e2 Wire up the Skia persistent GPU related artifacts cache. (#6278)
Also teaches FML to create files and directories.
2018-09-26 14:54:09 -07:00
Chinmay Garde ef98dcb11f Add support for counter timeline traces from the engine. (#6315) 2018-09-26 13:26:23 -07:00
Chinmay Garde 57fd394e59 Ensure that objects on stack that close traces have unique variable names. (#6298) 2018-09-22 14:46:29 -07:00
Mehmet Fidanboylu 2b25fd7da0 Don't use unix or win namespaces (#6277) 2018-09-18 19:43:26 -07:00
Jason Simmons 85d47fb03c Accept file URIs as parameters in the RunInView service RPC (#6191)
See https://github.com/flutter/flutter/issues/21348
2018-09-07 09:34:45 -07:00
Michael Goderbauer 58a1894a1c Update to latest clang (#6174)
* Roll buildroot to be483cb1cd3a9c4313b2e534034d23a05c3d849e
* Rolls buildtools to c1408453246f0475547b6fe634c2f3dad71c6457
2018-09-06 15:29:04 -07:00
Michael Goderbauer 842546824c Roll buildroot to pick up new NDK r17b (#6131) 2018-08-31 11:28:18 -07:00
Chinmay Garde 7e39999187 Add message encoding/decoding utility to FML. (#6017) 2018-08-15 12:30:02 -07:00
Chinmay Garde de5f535e50 Make FML task runner methods virtual so that FXL adaptors in Fuchsia are possible. (#5921) 2018-08-01 14:18:33 -07:00
Chinmay Garde 33b412313e Fix sundry Fuchsia build issues after the tonic/fxl migration. (#5920) 2018-08-01 13:29:45 -07:00
Chinmay Garde de206ea953 Update GetDirectoryName namespace to the one in FML on Linux. (#5879) 2018-07-26 13:40:29 -07:00