NSS_INCLUDE_LIST is always empty, so simplify based on that

Change-Id: I0b3fe5a6270ecc45ec1b4710ea008a17c600484b
This commit is contained in:
Caolán McNamara 2012-06-22 16:05:26 +01:00
parent 2b2e7aa7df
commit 403bdf7747
2 changed files with 0 additions and 17 deletions

View file

@ -170,8 +170,6 @@ DEFAULTS_RUNTIMELIST= \
greprefs$/security-prefs.js
.IF "$(SYSTEM_NSS)"=="NO"
#These headers come from the separate NSS module if enabled
NSS_INCLUDE_LIST=
.IF "$(GUI)"=="WNT"
.IF "$(COM)"=="GCC"
@ -412,12 +410,6 @@ $(MISC)$/build$/so_moz_include_files: $(INCCOM)$/nsBuildID.h
chmod -R 775 $(INCCOM)
.ENDIF
$(TOUCH) $@
.IF "$(SYSTEM_NSS)"=="NO"
+$(foreach,dir,$(NSS_INCLUDE_LIST) $(RENAME:s/+//) $(INCLUDE_DIR)$/$(dir) $(INCLUDE_DIR)$/$(dir)_remove_me &&) echo >& $(NULLDEV)
$(foreach,dir,$(NSS_INCLUDE_LIST) rm -rf $(INCLUDE_DIR)$/$(dir)_remove_me &&) echo >& $(NULLDEV)
-$(MKDIR) $(OUT)$/inc.nss
cd $(OUT)$/inc.nss && $(foreach,dir,$(NSS_INCLUDE_LIST) $(GNUCOPY) -pRL $(SOLARINCDIR)$/mozilla/$(dir) . &&) echo >& $(NULLDEV)
.ENDIF
# On UNX the rules for so_moz_runtime_files copy files into the same directory
# used here (LIB_DIR), and on MACOSX all those files together need to be

View file

@ -95,7 +95,6 @@ $(BIN)$/mozruntime%zip : $(OS)$(COM)UBruntime.zip
LIBLIST =
BIN_RUNTIMELIST =
NSS_INCLUDE_LIST =
NSS_MODULE_RUNTIME_LIST =
# The prebuilt moz files include all the old NSS stuff from moz and not the new
@ -153,10 +152,6 @@ LIBLIST= \
.ENDIF # .IF "$(GUI)"=="WNT"
NSS_INCLUDE_LIST=
.IF "$(OS)" == "SOLARIS"
.IF "$(CPU)" == "S" #32bit
FREEBL=freebl_32fpu_3 freebl_32int64_3 freebl_32int_3
@ -194,10 +189,6 @@ NSS_MODULE_RUNTIME_LIST += sqlite/sqlite3
# Remove the nss libs build in moz and those build in the nss module
$(MISC)$/replace_old_nss_libs : $(MISC)$/unpacked_$(TARGET)_lib \
$(MISC)$/unpacked_$(TARGET)_inc $(BIN)$/mozruntime.zip
+$(foreach,dir,$(NSS_INCLUDE_LIST) $(RENAME:s/+//) $(INCCOM)$/$(dir) \
$(INCCOM)$/$(dir)_remove_me &&) echo >& $(NULLDEV)
$(foreach,dir,$(NSS_INCLUDE_LIST) rm -r -f $(INCCOM)$/$(dir)_remove_me &&) \
echo >& $(NULLDEV)
$(foreach,lib,$(LIBLIST) rm -f $(LB)$/$(lib) &&) \
echo >& $(NULLDEV)
$(foreach,lib,$(BIN_RUNTIMELIST) zip -d $(BIN)$/mozruntime.zip $(DLLPRE)$(lib:f)$(DLLPOST) &&) \