Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Issue 1342293002: Move `gn check` into the `generate_build_files` step. (Closed)

Created:
5 years, 3 months ago by Dirk Pranke
Modified:
5 years, 3 months ago
Reviewers:
brettw, jam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move `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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -32 lines) Patch
M .gn View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M components/html_viewer/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
M components/os_crypt/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/update_client/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/user_manager/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 2 chunks +0 lines, -10 lines 0 comments Download
M testing/buildbot/client.v8.fyi.json View 1 chunk +0 lines, -7 lines 0 comments Download
M testing/buildbot/tryserver.chromium.linux.json View 1 chunk +0 lines, -4 lines 0 comments Download
M testing/buildbot/tryserver.v8.json View 1 chunk +0 lines, -7 lines 0 comments Download
M tools/mb/mb.py View 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 37 (16 generated)
Dirk Pranke
5 years, 3 months ago (2015-09-15 23:26:27 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/20001
5 years, 3 months ago (2015-09-15 23:38:55 UTC) #5
brettw
lgtm
5 years, 3 months ago (2015-09-15 23:42:09 UTC) #6
commit-bot: I haz the power
Dry run: Transient error: Invalid delimiter in "tryserver.chromium.mac.mac_chromium_gn_rel,mac_chromium_gn_dbg": Correct syntax is "tryserver:bot1,bot2;tryserver2:bot3,bot4;".
5 years, 3 months ago (2015-09-16 00:05:53 UTC) #8
jam
lgtm
5 years, 3 months ago (2015-09-16 00:17:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/20001
5 years, 3 months ago (2015-09-16 18:35:06 UTC) #11
commit-bot: I haz the power
Transient error: Invalid delimiter in "tryserver.chromium.mac.mac_chromium_gn_rel,mac_chromium_gn_dbg": Correct syntax is "tryserver:bot1,bot2;tryserver2:bot3,bot4;".
5 years, 3 months ago (2015-09-16 18:35:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/20001
5 years, 3 months ago (2015-09-16 20:30:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/7247)
5 years, 3 months ago (2015-09-16 20:41:04 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/20001
5 years, 3 months ago (2015-09-16 21:01:18 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_dbg on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_dbg/builds/609) mac_chromium_gn_rel on ...
5 years, 3 months ago (2015-09-16 21:07:35 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/60001
5 years, 3 months ago (2015-09-16 23:09:06 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-17 01:16:20 UTC) #25
Dirk Pranke
Brett: can you review the BUILD.gn changes, particularly the ones for the win installer? I ...
5 years, 3 months ago (2015-09-17 01:33:38 UTC) #26
brettw
Let's revert the installer changes and remove it from the check list. We can get ...
5 years, 3 months ago (2015-09-17 20:28:32 UTC) #27
Dirk Pranke
On 2015/09/17 20:28:32, brettw wrote: > Let's revert the installer changes and remove it from ...
5 years, 3 months ago (2015-09-17 20:31:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/80001
5 years, 3 months ago (2015-09-17 20:32:26 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/70498)
5 years, 3 months ago (2015-09-18 00:45:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1342293002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1342293002/80001
5 years, 3 months ago (2015-09-18 17:55:42 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 3 months ago (2015-09-18 19:07:08 UTC) #36
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 19:08:01 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b218d91ef159033438a8b79fc0ca8da7abdc2b8e
Cr-Commit-Position: refs/heads/master@{#349731}

Powered by Google App Engine
This is Rietveld 408576698