dom/media/bridge/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 03 Dec 2020 08:30:44 +0000
changeset 559183 d4b21131a094a0819b8856fbf4165cfb32d671c6
parent 554551 994ae8e4833c90447d91f0e26a718573cff5a514
permissions -rw-r--r--
Bug 1678226 - Use the appropriately sized arm_neon_state64_t for thread float state on arm64 mac. r=lth Differential Revision: https://phabricator.services.mozilla.com/D98563

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

XPIDL_SOURCES += [
    "IPeerConnection.idl",
]

XPIDL_MODULE = "peerconnection"

SOURCES += [
    "MediaModule.cpp",
]

LOCAL_INCLUDES += [
    "/dom/media/webrtc/",
    "/dom/media/webrtc/common/time_profiling",
    "/dom/media/webrtc/jsapi",
    "/dom/media/webrtc/libwebrtcglue",
    "/dom/media/webrtc/transport",
    "/dom/media/webrtc/transportbridge",
    "/ipc/chromium/src",
    "/media/webrtc/",
    "/third_party/libwebrtc",
    "/third_party/libwebrtc/webrtc",
]

if CONFIG["MOZ_WEBRTC"]:
    XPCOM_MANIFESTS += [
        "components.conf",
    ]

FINAL_LIBRARY = "xul"

if CONFIG["CC_TYPE"] in ("clang", "gcc"):
    CXXFLAGS += ["-Wno-error=shadow"]