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

Unified Diff: webrtc/modules/audio_device/BUILD.gn

Issue 2493483002: Created a mock AudioTransport. (Closed)
Patch Set: put cflags where it belongs Created 4 years, 1 month 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
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/modules/audio_device/android/audio_device_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/BUILD.gn
diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn
index a0f6746c538d386160dc8a0775448157f76083e0..c9c524a82dbc59b0bc7da0eb8dfd66c2e245a803 100644
--- a/webrtc/modules/audio_device/BUILD.gn
+++ b/webrtc/modules/audio_device/BUILD.gn
@@ -241,6 +241,28 @@ rtc_static_library("audio_device") {
}
}
+if (rtc_include_tests) {
+ rtc_source_set("mock_audio_device") {
+ testonly = true
+ sources = [
+ "include/mock_audio_device.h",
+ "include/mock_audio_transport.h",
+ ]
+ deps = [
+ ":audio_device",
+ "../../test:test_support",
+ ]
+ if (is_win) {
+ cflags = [
+ # TODO(phoglund): get rid of 4373 supression when
+ # http://code.google.com/p/webrtc/issues/detail?id=261 is solved.
+ # legacy warning for ignoring const / volatile in signatures.
+ "/wd4373",
+ ]
+ }
+ }
+}
+
# These tests do not work on ios, see
# https://bugs.chromium.org/p/webrtc/issues/detail?id=4755
if (rtc_include_tests && !is_ios) {
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/modules/audio_device/android/audio_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698