Commit 6955d08c authored by Daniel Bratell's avatar Daniel Bratell Committed by Commit Bot

[gn] Doc: Fix toochain typo and clarify the toolchain syntax.

Change-Id: Ica4288a6984f296958b7f9b812edb07663cec22e
Reviewed-on: https://chromium-review.googlesource.com/1104159Reviewed-by: default avatarBrett Wilson <brettw@chromium.org>
Commit-Queue: Daniel Bratell <bratell@opera.com>
Cr-Commit-Position: refs/heads/master@{#568046}
parent e3d44b30
...@@ -6028,11 +6028,12 @@ ...@@ -6028,11 +6028,12 @@
"//foo/bar/*" (all targets in any subdir of //foo/bar) "//foo/bar/*" (all targets in any subdir of //foo/bar)
"./*" (all targets in the current build file or sub dirs) "./*" (all targets in the current build file or sub dirs)
Any of the above forms can additionally take an explicit toolchain. In this Any of the above forms can additionally take an explicit toolchain
case, the toolchain must be fully qualified (no wildcards are supported in in parenthesis at the end of the label pattern. In this case, the
the toolchain name). toolchain must be fully qualified (no wildcards are supported in the
toolchain name).
"//foo:bar(//build/toochain:mac)" "//foo:bar(//build/toolchain:mac)"
An explicit target in an explicit toolchain. An explicit target in an explicit toolchain.
":*(//build/toolchain/linux:32bit)" ":*(//build/toolchain/linux:32bit)"
......
...@@ -33,11 +33,12 @@ const char kLabelPattern_Help[] = ...@@ -33,11 +33,12 @@ const char kLabelPattern_Help[] =
"//foo/bar/*" (all targets in any subdir of //foo/bar) "//foo/bar/*" (all targets in any subdir of //foo/bar)
"./*" (all targets in the current build file or sub dirs) "./*" (all targets in the current build file or sub dirs)
Any of the above forms can additionally take an explicit toolchain. In this Any of the above forms can additionally take an explicit toolchain
case, the toolchain must be fully qualified (no wildcards are supported in in parenthesis at the end of the label pattern. In this case, the
the toolchain name). toolchain must be fully qualified (no wildcards are supported in the
toolchain name).
"//foo:bar(//build/toochain:mac)" "//foo:bar(//build/toolchain:mac)"
An explicit target in an explicit toolchain. An explicit target in an explicit toolchain.
":*(//build/toolchain/linux:32bit)" ":*(//build/toolchain/linux:32bit)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment