Index: tools/gn/variables.cc |
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc |
index 6f9c8486fe323f3a87a143519e1647dd371b9ab9..294e05c6513b1f2cbab144f97a654904db24e94e 100644 |
--- a/tools/gn/variables.cc |
+++ b/tools/gn/variables.cc |
@@ -611,6 +611,22 @@ const char kConsole_Help[] = |
" console = true\n" |
" }\n"; |
+const char kDarwinBundle[] = "darwin_bundle"; |
+const char kDarwinBundle_HelpShort[] = |
+ "darwin_bundle: [boolean] Produce a bundle on Darwin platforms"; |
+const char kDarwinBundle_Help[] = |
+ "darwin_bundle: Produce an .app or .framework directory.\n" |
+ "\n" |
+ " Bundles on Darwin platforms are directories with standardized\n" |
+ " hierarchical structures that hold executable code and the resources\n" |
+ " used by that code.\n" |
+ "\n" |
+ "Example\n" |
+ "\n" |
+ " executable(\"combustible_lemons_app\") {\n" |
+ " darwin_bundle = true\n" |
+ " }\n"; |
+ |
const char kData[] = "data"; |
const char kData_HelpShort[] = |
"data: [file list] Runtime data file dependencies."; |
@@ -941,6 +957,24 @@ const char kLibs_Help[] = |
" On Linux:\n" |
" libs = [ \"ld\" ]\n"; |
+const char kLoadableModule[] = "loadable_module"; |
+const char kLoadableModule_HelpShort[] = |
+ "loadable_module: [boolean] Produce a loadable module from a shared lib."; |
+const char kLoadableModule_Help[] = |
+ "darwin_bundle: Produce a loadable module from a shared library target.\n" |
+ "\n" |
+ " Loadable modules are different from shared libraries in that they are\n" |
+ " not linked at compile time and can only be dynamically loaded at\n" |
+ " runtime.\n" |
+ "\n" |
+ " The flag only applies to \"shared_library\" targets.\n" |
+ "\n" |
+ "Example\n" |
+ "\n" |
+ " shared_library(\"combustible_lemons_lib\") {\n" |
+ " loadable_module = true\n" |
+ " }\n"; |
+ |
const char kOutputExtension[] = "output_extension"; |
const char kOutputExtension_HelpShort[] = |
"output_extension: [string] Value to use for the output's file extension."; |