extensions/cookie/moz.build
author Jay Lim <jlim@mozilla.com>
Fri, 20 Jul 2018 18:02:45 -0400
changeset 443677 8102b1887aedee1a0befb95af8260e9294a97bf4
parent 434901 24f05c63c730fc2f2062bb40cca91b02e07ef17b
child 458972 625f71135038f79c075f758e316fbb00097c9a18
permissions -rw-r--r--
Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime process type, which will be mapped back to an E10SUtils process type, is unnecessary. MozReview-Commit-ID: KeYkuRDyqXO

# -*- 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',
]

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')