Allow GN configs to have sub-configs.

Some of the configs are getting unwieldy (the "compiler" one) and some are used to just forward to other variants like default_symbols and default_optimization.

This adds the ability for a config to have configs to add flags by reference. This allows large configs to be split apart into more logical units, and allows forwarding configs like default_optimization to be written in the obvious way.

An example of what this enables is https://codereview.chromium.org/1341373002/

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

Cr-Original-Commit-Position: refs/heads/master@{#349258}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bd14442c3ff59815f01abea3a32db6c017f895dd
16 files changed
tree: 362cdb9c812381dc3ae904f5024e0093cf366df7
  1. tools/