Remove testing/ and third_party/googletest/, build gn_unittests

- Add support for building gn_unittests.
- Add a minimal googletest-alike in src/test/test.h (and remove
  third_party/googletest).
- Switch to explicitly listing all source files in build/gen.py because
  the globs were a mess (and wrong).
- Add .clang-format file.

Change-Id: I1a4ea2114d176750ba9050a2dbf48b89aad6575c
Reviewed-on: https://gn-review.googlesource.com/1340
Reviewed-by: Brett Wilson <brettw@chromium.org>
753 files changed
tree: 93e2fff5cf010bf64f5963025683adaaf3fed416
  1. base/
  2. build/
  3. infra/
  4. src/
  5. third_party/
  6. tools/
  7. .clang-format
  8. .editorconfig
  9. .gitignore
  10. .style.yapf
  11. AUTHORS
  12. LICENSE
  13. README.md
README.md

GN

GN is a meta-build system that generates build files for Ninja.

Get started with:

git clone https://gn.googlesource.com/gn
cd gn
build/gen.py
ninja -C out