| Index: tools/gn/target.h
|
| diff --git a/tools/gn/target.h b/tools/gn/target.h
|
| index eff4d150d53e5dd3a7856926c3ab0ed7d6925f3a..e23685e34ef092e1abfd93beff2a7885744f404e 100644
|
| --- a/tools/gn/target.h
|
| +++ b/tools/gn/target.h
|
| @@ -40,6 +40,7 @@ class Target : public Item {
|
| STATIC_LIBRARY,
|
| SOURCE_SET,
|
| COPY_FILES,
|
| + COPY_BUNDLE_DATA,
|
| ACTION,
|
| ACTION_FOREACH,
|
| };
|
| @@ -129,6 +130,12 @@ class Target : public Item {
|
| const std::vector<std::string>& data() const { return data_; }
|
| std::vector<std::string>& data() { return data_; }
|
|
|
| + // Runtime file dependency for bundled application (Mac/iOS). Those files
|
| + // are collected recursively (breaking at executable, shared library and
|
| + // loadable modules).
|
| + const std::set<SourceFile>& bundle_data() const { return bundle_data_; }
|
| + std::set<SourceFile>& bundle_data() { return bundle_data_; }
|
| +
|
| // Returns true if targets depending on this one should have an order
|
| // dependency.
|
| bool hard_dep() const {
|
| @@ -255,6 +262,7 @@ class Target : public Item {
|
| void PullDependentTargetLibsFrom(const Target* dep, bool is_public);
|
| void PullDependentTargetLibs();
|
| void PullRecursiveHardDeps();
|
| + void PullRecursiveBundleData();
|
|
|
| // Fills the link and dependency output files when a target is resolved.
|
| void FillOutputFiles();
|
| @@ -281,6 +289,7 @@ class Target : public Item {
|
| bool complete_static_lib_;
|
| bool testonly_;
|
| FileList inputs_;
|
| + std::set<SourceFile> bundle_data_;
|
| std::vector<std::string> data_;
|
|
|
| LabelTargetVector private_deps_;
|
|
|