summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2016-01-22 17:04:53 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-23 01:05:39 +0000
commit60a230b9feab3fda4873d019c0e282c580969a00 (patch)
tree900b54546fa8394e8066d1e84ec063afe1881e5d /BUILD.gn
parent923eda842e0e02eea4df7bc8ee7171503d8e1283 (diff)
downloadchromium_src-60a230b9feab3fda4873d019c0e282c580969a00.zip
chromium_src-60a230b9feab3fda4873d019c0e282c580969a00.tar.gz
chromium_src-60a230b9feab3fda4873d019c0e282c580969a00.tar.bz2
Adds top-level mojo_apptests target that bots use
I added this target to the root as it doesn't really make sense in //mojo (the targets needed to run the apptests span multiple directories). This target ensures that if we run mojo_apptests, all the right targets are built. BUG=569367 TEST=bot only change R=dpranke@chromium.org, msw@chromium.org Review URL: https://codereview.chromium.org/1618393003 Cr-Commit-Position: refs/heads/master@{#371107}
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn17
1 files changed, 16 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index c64f995..843225c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -606,6 +606,21 @@ group("both_gn_and_gyp") {
}
}
+# This group contains all the targets needed to run mojo's apptest_runner.
+group("mojo_apptests") {
+ testonly = true
+
+ deps = []
+
+ if (is_win || is_linux) {
+ deps += [
+ "//mandoline:tests",
+ "//mash/wm:tests",
+ "//ui/views/mus:tests",
+ ]
+ }
+}
+
group("gn_only") {
testonly = true
@@ -625,8 +640,8 @@ group("gn_only") {
if (is_win || is_linux) {
deps += [
+ ":mojo_apptests",
"//mash:all",
- "//ui/views/mus:tests",
]
}