2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04: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/.
|
|
|
|
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += ['httpserver']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2014-02-07 01:00:20 +04:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['mochitests/mochitest.ini']
|
2013-04-29 22:49:00 +04:00
|
|
|
|
2015-01-03 04:00:20 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'unit/xpcshell.ini',
|
2015-04-02 04:17:59 +03:00
|
|
|
'unit/xpcshell_b2g.ini',
|
2015-01-03 04:00:20 +03:00
|
|
|
'unit_ipc/xpcshell.ini',
|
|
|
|
]
|
2013-04-24 01:54:15 +04:00
|
|
|
|
2014-10-30 07:06:12 +03:00
|
|
|
GeckoSimplePrograms([
|
2013-08-14 11:00:13 +04:00
|
|
|
'PropertiesTest',
|
|
|
|
'ReadNTLM',
|
|
|
|
'TestBlockingSocket',
|
|
|
|
'TestDNS',
|
|
|
|
'TestIncrementalDownload',
|
|
|
|
'TestOpen',
|
|
|
|
'TestProtocols',
|
|
|
|
'TestServ',
|
|
|
|
'TestStandardURL',
|
|
|
|
'TestStreamLoader',
|
|
|
|
'TestUpload',
|
2013-10-24 03:05:43 +04:00
|
|
|
'TestURLParser',
|
2013-08-14 11:00:13 +04:00
|
|
|
'urltest',
|
2014-09-03 09:10:54 +04:00
|
|
|
])
|
2013-08-14 11:00:13 +04:00
|
|
|
|
|
|
|
# XXX Make this work in libxul builds.
|
2013-11-02 03:43:55 +04:00
|
|
|
#SIMPLE_PROGRAMS += [
|
2013-08-14 11:00:13 +04:00
|
|
|
# TestIDN',
|
|
|
|
# TestIOThreads',
|
|
|
|
# TestSocketTransport',
|
|
|
|
# TestStreamPump',
|
|
|
|
# TestStreamTransport',
|
|
|
|
# TestUDPSocketProvider',
|
|
|
|
#]
|
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
CppUnitTests([
|
2014-10-07 13:25:54 +04:00
|
|
|
'TestBind',
|
2014-07-24 21:01:43 +04:00
|
|
|
'TestCookie',
|
2014-07-23 08:29:44 +04:00
|
|
|
'TestUDPSocket',
|
2014-09-03 09:10:54 +04:00
|
|
|
])
|
2013-07-24 11:23:06 +04:00
|
|
|
|
2013-11-05 22:37:54 +04:00
|
|
|
RESOURCE_FILES += [
|
|
|
|
'urlparse.dat',
|
|
|
|
'urlparse_unx.dat',
|
|
|
|
]
|
2014-07-23 08:30:52 +04:00
|
|
|
|
2016-02-25 18:41:13 +03:00
|
|
|
USE_LIBS += ['static:js']
|
|
|
|
|
2016-05-02 11:49:58 +03:00
|
|
|
if CONFIG['ENABLE_INTL_API'] and CONFIG['MOZ_ICU_DATA_ARCHIVE']:
|
|
|
|
# The ICU libraries linked into libmozjs will not include the ICU data,
|
|
|
|
# so link it directly.
|
|
|
|
USE_LIBS += ['icudata']
|
|
|
|
|
2014-08-07 22:46:58 +04:00
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
2016-02-25 18:41:13 +03:00
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-shadow']
|