Various config fixes in GN.

This makes direct and all dependent configs also apply to the current target.
Previously you had to specify the same thing in the "configs" variable in
addition, and I can't think of a case where you don't want this.

This makes it so that a config applies only once. Previously we would merge
dependent configs and get duplicates, which would mean lots of duplicate
build flags which was obvious on the command line.

Adds the ability to forward direct dependent configs from one target to
another. This matches GYP's export_dependent_settings feature which we use
a surprising amount.

[email protected]

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218865 0039d316-1c4b-4281-b951-d872f2087c98
14 files changed