From 0853ad59dd5468e5ed0422538646fb48d00485eb Mon Sep 17 00:00:00 2001 From: brettw Date: Thu, 5 Mar 2015 14:51:23 -0800 Subject: [PATCH] Updates to gn variable help. Review URL: https://codereview.chromium.org/978033002 Cr-Commit-Position: refs/heads/master@{#319350} --- tools/gn/variables.cc | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc index 6d59420826ac..91141b931c24 100644 --- a/tools/gn/variables.cc +++ b/tools/gn/variables.cc @@ -209,8 +209,9 @@ const char kRootGenDir_Help[] = "root_gen_dir: Directory for the toolchain's generated files.\n" "\n" " Absolute path to the root of the generated output directory tree for\n" - " the current toolchain. An example value might be \"//out/Debug/gen\".\n" - " It will not have a trailing slash.\n" + " the current toolchain. An example would be \"//out/Debug/gen\" for the\n" + " default toolchain, or \"//out/Debug/arm/gen\" for the \"arm\"\n" + " toolchain.\n" "\n" " This is primarily useful for setting up include paths for generated\n" " files. If you are passing this to a script, you will want to pass it\n" @@ -227,8 +228,11 @@ const char kRootOutDir_Help[] = "root_out_dir: [string] Root directory for toolchain output files.\n" "\n" " Absolute path to the root of the output directory tree for the current\n" - " toolchain. An example value might be \"//out/Debug/gen\". It will not\n" - " have a trailing slash.\n" + " toolchain. It will not have a trailing slash.\n" + "\n" + " For the default toolchain this will be the same as the root_build_dir.\n" + " An example would be \"//out/Debug\" for the default toolchain, or\n" + " \"//out/Debug/arm\" for the \"arm\" toolchain.\n" "\n" " This is primarily useful for setting up script calls. If you are\n" " passing this to a script, you will want to pass it through\n" @@ -251,10 +255,11 @@ const char kTargetGenDir_HelpShort[] = const char kTargetGenDir_Help[] = "target_gen_dir: Directory for a target's generated files.\n" "\n" - " Absolute path to the target's generated file directory. If your\n" - " current target is in \"//tools/doom_melon\" then this value might be\n" - " \"//out/Debug/gen/tools/doom_melon\". It will not have a trailing\n" - " slash.\n" + " Absolute path to the target's generated file directory. This will be\n" + " the \"root_gen_dir\" followed by the relative path to the current\n" + " build file. If your file is in \"//tools/doom_melon\" then\n" + " target_gen_dir would be \"//out/Debug/gen/tools/doom_melon\". It will\n" + " not have a trailing slash.\n" "\n" " This is primarily useful for setting up include paths for generated\n" " files. If you are passing this to a script, you will want to pass it\n" -- 2.11.4.GIT