Bug 823574 - Part 0: Disable browser_social.js in per-window PB builds
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 20 Dec 2012 13:51:01 -0500
changeset 116689 053a352599ab80183ad8c60cd1574744cf388310
parent 116688 6e6b0872190b029e5010431fe2bd4c6d1f543212
child 116690 6bcdc46945a625e350423c72e521f7edeaaf27d4
push idunknown
push userunknown
push dateunknown
bugs823574
milestone20.0a1
Bug 823574 - Part 0: Disable browser_social.js in per-window PB builds
browser/base/content/test/social/Makefile.in
--- a/browser/base/content/test/social/Makefile.in
+++ b/browser/base/content/test/social/Makefile.in
@@ -7,17 +7,16 @@ topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 relativesrcdir  = @relativesrcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 _BROWSER_FILES = \
                  head.js \
-                 browser_social.js \
                  browser_social_toolbar.js \
                  browser_social_shareButton.js \
                  browser_social_sidebar.js \
                  browser_social_flyout.js \
                  browser_social_mozSocial_API.js \
                  browser_social_isVisible.js \
                  browser_social_chatwindow.js \
                  browser_social_multiprovider.js \
@@ -25,12 +24,18 @@ include $(DEPTH)/config/autoconf.mk
                  social_share_image.png \
                  social_sidebar.html \
                  social_chat.html \
                  social_flyout.html \
                  social_window.html \
                  social_worker.js \
                  $(NULL)
 
+ifndef MOZ_PER_WINDOW_PRIVATE_BROWSING
+_BROWSER_FILES += \
+                browser_social.js \
+                $(NULL)
+endif
+
 include $(topsrcdir)/config/rules.mk
 
 libs::	$(_BROWSER_FILES)
 	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)