[GN]: Precompiled header support for GCC.

+ Adds `gcc` as an option for `precompiled_header_type`
+ Fixes a bug where build targets had superfluous pch deps.
+ GCH files are compiled using the `-x <header lang>` and used via the `-header` flag. Since the two are mutually exclusive and we didn’t want to add `-header` to every build target line, the global cflags_* vars contain `-include` and each pch build target includes its own copy of the cflags_* values while replacing `-include` with `-x <header lang>`

BUG=297681

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

Cr-Original-Commit-Position: refs/heads/master@{#349518}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1ae777a027b5243924f2b3ba774067a7bf5926cf
8 files changed
tree: 85ea173aab031942f510c509ef2560e3ba7bfb5c
  1. tools/