caps/moz.build
author Sid Stamm <sstamm@mozilla.com>
Tue, 18 Nov 2014 08:47:03 -0500
changeset 242708 5f0f56a36128be35208c853416ebbed793f08d06
parent 218514 b6982073587f13f4c2575346aa952a520ea0ebae
child 246314 b14b9b335d4e1cf2a6e6ee0af1739b49506906ac
permissions -rw-r--r--
Bug 704320 - content/dom changes for meta referrer support. (r=jst) This enables referrer policies for: - EventSource (content/base/src/EventSource) - XMLHttpRequest (content/base/src/nsXMLHttpRequest) - HTML media elements (content/html/content/src/HTMLMediaElement) - window.open (embedding/components/windowwatcher) - window.location (dom/base/nsLocation)

# -*- Mode: python; c-basic-offset: 4; 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 += ['tests/mochitest']

XPIDL_SOURCES += [
    'nsIDomainPolicy.idl',
    'nsIPrincipal.idl',
    'nsIScriptSecurityManager.idl',
]

XPIDL_MODULE = 'caps'

EXPORTS += [
    'nsJSPrincipals.h',
    'nsNullPrincipal.h',
]

UNIFIED_SOURCES += [
    'DomainPolicy.cpp',
    'nsJSPrincipals.cpp',
    'nsNullPrincipal.cpp',
    'nsNullPrincipalURI.cpp',
    'nsPrincipal.cpp',
    'nsScriptSecurityManager.cpp',
    'nsSystemPrincipal.cpp',
]

MSVC_ENABLE_PGO = True

LOCAL_INCLUDES += [
    '/dom/base',
    '/js/xpconnect/src',
]

FINAL_LIBRARY = 'xul'