зеркало из https://github.com/mozilla/gecko-dev.git
50 строки
1.2 KiB
Python
50 строки
1.2 KiB
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/.
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'Permissions.h',
|
|
'PermissionStatus.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'Permissions.cpp',
|
|
'PermissionStatus.cpp',
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'PermissionPromptService.js',
|
|
'PermissionPromptService.manifest',
|
|
'PermissionSettings.js',
|
|
'PermissionSettings.manifest',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'PermissionSettings.jsm',
|
|
]
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
|
|
|
if CONFIG['MOZ_B2G_RIL']:
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest-ril.ini']
|
|
|
|
if CONFIG['MOZ_B2G_FM']:
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest-fm.ini']
|
|
|
|
if CONFIG['MOZ_B2G_BT']:
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest-bt.ini']
|
|
|
|
if CONFIG['MOZ_WEBSMS_BACKEND']:
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest-websms.ini']
|
|
|
|
if CONFIG['MOZ_TIME_MANAGER']:
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest-time.ini']
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
FINAL_LIBRARY = 'xul'
|