[go: nahoru, domu]

Start disabling GYP by default in runhooks in some configurations.

The grand GYP disabling is beginning ...

We want to turn of GYP by default in runhooks for configurations that
should only be using GN now.

For now we will only turnxs it off when gyp_chromium is passed the
--running-as-hook flag (which runhooks will now pass), so invoking
build/gyp_chromium will explicitly run. Also, you can set the env var
GYP_CHROMIUM_NO_ACTION=0 and it will explicitly run (setting that var
to =1 will explicitly *not* run and exit early).

This CL takes a conservative first step and turns it off for Linux
hosts that have no GYP_DEFINES set (including command line -D flags
and values pulled in from any supplemental files, chromium.gyp_env,
or ~/.gyp/include.gypi). Subsequent CLs will start broadening this.

R=thakis@chromium.org, brettw@chromium.org, scottmg@chromium.org
BUG=432967

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

Cr-Commit-Position: refs/heads/master@{#387481}
2 files changed