summaryrefslogtreecommitdiffstats
path: root/media/webrtc/signaling/test/moz.build
blob: aac331b1b89a2370fdaf854054778bae67829723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- 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/.

# TODO: bug 1172551 - get these tests working on iOS
if CONFIG['OS_TARGET'] != 'WINNT' and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'uikit':
    GeckoCppUnitTests([
        'jsep_session_unittest',
        'jsep_track_unittest',
        'mediaconduit_unittests',
        'sdp_file_parser',
        'sdp_unittests',
        'signaling_unittests',
    ])

include('/ipc/chromium/chromium-config.mozbuild')
include('common.build')

USE_LIBS += [
    '/media/webrtc/signalingtest/signaling_ecc/ecc',
    'mtransport_s',
]

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']

if CONFIG['_MSC_VER']:
    # This is intended as a temporary workaround to enable warning free building
    # with VS2015.
    # reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
    CXXFLAGS += ['-wd4312']