summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorjbudorick <jbudorick@chromium.org>2016-02-03 06:35:10 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-03 14:36:58 +0000
commit6b1b03783b81ea27bb521c02aa84b74f06d6f71a (patch)
treecbb75cd5364f7b4cd83794d5bd0d33f2cca2d9fd /sandbox
parent7e67b1df9b5a63bd0441056862b75c515ff224b1 (diff)
downloadchromium_src-6b1b03783b81ea27bb521c02aa84b74f06d6f71a.zip
chromium_src-6b1b03783b81ea27bb521c02aa84b74f06d6f71a.tar.gz
chromium_src-6b1b03783b81ea27bb521c02aa84b74f06d6f71a.tar.bz2
Move gn _run target generation into test().
TBR=brettw@chromium.org BUG= CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1653003006 Cr-Commit-Position: refs/heads/master@{#373232}
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/BUILD.gn11
1 files changed, 10 insertions, 1 deletions
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn
index 341d363..b7d3bfe 100644
--- a/sandbox/linux/BUILD.gn
+++ b/sandbox/linux/BUILD.gn
@@ -192,7 +192,7 @@ action("bpf_dsl_golden") {
rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir)
}
-# TODO(GYP): Delete this after we've converted everything to GN.
+# TODO(GYP): Delete these after we've converted everything to GN.
# The _run targets exist only for compatibility w/ GYP.
group("sandbox_linux_unittests_run") {
testonly = true
@@ -201,6 +201,15 @@ group("sandbox_linux_unittests_run") {
]
}
+if (is_android) {
+ group("sandbox_linux_unittests_apk_run") {
+ testonly = true
+ deps = [
+ ":sandbox_linux_unittests",
+ ]
+ }
+}
+
# The main sandboxing test target. "sandbox_linux_unittests" cannot use the
# test() template because the test is run as an executable not as an APK on
# Android.