DescriptionMove `gn check` into the `generate_build_files` step.
The dedicated GN bots run a script test step called `gn_check`
that (unsurprisingly) runs `gn check` to validate that we
haven't introduced any bad build dependencies.
When we enabled GN on the regular Linux bots, we forgot to add
that step. It turns out that we can't easily add it, because
the Linux bots use a builder/tester split, and the script would
run on the tester, where we don't have a build directory and
don't know what GN args to check against.
This patch changes the MB/generate_build_files step to add the
--check flag to the normal `gn gen` invocation. This slows
down the generate_build_files step, but the time would be spent
somewhere anyway when we ran the gn check step, later.
This patch also removes the explicit gn_check test step from
all of the bots. This patch will have the side effect of starting
to run `gn check` on *every* GN configuration (GN check was only
being run on some of the configurations before).
R=jam@chromium.org, brettw@chromium.org
BUG=532230
CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg;tryserver.chromium.win:win8_chromium_gn_dbg,win_chromium_gn_x64_rel
Committed: https://crrev.com/b218d91ef159033438a8b79fc0ca8da7abdc2b8e
Cr-Commit-Position: refs/heads/master@{#349731}
Patch Set 1 : patch for review #Patch Set 2 : fix various gn check issues, skip html_viewer for now #Patch Set 3 : fix a bunch of win installer gn check issues #Patch Set 4 : back out installer changes, do not check //chrome/installer #
Messages
Total messages: 37 (16 generated)
|