extensions/cookie/moz.build
author Gabriele Svelto <gsvelto@mozilla.com>
Wed, 17 Apr 2019 18:55:14 +0000
changeset 523272 5e9f1cf0693663467059f729d897e2f23b4631e9
parent 518056 860bdc8fa78af1c8a20cbbcd41b29341369723c1
child 530372 fb9c7644874e516e5db3298c25b5b7d17aff2886
permissions -rw-r--r--
Bug 1542581 - Block child process termination until the handler is fully initialized. r=froydnj, a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D27231

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

TEST_DIRS += ['test']

EXPORTS += [
    'nsCookiePermission.h',
]

UNIFIED_SOURCES += [
    'nsCookieModule.cpp',
    'nsCookiePermission.cpp',
    'nsPermission.cpp',
    'nsPermissionManager.cpp',
]

XPCOM_MANIFESTS += [
    'components.conf',
]

LOCAL_INCLUDES += [
    '/caps',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
    CXXFLAGS += ['-Wno-error=shadow']

with Files('**'):
    BUG_COMPONENT = ('Core', 'Networking: Cookies')