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

Unified Diff: tools/gn/bundle_data.cc

Issue 1842563006: DO NOT SUBMIT. Experimental Mac GN Framework support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Binary bundle data Created 4 years, 8 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 | « tools/gn/bundle_data.h ('k') | tools/gn/bundle_data_target_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/bundle_data.cc
diff --git a/tools/gn/bundle_data.cc b/tools/gn/bundle_data.cc
index 7faccbdc51a6442ddec6626e31af77f53d38f03c..60e2b4fad0a2dc73e842cd67b0ae9ccec803ce17 100644
--- a/tools/gn/bundle_data.cc
+++ b/tools/gn/bundle_data.cc
@@ -39,7 +39,7 @@ bool IsSourceFileFromAssetCatalog(const SourceFile& source,
return true;
}
-BundleData::BundleData() {}
+BundleData::BundleData() : binary_compress_(false) {}
BundleData::~BundleData() {}
@@ -67,7 +67,8 @@ void BundleData::OnTargetResolved(Target* owning_target) {
if (!file_rule_sources.empty()) {
DCHECK_EQ(target->action_values().outputs().list().size(), 1u);
file_rules_.push_back(BundleFileRule(
- file_rule_sources, target->action_values().outputs().list()[0]));
+ file_rule_sources, target->action_values().outputs().list()[0],
+ target->bundle_data().binary_compress()));
}
}
« no previous file with comments | « tools/gn/bundle_data.h ('k') | tools/gn/bundle_data_target_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698