gecko/dom/tests/mochitest/moz.build

54 lines
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/.
DIRS += [
'dom-level0',
'ajax',
'beacon',
'bugs',
'general',
'geolocation',
'localstorage',
'orientation',
'sessionstorage',
'storageevent',
'notification',
'webcomponents',
]
if CONFIG['MOZ_GAMEPAD']:
DIRS += ['gamepad']
MOCHITEST_MANIFESTS += [
'crypto/mochitest.ini',
'dom-level1-core/mochitest.ini',
'dom-level2-core/mochitest.ini',
'dom-level2-html/mochitest.ini',
'webapps/mochitest.ini',
'whatwg/mochitest.ini',
]
MOCHITEST_CHROME_MANIFESTS += [
'chrome/chrome.ini',
'webapps/chrome.ini',
'whatwg/chrome.ini',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gtk2':
# Bug 788164.
MOCHITEST_MANIFESTS += [
'pointerlock/mochitest.ini',
]
if CONFIG['MOZ_DISABLE_CRYPTOLEGACY']:
MOCHITEST_MANIFESTS += [
'crypto/mochitest-no-legacy.ini',
]
else:
MOCHITEST_MANIFESTS += [
'crypto/mochitest-legacy.ini',
]