summaryrefslogtreecommitdiffstats
path: root/components/update_client/BUILD.gn
diff options
context:
space:
mode:
authordpranke <dpranke@chromium.org>2015-09-18 12:07:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-18 19:07:49 +0000
commitb218d91ef159033438a8b79fc0ca8da7abdc2b8e (patch)
tree45e814c3b88e0ad57c11ba1178fb46364164819c /components/update_client/BUILD.gn
parent31b2721a44330fb51fe59c2c6628e2a9593a384b (diff)
downloadchromium_src-b218d91ef159033438a8b79fc0ca8da7abdc2b8e.zip
chromium_src-b218d91ef159033438a8b79fc0ca8da7abdc2b8e.tar.gz
chromium_src-b218d91ef159033438a8b79fc0ca8da7abdc2b8e.tar.bz2
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 Review URL: https://codereview.chromium.org/1342293002 Cr-Commit-Position: refs/heads/master@{#349731}
Diffstat (limited to 'components/update_client/BUILD.gn')
-rw-r--r--components/update_client/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/update_client/BUILD.gn b/components/update_client/BUILD.gn
index 31e636b..ec76b7e 100644
--- a/components/update_client/BUILD.gn
+++ b/components/update_client/BUILD.gn
@@ -58,6 +58,7 @@ source_set("update_client") {
"//third_party/libxml",
"//third_party/zlib:zip",
"//net",
+ "//ui/base",
"//url",
]
}