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

Unified Diff: tools/gn/variables.cc

Issue 1606553002: Add support for Mac/iOS application bundles to GN tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit tests & support for bundle_data_filter Created 4 years, 11 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
« tools/gn/function_toolchain.cc ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/variables.cc
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index c88a182fb6359f1a4d10cb77116738662c1e1411..19f086e95114ed4ba164690a1517cc04e6065018 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -434,6 +434,28 @@ const char kAssertNoDeps_Help[] =
" ]\n"
" }\n";
+const char kBundleData[] = "bundle_data";
+const char kBundleData_HelpShort[] =
+ "bundle_data: [file list] Runtime data dependency (Mac/iOS).";
+const char kBundleData_Help[] =
+ "bundle_data: Runtime data dependency (Mac/iOS).\n"
+ "\n"
+ " List files that are required at runtime by the current target and\n"
+ " should be copied into the application bundle.\n"
+ "\n"
+ " See also \"gn help copy_bundle_data\".\n";
+
+const char kBundleDataFilter[] = "bundle_data_filter";
+const char kBundleDataFilter_HelpShort[] =
+ "bundle_data_filter: [pattern list] Exclusions for copy_bundle_data.";
+const char kBundleDataFilter_Help[] =
+ "bundle_data_filter: Exclusions for copy_bundle_data.\n"
+ "\n"
+ " List of file patterns that need to be excluded from the application\n"
+ " bundle. All files matching this pattern will be excluded.\n"
+ "\n"
+ " See also \"gn help copy_bundle_data\".\n";
+
const char kCflags[] = "cflags";
const char kCflags_HelpShort[] =
"cflags: [string list] Flags passed to all C compiler variants.";
@@ -1444,6 +1466,8 @@ const VariableInfoMap& GetTargetVariables() {
INSERT_VARIABLE(Args)
INSERT_VARIABLE(Asmflags)
INSERT_VARIABLE(AssertNoDeps)
+ INSERT_VARIABLE(BundleData)
+ INSERT_VARIABLE(BundleDataFilter)
INSERT_VARIABLE(Cflags)
INSERT_VARIABLE(CflagsC)
INSERT_VARIABLE(CflagsCC)
« tools/gn/function_toolchain.cc ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698