Skip to content

Commit

Permalink
Remove support for reading FLX archives from engine. (flutter#5305)
Browse files Browse the repository at this point in the history
The embedders have moved on already. This also removes a //garnet dependency on zlib wrappers.
  • Loading branch information
chinmaygarde authored May 18, 2018
1 parent 34ffb6a commit 299a7c2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 189 deletions.
7 changes: 0 additions & 7 deletions assets/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,13 @@ source_set("assets") {
"asset_resolver.h",
"directory_asset_bundle.cc",
"directory_asset_bundle.h",
"zip_asset_store.cc",
"zip_asset_store.h",
]

deps = [
"$flutter_root/common",
"$flutter_root/fml",
"$flutter_root/glue",
"//garnet/public/lib/fxl",
"//garnet/public/lib/zip",
]

public_deps = [
"//third_party/zlib:minizip",
]

public_configs = [ "$flutter_root:config" ]
Expand Down
1 change: 0 additions & 1 deletion assets/asset_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "flutter/assets/asset_manager.h"

#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/assets/zip_asset_store.h"
#include "flutter/glue/trace_event.h"
#include "lib/fxl/files/path.h"

Expand Down
124 changes: 0 additions & 124 deletions assets/zip_asset_store.cc

This file was deleted.

51 changes: 0 additions & 51 deletions assets/zip_asset_store.h

This file was deleted.

4 changes: 0 additions & 4 deletions shell/common/run_configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <sstream>

#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/assets/zip_asset_store.h"
#include "flutter/fml/file.h"
#include "flutter/runtime/dart_vm.h"

Expand All @@ -24,9 +23,6 @@ RunConfiguration RunConfiguration::InferFromSettings(
std::make_unique<blink::DirectoryAssetBundle>(fml::OpenFile(
settings.assets_path.c_str(), fml::OpenPermission::kRead, true)));

asset_manager->PushBack(
std::make_unique<blink::ZipAssetStore>(settings.flx_path));

return {IsolateConfiguration::InferFromSettings(settings, asset_manager),
asset_manager};
}
Expand Down
2 changes: 0 additions & 2 deletions travis/licenses_golden/licenses_flutter
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ ORIGIN: ../../../flutter/assets/directory_asset_bundle.cc + ../../../LICENSE
TYPE: LicenseType.bsd
FILE: ../../../flutter/assets/directory_asset_bundle.cc
FILE: ../../../flutter/assets/directory_asset_bundle.h
FILE: ../../../flutter/assets/zip_asset_store.cc
FILE: ../../../flutter/assets/zip_asset_store.h
FILE: ../../../flutter/common/settings.cc
FILE: ../../../flutter/common/settings.h
FILE: ../../../flutter/flow/export_node.cc
Expand Down

0 comments on commit 299a7c2

Please sign in to comment.