Bug 1154960 - Fennec should explicitly block the DOM SiteSpecificUserAgent.js file from packaging. r=nalexander, a=sledru
authorMark Finkle <mfinkle@mozilla.com>
Wed, 22 Apr 2015 02:01:32 -0400
changeset 260251 da1d9ba28360
parent 260250 6b096f9b31d3
child 260252 18c8180670c7
push id727
push userryanvm@gmail.com
push date2015-04-23 14:45 +0000
treeherdermozilla-release@7c66212e4c09 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander, sledru
bugs1154960
milestone38.0
Bug 1154960 - Fennec should explicitly block the DOM SiteSpecificUserAgent.js file from packaging. r=nalexander, a=sledru
dom/base/moz.build
--- a/dom/base/moz.build
+++ b/dom/base/moz.build
@@ -376,16 +376,23 @@ EXTRA_COMPONENTS += [
     'messageWakeupService.js',
     'messageWakeupService.manifest',
     'SiteSpecificUserAgent.js',
     'SiteSpecificUserAgent.manifest',
     'SlowScriptDebug.js',
     'SlowScriptDebug.manifest',
 ]
 
+# Firefox for Android provides an alternate version of this component
+if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
+    EXTRA_COMPONENTS += [
+        'SiteSpecificUserAgent.js',
+        'SiteSpecificUserAgent.manifest',
+    ]
+
 EXTRA_JS_MODULES += [
     'DOMRequestHelper.jsm',
     'IndexedDBHelper.jsm',
 ]
 
 FAIL_ON_WARNINGS = True
 
 MSVC_ENABLE_PGO = True