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

Unified Diff: webrtc/audio/BUILD.gn

Issue 2064523002: GN: Add video_engine_tests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: audio_receive_stream_unittest compile Created 4 years, 6 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 d33a91654b399c3288e22822cbe4c7b3faab6ffe..d031f69e100556faaad0d579935ecc4215f43a64 100644
--- a/webrtc/audio/BUILD.gn
+++ b/webrtc/audio/BUILD.gn
@@ -35,3 +35,23 @@ source_set("audio") {
"../voice_engine",
]
}
+if (rtc_include_tests) {
+ source_set("audio_tests") {
+ testonly = true
+ sources = [
+ "audio_receive_stream_unittest.cc",
+ "audio_send_stream_unittest.cc",
+ "audio_state_unittest.cc",
+ ]
+ deps = [
+ ":audio",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugin.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698