aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorAndrey Logvin <landrey@webrtc.org>2021-02-01 09:56:37 +0000
committerCommit Bot <commit-bot@chromium.org>2021-02-01 13:46:19 +0000
commite7c79fd3d66e0f6c54c027f880a8b1682ebae58a (patch)
tree95f32ed5fd8b30f11b1dacceb13e09b85793ca51 /BUILD.gn
parentd6604df27fd5f09f00b08e444d8a57a4bf14803c (diff)
downloadwebrtc-e7c79fd3d66e0f6c54c027f880a8b1682ebae58a.tar.gz
Remove from chromium build targets that are not compatible with it.
We need to be able build chromium with rtc_include_tests = true. It reveals a lot of targets that are not compatible with chromium but aren't marked so. `rtc_include_tests=true` has been considered a way to disable targets for the Chromium build, causing an overload on rtc_include_tests while the meaning of the two GN args (rtc_include_tests and build_with_chromium) should be kept separated. Bug: webrtc:12404 Change-Id: I2f72825445916eae7c20ef9338672d6a07a9b9ff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203890 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Andrey Logvin <landrey@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33124}
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index bf524bfd62..8d9a76bf84 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -527,7 +527,7 @@ if (use_libfuzzer || use_afl) {
}
}
-if (rtc_include_tests) {
+if (rtc_include_tests && !build_with_chromium) {
rtc_test("rtc_unittests") {
testonly = true