Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / netwerk / cookie / moz.build
blob5c1a6acf2dab43edb82de77bc7ac93526c301219
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Networking: Cookies")
10 # export required interfaces, even if --disable-cookies has been given
11 XPIDL_SOURCES += [
12     "nsICookie.idl",
13     "nsICookieJarSettings.idl",
14     "nsICookieManager.idl",
15     "nsICookieNotification.idl",
16     "nsICookiePermission.idl",
17     "nsICookieService.idl",
18     "nsIThirdPartyCookieBlockingExceptionListService.idl",
21 XPIDL_MODULE = "necko_cookie"
24 EXPORTS.mozilla.net = [
25     "Cookie.h",
26     "CookieCommons.h",
27     "CookieJarSettings.h",
28     "CookieKey.h",
29     "CookieNotification.h",
30     "CookieParser.h",
31     "CookiePersistentStorage.h",
32     "CookiePrivateStorage.h",
33     "CookieService.h",
34     "CookieServiceChild.h",
35     "CookieServiceParent.h",
36     "CookieStorage.h",
37     "ThirdPartyCookieBlockingExceptions.h",
39 UNIFIED_SOURCES += [
40     "Cookie.cpp",
41     "CookieCommons.cpp",
42     "CookieJarSettings.cpp",
43     "CookieLogging.cpp",
44     "CookieNotification.cpp",
45     "CookieParser.cpp",
46     "CookiePersistentStorage.cpp",
47     "CookiePrivateStorage.cpp",
48     "CookieService.cpp",
49     "CookieServiceChild.cpp",
50     "CookieServiceParent.cpp",
51     "CookieStorage.cpp",
52     "ThirdPartyCookieBlockingExceptions.cpp",
54 XPCSHELL_TESTS_MANIFESTS += [
55     "test/unit/xpcshell.toml",
58 BROWSER_CHROME_MANIFESTS += [
59     "test/browser/browser.toml",
62 MOCHITEST_MANIFESTS += [
63     "test/mochitest/mochitest.toml",
66 IPDL_SOURCES = [
67     "PCookieService.ipdl",
70 LOCAL_INCLUDES += [
71     "/dom/base",
72     "/intl/uconv",
73     "/netwerk/base",
74     "/netwerk/protocol/http",
77 EXTRA_JS_MODULES += [
78     "ThirdPartyCookieBlockingExceptionListService.sys.mjs",
81 TESTING_JS_MODULES += [
82     "CookieXPCShellUtils.sys.mjs",
85 XPCOM_MANIFESTS += [
86     "components.conf",
89 include("/ipc/chromium/chromium-config.mozbuild")
91 FINAL_LIBRARY = "xul"