| Index: tools/gn/target.h
|
| diff --git a/tools/gn/target.h b/tools/gn/target.h
|
| index fc752acece8896611b2f12047d723e69e3615bad..67e0e749a3be8a36aa6e0536e4efce55bf67d0dc 100644
|
| --- a/tools/gn/target.h
|
| +++ b/tools/gn/target.h
|
| @@ -35,6 +35,7 @@ class Target : public Item {
|
| GROUP,
|
| EXECUTABLE,
|
| SHARED_LIBRARY,
|
| + LOADABLE_MODULE,
|
| STATIC_LIBRARY,
|
| SOURCE_SET,
|
| COPY_FILES,
|
| @@ -115,6 +116,14 @@ class Target : public Item {
|
| bool testonly() const { return testonly_; }
|
| void set_testonly(bool value) { testonly_ = value; }
|
|
|
| + // Whether this target should produce a bundle on Darwin platforms. A bundle
|
| + // is a directory with a standardized hierarchical structure that holds
|
| + // executable code and the resources used by that code. Examples are
|
| + // application bundles (.app) or framework bundles (.framework) with the
|
| + // former corresponding to executables and the latter to shared libraries.
|
| + bool darwin_bundle() const { return darwin_bundle_; }
|
| + void set_darwin_bundle(bool value) { darwin_bundle_ = value; }
|
| +
|
| // Compile-time extra dependencies.
|
| const FileList& inputs() const { return inputs_; }
|
| FileList& inputs() { return inputs_; }
|
| @@ -279,6 +288,7 @@ class Target : public Item {
|
| bool check_includes_;
|
| bool complete_static_lib_;
|
| bool testonly_;
|
| + bool darwin_bundle_;
|
| FileList inputs_;
|
| std::vector<std::string> data_;
|
|
|
|
|