mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Compress assets in APKs
This patch moves us back to compressing assets in APKs. We lost compression when we updated Chromium recently. This brings typical Sky APKs down to 7.2MB. Fixes #134
This commit is contained in:
parent
24b6312d01
commit
341f82efc8
@ -75,6 +75,8 @@ template("sky_app") {
|
||||
native_libs = [ "libsky_shell.so" ]
|
||||
asset_location = "$target_gen_dir/assets"
|
||||
|
||||
extensions_to_not_compress = ".skyx"
|
||||
|
||||
deps = [
|
||||
"//base:base_java",
|
||||
"//sky/shell:assets",
|
||||
|
||||
@ -155,6 +155,8 @@ if (is_android) {
|
||||
native_libs = [ "libsky_shell.so" ]
|
||||
asset_location = "$root_build_dir/sky_shell/assets"
|
||||
|
||||
extensions_to_not_compress = ".skyx"
|
||||
|
||||
deps = [
|
||||
":assets",
|
||||
":assets",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user