gn: bootstrap: fixes, added mac support

bootstrap.py:
+ Fixed build (missing/wrong compile flags)
+ Added -s option to stop before trying to rebuild GN with GN
+ -v option passes -v to ninja
+ Use env vars CC, CXX, CXXFLAGS
+ Added mac support

R=brettw@chromium.org
BUG=

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

Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e58fde9381e5d345ebec2bb325c84baeedd45edf
2 files changed
tree: 5750a08a35d2fe01de3fc2a5ecea10eaeb2bf120
  1. tools/