Bug 1139427 - Define file-based metadata in /browser/components. r=gavin
authorSebastian Hengst <archaeopteryx@coole-files.de>
Sun, 08 Mar 2015 20:43:22 +0100
changeset 232479 139cb04d9984dbe8b12c43ba720bf10689c4abb4
parent 232478 5a2f10ca9e9b8223741f75dc5e3e7de47f566c52
child 232480 8bc13df2c603d26d9d26474a9a62dabbfb22f668
push id28384
push usercbook@mozilla.com
push dateMon, 09 Mar 2015 12:46:25 +0000
treeherdermozilla-central@23f1f0369df5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs1139427
milestone39.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 1139427 - Define file-based metadata in /browser/components. r=gavin Add bugzilla components as metadata to moz.build files for easier bugfiling into the correct component. More information: https://gecko.readthedocs.org/en/latest/build/buildsystem/mozbuild-symbols.html#bug-component
browser/components/customizableui/moz.build
browser/components/downloads/moz.build
browser/components/feeds/moz.build
browser/components/loop/moz.build
browser/components/migration/moz.build
browser/components/moz.build
browser/components/places/moz.build
browser/components/preferences/moz.build
browser/components/privatebrowsing/moz.build
browser/components/readinglist/moz.build
browser/components/search/moz.build
browser/components/sessionstore/moz.build
browser/components/shell/moz.build
browser/components/tabview/moz.build
browser/components/uitour/moz.build
--- a/browser/components/customizableui/moz.build
+++ b/browser/components/customizableui/moz.build
@@ -22,8 +22,11 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('win
     DEFINES['MENUBAR_CAN_AUTOHIDE'] = 1
 
 EXTRA_PP_JS_MODULES += [
     'CustomizableUI.jsm',
     'CustomizableWidgets.jsm',
     'CustomizeMode.jsm',
     'PanelWideWidgetTracker.jsm',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Toolbars and Customization')
--- a/browser/components/downloads/moz.build
+++ b/browser/components/downloads/moz.build
@@ -13,8 +13,11 @@ BROWSER_CHROME_MANIFESTS += ['test/brows
 JAR_MANIFESTS += ['jar.mn']
 
 EXTRA_JS_MODULES += [
     'DownloadsCommon.jsm',
     'DownloadsLogger.jsm',
     'DownloadsTaskbar.jsm',
     'DownloadsViewUI.jsm',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Downloads Panel')
--- a/browser/components/feeds/moz.build
+++ b/browser/components/feeds/moz.build
@@ -36,8 +36,11 @@ FINAL_LIBRARY = 'browsercomps'
 for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
     DEFINES[var] = CONFIG[var]
 
 LOCAL_INCLUDES += [
     '../build',
 ]
 
 FAIL_ON_WARNINGS = True
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'RSS Discovery and Preview')
--- a/browser/components/loop/moz.build
+++ b/browser/components/loop/moz.build
@@ -19,8 +19,11 @@ EXTRA_JS_MODULES.loop += [
     'LoopContacts.jsm',
     'LoopRooms.jsm',
     'LoopStorage.jsm',
     'MozLoopAPI.jsm',
     'MozLoopPushHandler.jsm',
     'MozLoopService.jsm',
     'MozLoopWorker.js',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Loop', 'Client')
--- a/browser/components/migration/moz.build
+++ b/browser/components/migration/moz.build
@@ -49,8 +49,11 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'coco
 
 EXTRA_PP_JS_MODULES += [
     'MigrationUtils.jsm',
 ]
 
 FINAL_LIBRARY = 'browsercomps'
 
 FAIL_ON_WARNINGS = True
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Migration')
--- a/browser/components/moz.build
+++ b/browser/components/moz.build
@@ -45,8 +45,11 @@ EXTRA_JS_MODULES += [
 ]
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser.ini'
 ]
 
 if CONFIG['MOZ_SAFE_BROWSING']:
     BROWSER_CHROME_MANIFESTS += ['safebrowsing/content/test/browser.ini']
+
+with Files('safebrowsing/*'):
+    BUG_COMPONENT = ('Toolkit', 'Phishing Protection')
--- a/browser/components/places/moz.build
+++ b/browser/components/places/moz.build
@@ -8,8 +8,11 @@ XPCSHELL_TESTS_MANIFESTS += ['tests/unit
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
 BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
 
 JAR_MANIFESTS += ['jar.mn']
 
 EXTRA_PP_JS_MODULES += [
     'PlacesUIUtils.jsm',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Bookmarks & History')
--- a/browser/components/preferences/moz.build
+++ b/browser/components/preferences/moz.build
@@ -13,8 +13,11 @@ BROWSER_CHROME_MANIFESTS += [
 
 for var in ('MOZ_APP_NAME', 'MOZ_MACBUNDLE_NAME'):
     DEFINES[var] = CONFIG[var]
 
 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'gtk2', 'gtk3', 'cocoa'):
     DEFINES['HAVE_SHELL_SERVICE'] = 1
 
 JAR_MANIFESTS += ['jar.mn']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Preferences')
--- a/browser/components/privatebrowsing/moz.build
+++ b/browser/components/privatebrowsing/moz.build
@@ -3,9 +3,12 @@
 # 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/.
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser/browser.ini',
 ]
 
-JAR_MANIFESTS += ['jar.mn']
\ No newline at end of file
+JAR_MANIFESTS += ['jar.mn']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Private Browsing')
--- a/browser/components/readinglist/moz.build
+++ b/browser/components/readinglist/moz.build
@@ -15,8 +15,11 @@ TESTING_JS_MODULES += [
 
 BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
 
 XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
 
 EXTRA_JS_MODULES.readinglist += [
     'Scheduler.jsm',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Reading List')
--- a/browser/components/search/moz.build
+++ b/browser/components/search/moz.build
@@ -3,9 +3,12 @@
 # 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/.
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser.ini',
 ]
 
-JAR_MANIFESTS += ['jar.mn']
\ No newline at end of file
+JAR_MANIFESTS += ['jar.mn']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Search')
--- a/browser/components/sessionstore/moz.build
+++ b/browser/components/sessionstore/moz.build
@@ -45,8 +45,10 @@ EXTRA_JS_MODULES.sessionstore = [
     'Utils.jsm',
 ]
 
 EXTRA_PP_JS_MODULES.sessionstore += [
     'SessionSaver.jsm',
     'SessionStore.jsm',
 ]
 
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Session Restore')
--- a/browser/components/shell/moz.build
+++ b/browser/components/shell/moz.build
@@ -46,8 +46,11 @@ EXTRA_COMPONENTS += [
 ]
 
 for var in ('MOZ_APP_NAME', 'MOZ_APP_VERSION'):
     DEFINES[var] = '"%s"' % CONFIG[var]
 
 CXXFLAGS += CONFIG['TK_CFLAGS']
 
 FAIL_ON_WARNINGS = True
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Shell Integration')
--- a/browser/components/tabview/moz.build
+++ b/browser/components/tabview/moz.build
@@ -4,9 +4,12 @@
 # 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/.
 
 EXTRA_JS_MODULES.tabview = ['modules/utils.jsm']
 BROWSER_CHROME_MANIFESTS += [
     'test/browser.ini',
 ]
 
-JAR_MANIFESTS += ['jar.mn']
\ No newline at end of file
+JAR_MANIFESTS += ['jar.mn']
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Panorama')
--- a/browser/components/uitour/moz.build
+++ b/browser/components/uitour/moz.build
@@ -6,8 +6,11 @@ EXTRA_PP_JS_MODULES += [
     'UITour.jsm',
 ]
 
 JAR_MANIFESTS += ['jar.mn']
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser.ini',
 ]
+
+with Files('**'):
+    BUG_COMPONENT = ('Firefox', 'Tours')