Bug 1257435 - Reformat make syntax to make easier to read; r?glandium draft
authorGregory Szorc <gps@mozilla.com>
Thu, 17 Mar 2016 18:07:57 -0700
changeset 341912 9a1d08876c93e133a1987b699308d1e2a8c01ae5
parent 341653 3e04659fdf6aef792f7cf9840189c6c38d08d1e8
child 341913 e96cb95c3317931a5772bba85c1f04950c00ce4e
push id13322
push usergszorc@mozilla.com
push dateFri, 18 Mar 2016 01:12:32 +0000
reviewersglandium
bugs1257435
milestone48.0a1
Bug 1257435 - Reformat make syntax to make easier to read; r?glandium MozReview-Commit-ID: Ch86LX8Fx0q
toolkit/mozapps/installer/upload-files.mk
--- a/toolkit/mozapps/installer/upload-files.mk
+++ b/toolkit/mozapps/installer/upload-files.mk
@@ -57,33 +57,35 @@ ifdef UNIVERSAL_BINARY
 SDK           = $(SDK_PATH)$(PKG_BASENAME)-$(TARGET_CPU).sdk$(SDK_SUFFIX)
 endif
 
 # JavaScript Shell packaging
 JSSHELL_BINS  = \
   js$(BIN_SUFFIX) \
   $(DLL_PREFIX)mozglue$(DLL_SUFFIX) \
   $(NULL)
+
 ifndef MOZ_SYSTEM_NSPR
-ifdef MSVC_C_RUNTIME_DLL
-JSSHELL_BINS += $(MSVC_C_RUNTIME_DLL)
-endif
-ifdef MSVC_CXX_RUNTIME_DLL
-JSSHELL_BINS += $(MSVC_CXX_RUNTIME_DLL)
-endif
-ifdef MOZ_FOLD_LIBS
-JSSHELL_BINS += $(DLL_PREFIX)nss3$(DLL_SUFFIX)
-else
-JSSHELL_BINS += \
-  $(DLL_PREFIX)nspr4$(DLL_SUFFIX) \
-  $(DLL_PREFIX)plds4$(DLL_SUFFIX) \
-  $(DLL_PREFIX)plc4$(DLL_SUFFIX) \
-  $(NULL)
-endif # MOZ_FOLD_LIBS
+  ifdef MSVC_C_RUNTIME_DLL
+    JSSHELL_BINS += $(MSVC_C_RUNTIME_DLL)
+  endif
+  ifdef MSVC_CXX_RUNTIME_DLL
+    JSSHELL_BINS += $(MSVC_CXX_RUNTIME_DLL)
+  endif
+  ifdef MOZ_FOLD_LIBS
+    JSSHELL_BINS += $(DLL_PREFIX)nss3$(DLL_SUFFIX)
+  else
+    JSSHELL_BINS += \
+      $(DLL_PREFIX)nspr4$(DLL_SUFFIX) \
+      $(DLL_PREFIX)plds4$(DLL_SUFFIX) \
+      $(DLL_PREFIX)plc4$(DLL_SUFFIX) \
+      $(NULL)
+  endif # MOZ_FOLD_LIBS
 endif # MOZ_SYSTEM_NSPR
+
 ifdef MOZ_SHARED_ICU
 ifeq ($(OS_TARGET), WINNT)
 JSSHELL_BINS += \
   icudt$(MOZ_ICU_DBG_SUFFIX)$(MOZ_ICU_VERSION).dll \
   icuin$(MOZ_ICU_DBG_SUFFIX)$(MOZ_ICU_VERSION).dll \
   icuuc$(MOZ_ICU_DBG_SUFFIX)$(MOZ_ICU_VERSION).dll \
   $(NULL)
 else