| Index: tools/gn/target.h
|
| diff --git a/tools/gn/target.h b/tools/gn/target.h
|
| index cbdab35761ef8e77c545921b5e958743b271951b..40af8f99793c7a11d8b3201e11357c1c50d2c6d2 100644
|
| --- a/tools/gn/target.h
|
| +++ b/tools/gn/target.h
|
| @@ -41,6 +41,7 @@ class Target : public Item {
|
| STATIC_LIBRARY,
|
| SOURCE_SET,
|
| COPY_FILES,
|
| + COPY_BUNDLE_DATA,
|
| ACTION,
|
| ACTION_FOREACH,
|
| };
|
| @@ -134,6 +135,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 {
|
| @@ -272,6 +279,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();
|
| @@ -298,6 +306,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_;
|
|
|