diff options
Diffstat (limited to 'media/webrtc/signaling/test/moz.build')
-rw-r--r-- | media/webrtc/signaling/test/moz.build | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media/webrtc/signaling/test/moz.build b/media/webrtc/signaling/test/moz.build new file mode 100644 index 000000000..4d8704de4 --- /dev/null +++ b/media/webrtc/signaling/test/moz.build @@ -0,0 +1,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'] != 'gonk' 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'] |