aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJordan Bayles <jophba@chromium.org>2020-02-11 15:15:38 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-12 17:02:04 +0000
commit6b138fb083cf6512f8defa0298fb1d89be73b0f3 (patch)
treea26e4d0b2208f1ad9f6962ca8cc4c17a44b87ce7 /BUILD.gn
parentcb9bf58bd0d29c1a9b0bbadc4a19c1bbac13b5dc (diff)
downloadopenscreen-6b138fb083cf6512f8defa0298fb1d89be73b0f3.tar.gz
Fix linux-rel bot in Chromium autoroller
The recent Discovery E2E test patch here: https://chromium-review.googlesource.com/c/openscreen/+/2031684 broke the linux-rel bot on the Chromium auto roller. This patch properly hides the new targets to fix compilation. Change-Id: Icb10c2f6f74753f52d9baa394ff540dbd45e3b22 Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2051308 Reviewed-by: Brandon Tolsch <btolsch@chromium.org> Reviewed-by: Ryan Keane <rwkeane@google.com> Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn16
1 files changed, 8 insertions, 8 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 000b616f..d91a12b8 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -102,14 +102,6 @@ source_set("openscreen_unittests_all") {
}
}
-source_set("e2e_tests_all") {
- testonly = true
- public_deps = [
- "cast/common:discovery_e2e_test",
- "third_party/googletest:gtest_main",
- ]
-}
-
if (!build_with_chromium) {
executable("openscreen_unittests") {
testonly = true
@@ -120,6 +112,14 @@ if (!build_with_chromium) {
}
if (!build_with_chromium && is_posix) {
+ source_set("e2e_tests_all") {
+ testonly = true
+ public_deps = [
+ "cast/common:discovery_e2e_test",
+ "third_party/googletest:gtest_main",
+ ]
+ }
+
executable("e2e_tests") {
testonly = true
deps = [