2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:23 +00:00
|
|
|
# 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/.
|
|
|
|
|
2019-03-04 15:42:07 +00:00
|
|
|
TEST_DIRS += ['httpserver', 'gtest', 'unit']
|
2013-03-19 18:47:00 +00:00
|
|
|
|
2014-02-06 21:00:20 +00:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['mochitests/mochitest.ini']
|
2013-04-29 18:49:00 +00:00
|
|
|
|
2015-01-03 01:00:20 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'unit/xpcshell.ini',
|
|
|
|
'unit_ipc/xpcshell.ini',
|
|
|
|
]
|
2013-04-23 21:54:15 +00:00
|
|
|
|
2016-11-29 18:53:48 +00:00
|
|
|
FINAL_LIBRARY = 'xul-gtest'
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'TestBind.cpp',
|
|
|
|
'TestCookie.cpp',
|
|
|
|
'TestUDPSocket.cpp',
|
|
|
|
]
|
2013-07-24 07:23:06 +00:00
|
|
|
|
2016-09-30 16:51:01 +00:00
|
|
|
if CONFIG['OS_TARGET'] == 'WINNT':
|
2016-11-29 18:53:48 +00:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'TestNamedPipeService.cpp',
|
|
|
|
]
|
2016-09-30 16:51:01 +00:00
|
|
|
|
2016-02-25 15:41:13 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2016-05-11 07:00:01 +00:00
|
|
|
|
2017-12-07 21:09:15 +00:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-05-11 07:00:01 +00:00
|
|
|
CXXFLAGS += ['-Wno-shadow']
|