Hook up GN to the GYP build system.

This is a reland of 236542 (runs GN in GYP mode before actually running GYP), plus some additions

Move GYP_DEFINES parsing to Python for GN.

I pass in a GN-compatible list of variable sets on the command line from Python. This allows us to parse chromium.gyp_env and src/*/supplemental.gypi in Python like normal without having to duplicate Python dictionary parsing in GN.

Currently, GN does not produce any files used by the build, these will be added in a second step.

BUG=321352
R=bradnelson@google.com

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238454 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238454
Fix unintentional switch case fallthrough.

I also added a break below, where it's not needed, for clarity,
and to avoid any future refactoring from introducing a similar bug.

BUG=102485,177475

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238455 0039d316-1c4b-4281-b951-d872f2087c98
BrowserPlugin: Reduce resize code repetition

BUG=none
Test=all tests pass.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238456 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238456
Fix invalid combobox painting issue in requestAutocomplete() dialog.

R=sky@chromium.org
BUG=325058
TEST=visual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238457 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238457
cc: Defer first OutputSurface creation until client is ready

Remove the |first_output_surface| which was not used before
the client signals ready.
This allows the client to wait before creating a graphics context
until the gpu thread and client channel are set up.

BUG=270179
R=danakj@chromium.org, jamesr@chromium.org, jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238458 0039d316-1c4b-4281-b951-d872f2087c98
Revert 238454 "Hook up GN to the GYP build system."

> Hook up GN to the GYP build system.
> 
> This is a reland of 236542 (runs GN in GYP mode before actually running GYP), plus some additions
> 
> Move GYP_DEFINES parsing to Python for GN.
> 
> I pass in a GN-compatible list of variable sets on the command line from Python. This allows us to parse chromium.gyp_env and src/*/supplemental.gypi in Python like normal without having to duplicate Python dictionary parsing in GN.
> 
> Currently, GN does not produce any files used by the build, these will be added in a second step.
> 
> BUG=321352
> R=bradnelson@google.com
> 
> Review URL: https://codereview.chromium.org/73623005

TBR=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238459 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 238458
SVN changes up to revision 238459