| 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()));
|
| }
|
| }
|
|
|
|
|