Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
authorJoel Maher <jmaher@mozilla.com>
Fri, 13 Jan 2017 08:40:35 -0500
changeset 329331 50e914c1f164fb174508340ad4657dab6c1ff704
parent 329330 e9f7262e1cdf051ba72a2f953a9105ea128908fb
child 329332 e8ae38b46276774d445d7ac72e06d72aed75189b
push id31204
push userkwierso@gmail.com
push dateFri, 13 Jan 2017 23:44:41 +0000
treeherdermozilla-central@ac3275723df5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1330325
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans MozReview-Commit-ID: Bd0ca7f6QE6
devtools/client/aboutdebugging/moz.build
devtools/client/animationinspector/moz.build
devtools/client/canvasdebugger/moz.build
devtools/client/debugger/moz.build
devtools/client/dom/moz.build
devtools/client/framework/moz.build
devtools/client/inspector/moz.build
devtools/client/jsonview/moz.build
devtools/client/moz.build
devtools/client/netmonitor/moz.build
devtools/client/performance/moz.build
devtools/client/responsive.html/moz.build
devtools/client/responsivedesign/moz.build
devtools/client/scratchpad/moz.build
devtools/client/shadereditor/moz.build
devtools/client/shared/moz.build
devtools/client/sourceeditor/moz.build
devtools/client/storage/moz.build
devtools/client/styleeditor/moz.build
devtools/client/webaudioeditor/moz.build
devtools/client/webconsole/moz.build
devtools/client/webide/moz.build
devtools/moz.build
devtools/server/actors/moz.build
devtools/server/moz.build
devtools/server/performance/moz.build
devtools/shared/moz.build
--- a/devtools/client/aboutdebugging/moz.build
+++ b/devtools/client/aboutdebugging/moz.build
@@ -7,8 +7,11 @@
 DIRS += [
     'components',
     'modules',
 ]
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser.ini'
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: about:debugging')
--- a/devtools/client/animationinspector/moz.build
+++ b/devtools/client/animationinspector/moz.build
@@ -9,8 +9,11 @@ XPCSHELL_TESTS_MANIFESTS += ['test/unit/
 
 DIRS += [
     'components'
 ]
 
 DevToolsModules(
     'utils.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Animation Inspector')
--- a/devtools/client/canvasdebugger/moz.build
+++ b/devtools/client/canvasdebugger/moz.build
@@ -3,8 +3,11 @@
 # 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/.
 
 DevToolsModules(
     'panel.js'
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Canvas Debugger')
--- a/devtools/client/debugger/moz.build
+++ b/devtools/client/debugger/moz.build
@@ -13,8 +13,11 @@ DevToolsModules(
     'panel.js'
 )
 
 BROWSER_CHROME_MANIFESTS += [
   'new/test/mochitest/browser.ini',
   'test/mochitest/browser.ini',
   'test/mochitest/browser2.ini'
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')
--- a/devtools/client/dom/moz.build
+++ b/devtools/client/dom/moz.build
@@ -7,8 +7,11 @@ BROWSER_CHROME_MANIFESTS += ['test/brows
 
 DIRS += [
     'content',
 ]
 
 DevToolsModules(
     'dom-panel.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: DOM')
--- a/devtools/client/framework/moz.build
+++ b/devtools/client/framework/moz.build
@@ -30,8 +30,11 @@ DevToolsModules(
     'target.js',
     'toolbox-highlighter-utils.js',
     'toolbox-host-manager.js',
     'toolbox-hosts.js',
     'toolbox-options.js',
     'toolbox.js',
     'ToolboxProcess.jsm',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Framework')
--- a/devtools/client/inspector/moz.build
+++ b/devtools/client/inspector/moz.build
@@ -16,8 +16,11 @@ DevToolsModules(
     'breadcrumbs.js',
     'inspector-commands.js',
     'inspector-search.js',
     'panel.js',
     'toolsidebar.js',
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Inspector')
--- a/devtools/client/jsonview/moz.build
+++ b/devtools/client/jsonview/moz.build
@@ -16,8 +16,11 @@ DevToolsModules(
     'converter-sniffer.js',
     'json-viewer.js',
     'main.js',
     'utils.js',
     'viewer-config.js'
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: JSON Viewer')
--- a/devtools/client/moz.build
+++ b/devtools/client/moz.build
@@ -47,8 +47,11 @@ EXTRA_COMPONENTS += [
 ]
 
 JAR_MANIFESTS += ['jar.mn']
 
 DevToolsModules(
     'definitions.js',
     'menus.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')
--- a/devtools/client/netmonitor/moz.build
+++ b/devtools/client/netmonitor/moz.build
@@ -31,8 +31,11 @@ DevToolsModules(
     'sort-predicates.js',
     'statistics-view.js',
     'store.js',
     'toolbar-view.js',
     'waterfall-background.js',
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Netmonitor')
--- a/devtools/client/performance/moz.build
+++ b/devtools/client/performance/moz.build
@@ -12,8 +12,11 @@ DIRS += [
 
 DevToolsModules(
     'events.js',
     'panel.js'
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Performance Tools (Profiler/Timeline)')
--- a/devtools/client/responsive.html/moz.build
+++ b/devtools/client/responsive.html/moz.build
@@ -21,8 +21,11 @@ DevToolsModules(
     'reducers.js',
     'responsive-ua.css',
     'store.js',
     'types.js',
 )
 
 XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
 BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Responsive Design Mode')
--- a/devtools/client/responsivedesign/moz.build
+++ b/devtools/client/responsivedesign/moz.build
@@ -4,8 +4,11 @@
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 
 DevToolsModules(
     'resize-commands.js',
     'responsivedesign-child.js',
     'responsivedesign.jsm',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Responsive Design Mode')
--- a/devtools/client/scratchpad/moz.build
+++ b/devtools/client/scratchpad/moz.build
@@ -6,8 +6,11 @@
 
 DevToolsModules(
     'scratchpad-commands.js',
     'scratchpad-manager.jsm',
     'scratchpad-panel.js',
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Scratchpad')
--- a/devtools/client/shadereditor/moz.build
+++ b/devtools/client/shadereditor/moz.build
@@ -3,8 +3,11 @@
 # 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/.
 
 DevToolsModules(
     'panel.js'
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: WebGL Shader Editor')
--- a/devtools/client/shared/moz.build
+++ b/devtools/client/shared/moz.build
@@ -48,8 +48,14 @@ DevToolsModules(
     'suggestion-picker.js',
     'telemetry.js',
     'theme.js',
     'undo.js',
     'view-source.js',
     'webgl-utils.js',
     'zoom-keys.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')
+
+with Files('components/**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Shared Components')
--- a/devtools/client/sourceeditor/moz.build
+++ b/devtools/client/sourceeditor/moz.build
@@ -11,8 +11,11 @@ DIRS += [
 DevToolsModules(
     'autocomplete.js',
     'css-autocompleter.js',
     'debugger.js',
     'editor.js'
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Source Editor')
--- a/devtools/client/storage/moz.build
+++ b/devtools/client/storage/moz.build
@@ -5,8 +5,11 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
 
 DevToolsModules(
     'panel.js',
     'ui.js'
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Storage Inspector')
--- a/devtools/client/styleeditor/moz.build
+++ b/devtools/client/styleeditor/moz.build
@@ -8,8 +8,11 @@ BROWSER_CHROME_MANIFESTS += ['test/brows
 
 DevToolsModules(
     'styleeditor-commands.js',
     'styleeditor-panel.js',
     'StyleEditorUI.jsm',
     'StyleEditorUtil.jsm',
     'StyleSheetEditor.jsm',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Style Editor')
--- a/devtools/client/webaudioeditor/moz.build
+++ b/devtools/client/webaudioeditor/moz.build
@@ -3,8 +3,11 @@
 # 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/.
 
 DevToolsModules(
     'panel.js'
 )
 
 BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Web Audio Editor')
--- a/devtools/client/webconsole/moz.build
+++ b/devtools/client/webconsole/moz.build
@@ -16,8 +16,11 @@ DevToolsModules(
     'console-output.js',
     'hudservice.js',
     'jsterm.js',
     'panel.js',
     'utils.js',
     'webconsole-connection-proxy.js',
     'webconsole.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Console')
--- a/devtools/client/webide/moz.build
+++ b/devtools/client/webide/moz.build
@@ -16,8 +16,11 @@ BROWSER_CHROME_MANIFESTS += [
 ]
 MOCHITEST_CHROME_MANIFESTS += [
     'test/chrome.ini'
 ]
 
 JS_PREFERENCE_PP_FILES += [
     'webide-prefs.js',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: WebIDE')
--- a/devtools/moz.build
+++ b/devtools/moz.build
@@ -18,8 +18,29 @@ DIRS += [
 ]
 
 # /browser uses DIST_SUBDIR.  We opt-in to this treatment when building
 # DevTools for the browser to keep the root omni.ja slim for use by external XUL
 # apps.  Mulet also uses this since it includes /browser.
 if CONFIG['MOZ_BUILD_APP'] in ('browser', 'b2g/dev'):
     DIST_SUBDIR = 'browser'
     export('DIST_SUBDIR')
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')
+
+with Files('docs/**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')
+
+with Files('docs/memory-panel.md'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Memory')
+
+with Files('docs/debugger-panel.md'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')
+
+with Files('docs/debugger-api.md'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')
+
+with Files('docs/http-inspector.md'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Console')
+
+with Files('docs/inspector-panel.md'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Inspector')
--- a/devtools/server/actors/moz.build
+++ b/devtools/server/actors/moz.build
@@ -65,8 +65,53 @@ DevToolsModules(
     'webbrowser.js',
     'webconsole.js',
     'webextension-inspected-window.js',
     'webextension.js',
     'webgl.js',
     'worker-list.js',
     'worker.js',
 )
+
+with Files('animation.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Animation Inspector')
+
+with Files('breakpoint.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')
+
+with Files('css-properties.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: CSS Rules Inspector')
+
+with Files('csscoverage.js'):
+    BUG_COMPONENT = ('Firefox', 'Graphics Commandline and Toolbar')
+
+with Files('inspector.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Inspector')
+
+with Files('memory.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Memory')
+
+with Files('monitor.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')
+
+with Files('performance*'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Performance Tools (Profiler/Timeline)')
+
+with Files('profiler.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Performance Tools (Profiler/Timeline)')
+
+with Files('source.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')
+
+with Files('storage.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Storage Inspector')
+
+with Files('styleeditor.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Style Editor')
+
+with Files('webaudio.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Web Audio Editor')
+
+with Files('webconsole.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Console')
+
+with Files('webgl.js'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: WebGL Shader Editor')
--- a/devtools/server/moz.build
+++ b/devtools/server/moz.build
@@ -35,8 +35,11 @@ DevToolsModules(
     'css-logic.js',
     'event-parsers.js',
     'main.js',
     'primitive.js',
     'service-worker-child.js',
     'websocket-server.js',
     'worker.js'
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')
--- a/devtools/server/performance/moz.build
+++ b/devtools/server/performance/moz.build
@@ -6,8 +6,11 @@
 
 DevToolsModules(
     'framerate.js',
     'memory.js',
     'profiler.js',
     'recorder.js',
     'timeline.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools: Performance Tools (Profiler/Timeline)')
--- a/devtools/shared/moz.build
+++ b/devtools/shared/moz.build
@@ -60,8 +60,11 @@ DevToolsModules(
     'Parser.jsm',
     'path.js',
     'plural-form.js',
     'protocol.js',
     'system.js',
     'task.js',
     'ThreadSafeDevToolsUtils.js',
 )
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Developer Tools')