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

Unified Diff: tools/gn/functions_target.cc

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 | « tools/gn/docs/reference.md ('k') | tools/gn/variables.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/functions_target.cc
diff --git a/tools/gn/functions_target.cc b/tools/gn/functions_target.cc
index a5f557412967ecb959e69bd9b08aaf05d8601570..645c24a8198eabef47c8346acb7644079608b4a2 100644
--- a/tools/gn/functions_target.cc
+++ b/tools/gn/functions_target.cc
@@ -328,6 +328,12 @@ const char kCreateBundle_Help[] =
" generate iOS/OS X bundle. In cross-platform projects, it is advised to\n"
" put it behind iOS/Mac conditionals.\n"
"\n"
+ " If a create_bundle is specified as a data_deps for another target, the\n"
+ " bundle is considered a leaf, and its public and private dependencies\n"
+ " will not contribute to any data or data_deps. Required runtime\n"
+ " dependencies should be placed in the bundle. A create_bundle can\n"
+ " declare its own explicit data and data_deps, however.\n"
+ "\n"
"Variables\n"
"\n"
" bundle_root_dir*, bundle_resources_dir*, bundle_executable_dir*,\n"
« no previous file with comments | « tools/gn/docs/reference.md ('k') | tools/gn/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698