gecko-dev/devtools/shared/moz.build

80 строки
1.7 KiB
Python

# -*- Mode: python; 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/.
include('../templates.mozbuild')
DIRS += [
'acorn',
'adb',
'client',
'css',
'discovery',
'fronts',
'heapsnapshot',
'inspector',
'jsbeautify',
'layout',
'locales',
'node-properties',
'performance',
'platform',
'protocol',
'qrcode',
'screenshot',
'security',
'sprintfjs',
'specs',
'transport',
'webconsole',
'worker',
]
# Only ship test helpers in local builds
if not CONFIG['MOZILLA_OFFICIAL']:
DIRS += ['test-helpers']
if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
JAR_MANIFESTS += ['jar.mn']
DevToolsModules(
'async-storage.js',
'async-utils.js',
'base-loader.js',
'builtin-modules.js',
'content-observer.js',
'debounce.js',
'defer.js',
'deprecated-sync-thenables.js',
'DevToolsUtils.js',
'dom-node-constants.js',
'dom-node-filter-constants.js',
'event-emitter.js',
'extend.js',
'flags.js',
'generate-uuid.js',
'indentation.js',
'indexed-db.js',
'l10n.js',
'loader-plugin-raw.jsm',
'Loader.jsm',
'Parser.jsm',
'path.js',
'plural-form.js',
'protocol.js',
'system.js',
'task.js',
'ThreadSafeDevToolsUtils.js',
'throttle.js',
)
with Files('**'):
BUG_COMPONENT = ('DevTools', 'General')