2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04:00
|
|
|
# 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']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
2014-07-15 22:12:59 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDomainPolicy.idl',
|
|
|
|
'nsIPrincipal.idl',
|
|
|
|
'nsIScriptSecurityManager.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'caps'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsJSPrincipals.h',
|
|
|
|
'nsNullPrincipal.h',
|
2015-02-24 23:54:40 +03:00
|
|
|
'nsNullPrincipalURI.h',
|
2014-07-15 22:12:59 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
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',
|
|
|
|
]
|
|
|
|
|
2015-02-24 23:54:40 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-15 22:12:59 +04:00
|
|
|
|
2014-12-05 03:24:03 +03:00
|
|
|
FAIL_ON_WARNINGS = True
|