Bug 1513732 - upgrade index-task docker image r=bstack
[gecko.git] / devtools / moz.build
blob4076f983f26255abd6195edb8e42ef995f4a7196
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG['MOZ_DEVTOOLS'] and CONFIG['MOZ_DEVTOOLS'] not in ('all', 'server'):
8     error('Unsupported MOZ_DEVTOOLS value: %s' % (CONFIG['MOZ_DEVTOOLS']))
10 if CONFIG['MOZ_DEVTOOLS'] == 'all':
11     DIRS += [
12         'client',
13     ]
15 # `platform` contains all native components
16 DIRS += [
17     'platform',
18     'server',
19     'shared',
20     'startup',
23 # /browser uses DIST_SUBDIR.  We opt-in to this treatment when building
24 # DevTools for the browser to keep the root omni.ja slim for use by external XUL
25 # apps.
26 if CONFIG['MOZ_BUILD_APP'] == 'browser':
27     DIST_SUBDIR = 'browser'
28     export('DIST_SUBDIR')
30 with Files('**'):
31     BUG_COMPONENT = ('DevTools', 'General')
33 with Files('docs/**'):
34     BUG_COMPONENT = ('DevTools', 'General')
36 with Files('docs/tools/memory-panel.md'):
37     BUG_COMPONENT = ('DevTools', 'Memory')
39 with Files('docs/tools/debugger-panel.md'):
40     BUG_COMPONENT = ('DevTools', 'Debugger')
42 with Files('docs/backend/debugger-api.md'):
43     BUG_COMPONENT = ('DevTools', 'Debugger')
45 with Files('docs/tools/http-inspector.md'):
46     BUG_COMPONENT = ('DevTools', 'Console')
48 with Files('docs/tools/inspector-panel.md'):
49     BUG_COMPONENT = ('DevTools', 'Inspector')