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

Unified Diff: tools/gn/bundle_file_rule.h

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_target_generator.cc ('k') | tools/gn/bundle_file_rule.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/bundle_file_rule.h
diff --git a/tools/gn/bundle_file_rule.h b/tools/gn/bundle_file_rule.h
index 9fbf01214d4cc34004fa194674c02e478649b8ca..593b59bb37a64251694b8fcbf610f94b8d0e12b6 100644
--- a/tools/gn/bundle_file_rule.h
+++ b/tools/gn/bundle_file_rule.h
@@ -19,7 +19,8 @@ class OutputFile;
class BundleFileRule {
public:
BundleFileRule(const std::vector<SourceFile> sources,
- const SubstitutionPattern& pattern);
+ const SubstitutionPattern& pattern,
+ bool binary_compress);
BundleFileRule(const BundleFileRule& other);
~BundleFileRule();
@@ -36,9 +37,12 @@ class BundleFileRule {
// Returns the list of SourceFiles.
const std::vector<SourceFile>& sources() const { return sources_; }
+ bool binary_compress() const { return binary_compress_; }
+
private:
std::vector<SourceFile> sources_;
SubstitutionPattern pattern_;
+ bool binary_compress_;
};
#endif // TOOLS_GN_BUNDLE_FILE_RULE_H_
« no previous file with comments | « tools/gn/bundle_data_target_generator.cc ('k') | tools/gn/bundle_file_rule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698