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/.
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
# export required interfaces, even if --disable-cookies has been given
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICookie.idl',
|
|
|
|
'nsICookie2.idl',
|
|
|
|
'nsICookieManager.idl',
|
|
|
|
'nsICookieManager2.idl',
|
|
|
|
'nsICookiePermission.idl',
|
|
|
|
'nsICookieService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'necko_cookie'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['NECKO_COOKIES']:
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
2013-08-22 10:56:01 +04:00
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.net = [
|
|
|
|
'CookieServiceChild.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'CookieServiceParent.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-12-03 10:52:50 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-24 03:00:23 +04:00
|
|
|
'CookieServiceChild.cpp',
|
|
|
|
'CookieServiceParent.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsCookie.cpp',
|
2013-12-03 10:52:50 +04:00
|
|
|
]
|
2014-10-07 03:32:50 +04:00
|
|
|
# nsCookieService.cpp can't be unified because it forces NSPR logging.
|
2013-12-03 10:52:50 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsCookieService.cpp',
|
|
|
|
]
|
2013-11-28 18:25:39 +04:00
|
|
|
LOCAL_INCLUDES += [
|
2014-07-24 21:56:39 +04:00
|
|
|
'/intl/uconv',
|
2013-11-28 18:25:39 +04:00
|
|
|
]
|
2013-04-29 22:49:00 +04:00
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|
|
|
|
|
2013-11-28 18:25:39 +04:00
|
|
|
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
|
|
|
|
if CONFIG['OS_ARCH'] != 'Darwin':
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit_ipc/xpcshell.ini']
|
2013-07-01 17:56:28 +04:00
|
|
|
|
|
|
|
IPDL_SOURCES = [
|
|
|
|
'PCookieService.ipdl',
|
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|