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

Unified Diff: webrtc/audio/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/audio/BUILD.gn
diff --git a/webrtc/audio/BUILD.gn b/webrtc/audio/BUILD.gn
index 0de4229c7be8ce9416dfb8088cf23a9e4914d338..9092f7c6df4c24fb77972128ed56f448fad9064c 100644
--- a/webrtc/audio/BUILD.gn
+++ b/webrtc/audio/BUILD.gn
@@ -53,6 +53,9 @@ rtc_static_library("audio") {
if (rtc_include_tests) {
rtc_source_set("audio_tests") {
testonly = true
+ if (!is_android && !is_ios) { # Generated targets makes this check break.
+ visibility = [ "//webrtc:video_engine_tests" ]
+ }
# TODO(kjellander): Remove (bugs.webrtc.org/6828)
# This needs remote_bitrate_estimator to be moved to webrtc/api first.

Powered by Google App Engine
This is Rietveld 408576698