Fix //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=

Review URL: https://codereview.chromium.org/1429073002

Cr-Original-Commit-Position: refs/heads/master@{#357329}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 763cdd3e2a8143c6c4a7b0991579dd21aaf1aeac
1 file changed
tree: 45b4ddeea83022b101ed704bac735e71e3939fcb
  1. tools/