mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
53 lines
1.3 KiB
Python
53 lines
1.3 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 += [
|
|
'PermissionObserver.cpp',
|
|
'Permissions.cpp',
|
|
'PermissionStatus.cpp',
|
|
'PermissionUtils.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']
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
CXXFLAGS += ['-Wshadow']
|