зеркало из https://github.com/mozilla/gecko-dev.git
54 строки
1.2 KiB
Python
54 строки
1.2 KiB
Python
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
UNIFIED_SOURCES += [
|
|
'TestBufferedInputStream.cpp',
|
|
'TestHeaders.cpp',
|
|
'TestHttpAuthUtils.cpp',
|
|
'TestIsValidIp.cpp',
|
|
'TestMIMEInputStream.cpp',
|
|
'TestMozURL.cpp',
|
|
'TestProtocolProxyService.cpp',
|
|
'TestReadStreamToString.cpp',
|
|
'TestServerTimingHeader.cpp',
|
|
'TestStandardURL.cpp',
|
|
]
|
|
|
|
# skip the test on windows10-aarch64
|
|
if not(CONFIG['OS_TARGET'] == 'WINNT' and CONFIG['CPU_ARCH'] == 'aarch64'):
|
|
UNIFIED_SOURCES += [
|
|
'TestPACMan.cpp',
|
|
'TestPartiallySeekableInputStream.cpp',
|
|
'TestURIMutator.cpp',
|
|
]
|
|
|
|
TEST_HARNESS_FILES.gtest += [
|
|
'urltestdata.json',
|
|
]
|
|
|
|
USE_LIBS += [
|
|
'jsoncpp',
|
|
]
|
|
|
|
TEST_DIRS += [
|
|
'parse-ftp',
|
|
]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/netwerk/base',
|
|
'/toolkit/components/jsoncpp/include',
|
|
'/xpcom/tests/gtest',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul-gtest'
|
|
|
|
LOCAL_INCLUDES += [
|
|
'!/xpcom',
|
|
'/xpcom/components'
|
|
]
|