50 Commits

Author SHA1 Message Date
Jason Simmons 7711efbf06 Return an empty mapping for an empty file asset (#10815)
Fixes https://github.com/flutter/flutter/issues/36574
2019-08-13 10:02:59 -07:00
Jason Simmons 3f4f606105 Simplify loading of app bundles on Android (#9360)
* Remove deprecated runBundle APIs
* Remove code related to dynamic patching (including support for multiple
  bundle paths)
* Change FlutterRunArugments.bundlePath to be the Android AssetManager path
  where the app's assets are located
2019-06-25 14:17:50 -07:00
Zachary Anderson 0a2e28d797 Revert tracing changes (#9296)
* Revert "[fuchsia] Fix alignment of Fuchsia/non-Fuchsia tracing (#9289)"

This reverts commit f80ac5f571.

* Revert "Align fuchsia and non-fuchsia tracing (#9199)"

This reverts commit 7826548462.
2019-06-12 10:25:49 -07:00
Dan Field 7826548462 Align fuchsia and non-fuchsia tracing (#9199) 2019-06-05 15:14:27 -07:00
Chinmay Garde 39e1d00f39 Remove redundant specification of the |flutter| namespace in the engine. (#8523) 2019-04-09 17:50:06 -07:00
Chinmay Garde eec74e5c92 Rename the blink namespace to flutter. (#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
Stanislav Baranov 868dc047b4 Support loading flutter assets from dynamic patch (#7308)
This replicates similar logic found in ApkAssetProvider that locates assets by their short name in a sudbirectory inside of an archive file, instead of only at the root of archive.
2018-12-28 10:34:47 -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
Ryan Macnak fbb7893a08 Report asset names in loading trace events. (#6713) 2018-11-01 12:29:29 -07: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 e1e60933b2 Realize kernel asset mappings on a worker thread if one is available. (#6648) 2018-10-24 11:33:46 -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 228cecc293 Make //flutter/synchronization Garnet free. (#5865) 2018-07-25 14:30:41 -07:00
Chinmay Garde 336c23f846 Remove //flutter/glue and use FML directly. (#5862) 2018-07-25 13:20:48 -07:00
Jason Simmons 6c7ddd8185 Remove the dependency on the Garnet zip library (#5770) 2018-07-16 15:02:57 -07:00
Ryan Macnak fe9dd64d70 Replace AssetResolver GetAsBuffer with GetAsMapping. (#5546)
Toward no-copy loading of kernel.
2018-06-19 14:24:19 -07:00
Stanislav Baranov f51b6b3b07 Support running bundles from zip file. (#5473)
Support running bundles from zip file.
2018-06-07 15:09:23 -07:00
Stanislav Baranov c0ec8d9f06 Restore archive support removed in #5305. Codepush bundles use zip. (#5441) 2018-06-01 12:46:27 -07:00
Chinmay Garde 5cba5774c6 Break the FXL from flutter/assets. (#5316) 2018-05-18 17:04:36 -07:00
Chinmay Garde 299a7c2502 Remove support for reading FLX archives from engine. (#5305)
The embedders have moved on already. This also removes a //garnet dependency on zlib wrappers.
2018-05-18 11:56:37 -07:00
Chinmay Garde 4b45a53ed5 Only make ERROR and FATAL log levels visible by default. (#5022)
Adds the --verbose-logging flag to enable logging at all other severities.
2018-04-16 21:34:11 -07:00
Chinmay Garde 58e84c8bf0 Re-land "Support multiple shells in a single process. (#4932)" (#4998)
* Re-land "Support multiple shells in a single process. (#4932)"

This reverts commit 723c7d0143.
2018-04-13 13:48:15 -07:00
Vyacheslav Egorov 723c7d0143 Revert "Re-land "Support multiple shells in a single process. (#4932)" (#4977)" (#4981)
This reverts commit a3327bff86.
2018-04-12 18:28:55 +02:00
Chinmay Garde a3327bff86 Re-land "Support multiple shells in a single process. (#4932)" (#4977)
This reverts commit 9199b40f2a.
2018-04-11 15:41:23 -07:00