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

Unified Diff: tools/gn/docs/reference.md

Issue 2023003006: [Mac/iOS/GN] Document the new rules for create_bundle and runtime_deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | tools/gn/functions_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/docs/reference.md
diff --git a/tools/gn/docs/reference.md b/tools/gn/docs/reference.md
index c596b27f25c6ca48c98343cd6191f6394aa7985d..59c54dcb099f8f411dd593293d009f03de94db31 100644
--- a/tools/gn/docs/reference.md
+++ b/tools/gn/docs/reference.md
@@ -736,7 +736,7 @@
--root-target=<target_name>
Name of the root target for which the QtCreator project will be
generated to contain files of it and its dependencies. If unset,
- the whole build graph will be omitted.
+ the whole build graph will be emitted.
```
@@ -1418,6 +1418,12 @@
generate iOS/OS X bundle. In cross-platform projects, it is advised to
put it behind iOS/Mac conditionals.
+ If a create_bundle is specified as a data_deps for another target, the
+ bundle is considered a leaf, and its public and private dependencies
+ will not contribute to any data or data_deps. Required runtime
+ dependencies should be placed in the bundle. A create_bundle can
+ declare its own explicit data and data_deps, however.
+
```
### **Variables**
@@ -2558,6 +2564,7 @@
### **Variables**
+### **complete_static_lib**
```
Flags: cflags, cflags_c, cflags_cc, cflags_objc, cflags_objcc,
asmflags, defines, include_dirs, ldflags, lib_dirs, libs,
@@ -4397,6 +4404,9 @@
However, no verification is done on these so GN doesn't enforce this.
The paths are just rebased and passed along when requested.
+ Note: On iOS and OS X, create_bundle targets will not be recursed
+ into when gathering data. See "gn help create_bundle" for details.
+
See "gn help runtime_deps" for how these are used.
@@ -4413,6 +4423,10 @@
This is normally used for things like plugins or helper programs that
a target needs at runtime.
+ Note: On iOS and OS X, create_bundle targets will not be recursed
+ into when gathering data_deps. See "gn help create_bundle" for
+ details.
+
See also "gn help deps" and "gn help data".
```
« no previous file with comments | « no previous file | tools/gn/functions_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698