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

Unified Diff: tools/gn/copy_target_generator.h

Issue 1606553002: Add support for Mac/iOS application bundles to GN tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: base_unittests builds and pass all tests with GN Created 4 years, 11 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
Index: tools/gn/copy_target_generator.h
diff --git a/tools/gn/copy_target_generator.h b/tools/gn/copy_target_generator.h
index 81fbb69e8e74ef931faf6699bb0e42c8038a8601..8716d0c56c5481bc258ec3f2c0686f447e3b7eeb 100644
--- a/tools/gn/copy_target_generator.h
+++ b/tools/gn/copy_target_generator.h
@@ -26,5 +26,22 @@ class CopyTargetGenerator : public TargetGenerator {
DISALLOW_COPY_AND_ASSIGN(CopyTargetGenerator);
};
+class CopyBundleDataTargetGenerator : public TargetGenerator {
+ public:
+ CopyBundleDataTargetGenerator(Target* target,
+ Scope* scope,
+ const FunctionCallNode* function_call,
+ Err* err);
+ ~CopyBundleDataTargetGenerator() override;
+
+ protected:
+ void DoRun() override;
+
+ private:
+ void FillDestDir();
+
+ DISALLOW_COPY_AND_ASSIGN(CopyBundleDataTargetGenerator);
+};
+
#endif // TOOLS_GN_COPY_TARGET_GENERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698