netwerk/cookie/moz.build

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 # -*- Mode: python; c-basic-offset: 4; 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 # export required interfaces, even if --disable-cookies has been given
     8 XPIDL_SOURCES += [
     9     'nsICookie.idl',
    10     'nsICookie2.idl',
    11     'nsICookieManager.idl',
    12     'nsICookieManager2.idl',
    13     'nsICookiePermission.idl',
    14     'nsICookieService.idl',
    15 ]
    17 XPIDL_MODULE = 'necko_cookie'
    19 if CONFIG['NECKO_COOKIES']:
    20     MSVC_ENABLE_PGO = True
    22     EXPORTS.mozilla.net = [
    23         'CookieServiceChild.h',
    24         'CookieServiceParent.h',
    25     ]
    26     UNIFIED_SOURCES += [
    27         'CookieServiceChild.cpp',
    28         'CookieServiceParent.cpp',
    29         'nsCookie.cpp',
    30     ]
    31     # nsCookieService.cpp can't be unified because it forces NSPR logging.
    32     SOURCES += [
    33         'nsCookieService.cpp',
    34     ]
    35     LOCAL_INCLUDES += [
    36         '/intl/uconv/src',
    37     ]
    39     XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
    41     # FIXME/bug 575918: out-of-process xpcshell is broken on OS X
    42     if CONFIG['OS_ARCH'] != 'Darwin':
    43         XPCSHELL_TESTS_MANIFESTS += ['test/unit_ipc/xpcshell.ini']
    45 IPDL_SOURCES = [
    46     'PCookieService.ipdl',
    47 ]
    49 FAIL_ON_WARNINGS = True
    51 include('/ipc/chromium/chromium-config.mozbuild')
    53 FINAL_LIBRARY = 'necko'

mercurial