Kaydet (Commit) 403bdf77 authored tarafından Caolán McNamara's avatar Caolán McNamara

NSS_INCLUDE_LIST is always empty, so simplify based on that

Change-Id: I0b3fe5a6270ecc45ec1b4710ea008a17c600484b
üst 2b2e7aa7
...@@ -170,8 +170,6 @@ DEFAULTS_RUNTIMELIST= \ ...@@ -170,8 +170,6 @@ DEFAULTS_RUNTIMELIST= \
greprefs$/security-prefs.js greprefs$/security-prefs.js
.IF "$(SYSTEM_NSS)"=="NO" .IF "$(SYSTEM_NSS)"=="NO"
#These headers come from the separate NSS module if enabled
NSS_INCLUDE_LIST=
.IF "$(GUI)"=="WNT" .IF "$(GUI)"=="WNT"
.IF "$(COM)"=="GCC" .IF "$(COM)"=="GCC"
...@@ -412,12 +410,6 @@ $(MISC)$/build$/so_moz_include_files: $(INCCOM)$/nsBuildID.h ...@@ -412,12 +410,6 @@ $(MISC)$/build$/so_moz_include_files: $(INCCOM)$/nsBuildID.h
chmod -R 775 $(INCCOM) chmod -R 775 $(INCCOM)
.ENDIF .ENDIF
$(TOUCH) $@ $(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 # 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 # used here (LIB_DIR), and on MACOSX all those files together need to be
......
...@@ -95,7 +95,6 @@ $(BIN)$/mozruntime%zip : $(OS)$(COM)UBruntime.zip ...@@ -95,7 +95,6 @@ $(BIN)$/mozruntime%zip : $(OS)$(COM)UBruntime.zip
LIBLIST = LIBLIST =
BIN_RUNTIMELIST = BIN_RUNTIMELIST =
NSS_INCLUDE_LIST =
NSS_MODULE_RUNTIME_LIST = NSS_MODULE_RUNTIME_LIST =
# The prebuilt moz files include all the old NSS stuff from moz and not the new # The prebuilt moz files include all the old NSS stuff from moz and not the new
...@@ -153,10 +152,6 @@ LIBLIST= \ ...@@ -153,10 +152,6 @@ LIBLIST= \
.ENDIF # .IF "$(GUI)"=="WNT" .ENDIF # .IF "$(GUI)"=="WNT"
NSS_INCLUDE_LIST=
.IF "$(OS)" == "SOLARIS" .IF "$(OS)" == "SOLARIS"
.IF "$(CPU)" == "S" #32bit .IF "$(CPU)" == "S" #32bit
FREEBL=freebl_32fpu_3 freebl_32int64_3 freebl_32int_3 FREEBL=freebl_32fpu_3 freebl_32int64_3 freebl_32int_3
...@@ -194,10 +189,6 @@ NSS_MODULE_RUNTIME_LIST += sqlite/sqlite3 ...@@ -194,10 +189,6 @@ NSS_MODULE_RUNTIME_LIST += sqlite/sqlite3
# Remove the nss libs build in moz and those build in the nss module # Remove the nss libs build in moz and those build in the nss module
$(MISC)$/replace_old_nss_libs : $(MISC)$/unpacked_$(TARGET)_lib \ $(MISC)$/replace_old_nss_libs : $(MISC)$/unpacked_$(TARGET)_lib \
$(MISC)$/unpacked_$(TARGET)_inc $(BIN)$/mozruntime.zip $(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) &&) \ $(foreach,lib,$(LIBLIST) rm -f $(LB)$/$(lib) &&) \
echo >& $(NULLDEV) echo >& $(NULLDEV)
$(foreach,lib,$(BIN_RUNTIMELIST) zip -d $(BIN)$/mozruntime.zip $(DLLPRE)$(lib:f)$(DLLPOST) &&) \ $(foreach,lib,$(BIN_RUNTIMELIST) zip -d $(BIN)$/mozruntime.zip $(DLLPRE)$(lib:f)$(DLLPOST) &&) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment