devtools/shared/moz.build
author James Graham <james@hoppipolla.co.uk>
Tue, 11 Dec 2018 14:47:00 +0000
changeset 506191 9b0e6c52f47096884e540f069194135a4ac56a34
parent 504691 7590eb03b4ff904b41bdc7f8a17a73eda4f06da7
child 506859 51b65496b2ee4fe7ed56641df63bbcc53f66fa8d
permissions -rw-r--r--
Bug 1436244 - Allow 2000 bytes leaking on wpt mac, r=mccr8 a=test-only Differential Revision: https://phabricator.services.mozilla.com/D14080

# -*- 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',
    'performance-new',
    'platform',
    'protocol',
    'pretty-fast',
    'qrcode',
    'screenshot',
    'security',
    'sourcemap',
    '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',
    'wasm-source-map.js',
)

with Files('**'):
    BUG_COMPONENT = ('DevTools', 'General')