caps/moz.build
author Kartikaya Gupta <kgupta@mozilla.com>
Fri, 19 Jun 2015 08:25:41 -0400
changeset 282123 ee20787262f2519dc10b44467a5bb328dc471ba9
parent 276476 6e940b4892ee13698ee98bea0f2fccac1b9889a3
child 282229 d411a0c7047b8da90999e0dd80ec79f4312729ac
permissions -rw-r--r--
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond

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

XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']

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

XPIDL_MODULE = 'caps'

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

EXPORTS.mozilla = [
    'BasePrincipal.h'
]

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

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

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

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True