Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Unified Diff: runtime/bin/BUILD.gn

Issue 2991393002: [standalone] Automatically decompress gzip'd resources, including sources and script snapshots. (Closed)
Patch Set: Fix case in decompression where the snapshot it smaller than the chunk size. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/dartutils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/BUILD.gn
diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn
index cd0213a2b6e594ad73b68a01328c82f662516b08..1b17b1489c2e48e491c2ed3c81c7816e9796adc1 100644
--- a/runtime/bin/BUILD.gn
+++ b/runtime/bin/BUILD.gn
@@ -316,6 +316,8 @@ template("build_gen_snapshot") {
"address_sanitizer.cc",
"builtin.cc",
"builtin.h",
+ "gzip.cc",
+ "gzip.h",
"loader.cc",
"loader.h",
@@ -329,7 +331,10 @@ template("build_gen_snapshot") {
"vmservice_impl.h",
]
- include_dirs = [ ".." ]
+ include_dirs = [
+ "..",
+ "//third_party",
+ ]
if (dart_use_tcmalloc) {
deps += [ "//third_party/tcmalloc" ]
@@ -760,6 +765,8 @@ dart_executable("dart") {
"dfe.h",
"loader.cc",
"loader.h",
+ "gzip.cc",
+ "gzip.h",
"$target_gen_dir/resources_gen.cc",
]
if (dart_runtime_mode == "release") {
@@ -778,6 +785,8 @@ dart_executable("dart_precompiled_runtime") {
"snapshot_empty.cc",
"loader.cc",
"loader.h",
+ "gzip.cc",
+ "gzip.h",
]
if (dart_runtime_mode == "release") {
extra_sources += [ "observatory_assets_empty.cc" ]
@@ -816,6 +825,8 @@ dart_executable("dart_bootstrap") {
"dfe.h",
"loader.cc",
"loader.h",
+ "gzip.cc",
+ "gzip.h",
"observatory_assets_empty.cc",
"snapshot_empty.cc",
« no previous file with comments | « no previous file | runtime/bin/dartutils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698