DescriptionFix //tools/gn/example on Linux: missing current_os and related vars
The example GN project's BUILDCONIG.gn needs to set {target,current}_{os,cpu)
variables like the Chromium BUILDCONFIG file does. Otherwise some conditionals
don't work like they do in Chromium and the project doesn't link on Linux,
which is needlessly confusing.
To test, `gn gen out' in //tools/gn/example, and then `ninja -C out'.
R=brettw@chromium.org
BUG=
Committed: https://crrev.com/763cdd3e2a8143c6c4a7b0991579dd21aaf1aeac
Cr-Commit-Position: refs/heads/master@{#357329}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|