Spracherkennung für: .build vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
# 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 += [
"TestBase64Stream.cpp",
"TestBind.cpp",
"TestBufferedInputStream.cpp",
"TestCacheControlParser.cpp",
"TestCacheIndex.cpp",
"TestCapsule.cpp",
"TestCommon.cpp",
"TestCookie.cpp",
"TestDNS.cpp",
"TestDNSPacket.cpp",
"TestEtcHostsParsing.cpp",
"TestHeaders.cpp",
"TestHostRecordQueue.cpp",
"TestHttp2WebTransport.cpp",
"TestHttp3ConnectUDPStream.cpp",
"TestHttpAtom.cpp",
"TestHttpAuthUtils.cpp",
"TestHttpChannel.cpp",
"TestHttpResponseHead.cpp",
"TestIDNA.cpp",
"TestInputStreamTransport.cpp",
"TestIsValidIp.cpp",
"TestLinkHeader.cpp",
"TestLocalNetworkAccess.cpp",
"TestMIMEInputStream.cpp",
"TestMozURL.cpp",
"TestNoVarySearchUtils.cpp",
"TestPACMan.cpp",
"TestParseHeaders.cpp",
"TestPollableEvent.cpp",
"TestProtocolProxyService.cpp",
"TestReadStreamToString.cpp",
"TestServerTimingHeader.cpp",
"TestSFV.cpp",
"TestSocketTransportService.cpp",
"TestSSLTokensCache.cpp",
"TestStandardURL.cpp",
"TestStorageAccessHeader.cpp",
"TestUDPSocket.cpp",
"TestURIMutator.cpp",
"TestUriTemplate.cpp",
"TestUrlPatternGlue.cpp",
"TestUseAsDictionary.cpp",
"TestWebTransportFlowControl.cpp",
]
# Not in UNIFIED_SOURCES: adding a file to the unified list reshuffles which
# files share a translation unit, and TestHttpAtom relies on nsHttp atom string
# literals being pooled within a single TU (a cross-TU pointer-identity
# assumption). Keeping this file out of the unified build avoids perturbing
# that grouping.
SOURCES += [
"TestCacheCrypto.cpp",
]
if CONFIG["OS_TARGET"] == "WINNT":
UNIFIED_SOURCES += [
"TestNamedPipeService.cpp",
"TestNetworkLinkIdHashingWindows.cpp",
]
# run the test on mac only
if CONFIG["TARGET_OS"] == "OSX":
UNIFIED_SOURCES += ["TestNetworkLinkIdHashingDarwin.cpp"]
TEST_HARNESS_FILES.gtest += [
"urltestdata.json",
]
USE_LIBS += [
"jsoncpp",
]
LOCAL_INCLUDES += [
"/netwerk/base",
"/netwerk/base/http-sfv",
"/netwerk/cache2",
"/netwerk/cookie",
"/netwerk/dns",
"/netwerk/protocol/http",
"/toolkit/components/jsoncpp/include",
"/xpcom/tests/gtest",
]
# windows includes only
if CONFIG["OS_TARGET"] == "WINNT":
LOCAL_INCLUDES += ["/netwerk/system/win32"]
# mac includes only
if CONFIG["TARGET_OS"] == "OSX":
LOCAL_INCLUDES += ["/netwerk/system/mac"]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul-gtest"
LOCAL_INCLUDES += ["!/xpcom", "/xpcom/components"]