2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:23 +00: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 06:56:01 +00:00
|
|
|
# export required interfaces, even if --disable-cookies has been given
|
2013-03-12 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICookie.idl',
|
|
|
|
'nsICookie2.idl',
|
|
|
|
'nsICookieManager.idl',
|
|
|
|
'nsICookieManager2.idl',
|
|
|
|
'nsICookiePermission.idl',
|
|
|
|
'nsICookieService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'necko_cookie'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
if CONFIG['NECKO_COOKIES']:
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
2013-08-22 06:56:01 +00:00
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.mozilla.net = [
|
|
|
|
'CookieServiceChild.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'CookieServiceParent.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2013-12-03 06:52:50 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-23 23:00:23 +00:00
|
|
|
'CookieServiceChild.cpp',
|
|
|
|
'CookieServiceParent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsCookie.cpp',
|
2013-12-03 06:52:50 +00:00
|
|
|
]
|
|
|
|
# nsCookieService.cpp can't be unified because it forces NSPR logging.
|
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsCookieService.cpp',
|
|
|
|
]
|
2013-11-28 14:25:39 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/intl/uconv/src',
|
|
|
|
]
|
2013-04-29 18:49:00 +00:00
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|
|
|
|
|
2013-11-28 14:25:39 +00: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 13:56:28 +00:00
|
|
|
|
|
|
|
IPDL_SOURCES = [
|
|
|
|
'PCookieService.ipdl',
|
|
|
|
]
|
2013-08-22 06:55:59 +00:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'necko'
|