caps/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 23 Jul 2014 08:37:51 +0900
changeset 195616 b6982073587f13f4c2575346aa952a520ea0ebae
parent 194507 2d3418a4639971243b7375b38d4e33283403eb52
child 231225 b14b9b335d4e1cf2a6e6ee0af1739b49506906ac
permissions -rw-r--r--
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal

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