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-03-19 22:47:00 +04:00
|
|
|
MODULE = 'necko'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['NECKO_COOKIES']:
|
2013-08-22 10:56:01 +04:00
|
|
|
LIBXUL_LIBRARY = True
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
2013-08-22 10:56:01 +04:00
|
|
|
|
2013-08-15 17:12:40 +04:00
|
|
|
LIBRARY_NAME = 'neckocookie_s'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.net = [
|
|
|
|
'CookieServiceParent.h',
|
|
|
|
'CookieServiceChild.h',
|
|
|
|
]
|
2013-04-24 01:54:15 +04:00
|
|
|
CPP_SOURCES += [
|
2013-10-24 03:00:23 +04:00
|
|
|
'CookieServiceChild.cpp',
|
|
|
|
'CookieServiceParent.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsCookie.cpp',
|
|
|
|
'nsCookieService.cpp',
|
|
|
|
]
|
2013-04-29 22:49:00 +04:00
|
|
|
|
|
|
|
if CONFIG['NECKO_COOKIES']:
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|
|
|
|
|
|
|
|
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
|
|
|
|
if CONFIG['NECKO_COOKIES'] and 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
|
|
|
|
|