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

Unified Diff: tools/gn/docs/language.md

Issue 2430153004: gn docs: Update toolchain example in the language reference (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/docs/language.md
diff --git a/tools/gn/docs/language.md b/tools/gn/docs/language.md
index e6e80d31493eefe859b68b72027b4762c0184fcb..514541d25918e783ee7312acc62a611ae7fde9b6 100644
--- a/tools/gn/docs/language.md
+++ b/tools/gn/docs/language.md
@@ -607,8 +607,8 @@ toolchain("32") {
... more tools ...
# Arguments to the build when re-invoking as a secondary toolchain.
- toolchain_args() {
- toolchain_cpu = "x86"
+ toolchain_args = {
+ current_cpu = "x86"
}
}
@@ -619,8 +619,8 @@ toolchain("64") {
... more tools ...
# Arguments to the build when re-invoking as a secondary toolchain.
- toolchain_args() {
- toolchain_cpu = "x64"
+ toolchain_args = {
+ current_cpu = "x64"
}
}
```
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698