mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
ebde6b9f4f
--HG-- extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
43 lines
948 B
Python
43 lines
948 B
Python
# -*- 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',
|
|
'nsNullPrincipalURI.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'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
|