summaryrefslogtreecommitdiffstats
path: root/media/webrtc/moz.build
blob: 4c828f0b4ef98a3c4c7ea2f42358dd504c265e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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",
        ]