Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: webrtc/api/BUILD.gn

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Disable Win compile warning Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/BUILD.gn
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn
index 71e5243f90336e3f614fd1bf42f739a52ac304d2..d90bb5f7da31d3c53b2692a924c142a53bf19b5c 100644
--- a/webrtc/api/BUILD.gn
+++ b/webrtc/api/BUILD.gn
@@ -230,6 +230,9 @@ if (rtc_include_tests) {
rtc_source_set("rtc_api_unittests") {
testonly = true
+ if (!is_android && !is_ios) { # Generated targets makes this check break.
kjellander_webrtc 2017/04/21 12:13:59 What I mean with this is that when building rtc_un
stefan-webrtc 2017/04/21 12:28:27 I think it would be good to describe this in a bit
kjellander_webrtc 2017/04/21 12:48:21 Done.
+ visibility = [ "//webrtc:rtc_unittests" ]
+ }
sources = [
"ortc/mediadescription_unittest.cc",
"ortc/sessiondescription_unittest.cc",

Powered by Google App Engine
This is Rietveld 408576698