summaryrefslogtreecommitdiffstats
path: root/media/webrtc/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/moz.build')
-rw-r--r--media/webrtc/moz.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/media/webrtc/moz.build b/media/webrtc/moz.build
new file mode 100644
index 0000000000..4c828f0b4e
--- /dev/null
+++ b/media/webrtc/moz.build
@@ -0,0 +1,16 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+with Files("signaling/**"):
+ BUG_COMPONENT = ("Core", "WebRTC: Signaling")
+
+if CONFIG["MOZ_WEBRTC_SIGNALING"]:
+ # Avoid warnings from third-party code that we can not modify.
+ if CONFIG["CC_TYPE"] == "clang-cl":
+ CXXFLAGS += ["-Wno-invalid-source-encoding"]
+
+ if CONFIG["ENABLE_TESTS"]:
+ TEST_DIRS += [
+ "signaling/gtest",
+ ]