Backed out changeset f1426851ae30 (bug 1844755) for causing failures on test_printpre...
[gecko.git] / netwerk / cookie / moz.build
blobdf7dd598387d54c2e0a8f2c4ff25709b0d29e1e5
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",
20 XPIDL_MODULE = "necko_cookie"
23 EXPORTS.mozilla.net = [
24     "Cookie.h",
25     "CookieJarSettings.h",
26     "CookieKey.h",
27     "CookieNotification.h",
28     "CookiePersistentStorage.h",
29     "CookiePrivateStorage.h",
30     "CookieService.h",
31     "CookieServiceChild.h",
32     "CookieServiceParent.h",
33     "CookieStorage.h",
35 UNIFIED_SOURCES += [
36     "Cookie.cpp",
37     "CookieCommons.cpp",
38     "CookieJarSettings.cpp",
39     "CookieLogging.cpp",
40     "CookieNotification.cpp",
41     "CookiePersistentStorage.cpp",
42     "CookiePrivateStorage.cpp",
43     "CookieService.cpp",
44     "CookieServiceChild.cpp",
45     "CookieServiceParent.cpp",
46     "CookieStorage.cpp",
48 XPCSHELL_TESTS_MANIFESTS += [
49     "test/unit/xpcshell.ini",
52 BROWSER_CHROME_MANIFESTS += [
53     "test/browser/browser.toml",
56 MOCHITEST_MANIFESTS += [
57     "test/mochitest/mochitest.toml",
60 IPDL_SOURCES = [
61     "PCookieService.ipdl",
64 LOCAL_INCLUDES += [
65     "/dom/base",
66     "/intl/uconv",
67     "/netwerk/base",
68     "/netwerk/protocol/http",
71 TESTING_JS_MODULES += [
72     "CookieXPCShellUtils.sys.mjs",
75 include("/ipc/chromium/chromium-config.mozbuild")
77 FINAL_LIBRARY = "xul"