make/windows/makefiles/defs.make

Print this page




 126 # product build, the FULL_DEBUG_SYMBOLS environment variable will be
 127 # 0, but the ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If
 128 # the same variable name is used, then different values can be picked
 129 # up by different parts of the build. Just to be clear, we only need
 130 # two variable names because the incoming option value can be
 131 # overridden in some situations, e.g., a BUILD_FLAVOR != product
 132 # build.
 133 
 134 ifeq ($(BUILD_FLAVOR), product)
 135   FULL_DEBUG_SYMBOLS ?= 1
 136   ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
 137 else
 138   # debug variants always get Full Debug Symbols (if available)
 139   ENABLE_FULL_DEBUG_SYMBOLS = 1
 140 endif
 141 _JUNK_ := $(shell \
 142   echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")
 143 MAKE_ARGS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)
 144 
 145 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 146   # Disable ZIP_DEBUGINFO_FILES by default because various tests are
 147   # failing in nightly when the debug info files are ZIP'ed.
 148   #ZIP_DEBUGINFO_FILES ?= 0
 149   # The above conditional setting logic is unreliable on Windows for
 150   # unknown reasons. We force ZIP_DEBUGINFO_FILES to be disabled on
 151   # Windows until we figure out why the various tests are failing
 152   # AND why the conditional setting logic is unreliable.
 153   ZIP_DEBUGINFO_FILES=0
 154 else
 155   ZIP_DEBUGINFO_FILES=0
 156 endif
 157 MAKE_ARGS += ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)
 158 MAKE_ARGS += RM="$(RM)"
 159 MAKE_ARGS += ZIPEXE=$(ZIPEXE)
 160 
 161 # On 32 bit windows we build server, client and kernel, on 64 bit just server.
 162 ifeq ($(JVM_VARIANTS),)
 163   ifeq ($(ARCH_DATA_MODEL), 32)
 164     JVM_VARIANTS:=client,server,kernel
 165     JVM_VARIANT_CLIENT:=true
 166     JVM_VARIANT_SERVER:=true
 167     JVM_VARIANT_KERNEL:=true
 168   else
 169     JVM_VARIANTS:=server
 170     JVM_VARIANT_SERVER:=true
 171   endif
 172 endif
 173 




 126 # product build, the FULL_DEBUG_SYMBOLS environment variable will be
 127 # 0, but the ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If
 128 # the same variable name is used, then different values can be picked
 129 # up by different parts of the build. Just to be clear, we only need
 130 # two variable names because the incoming option value can be
 131 # overridden in some situations, e.g., a BUILD_FLAVOR != product
 132 # build.
 133 
 134 ifeq ($(BUILD_FLAVOR), product)
 135   FULL_DEBUG_SYMBOLS ?= 1
 136   ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
 137 else
 138   # debug variants always get Full Debug Symbols (if available)
 139   ENABLE_FULL_DEBUG_SYMBOLS = 1
 140 endif
 141 _JUNK_ := $(shell \
 142   echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")
 143 MAKE_ARGS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)
 144 
 145 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 146   ZIP_DEBUGINFO_FILES ?= 1







 147 else
 148   ZIP_DEBUGINFO_FILES=0
 149 endif
 150 MAKE_ARGS += ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)
 151 MAKE_ARGS += RM="$(RM)"
 152 MAKE_ARGS += ZIPEXE=$(ZIPEXE)
 153 
 154 # On 32 bit windows we build server, client and kernel, on 64 bit just server.
 155 ifeq ($(JVM_VARIANTS),)
 156   ifeq ($(ARCH_DATA_MODEL), 32)
 157     JVM_VARIANTS:=client,server,kernel
 158     JVM_VARIANT_CLIENT:=true
 159     JVM_VARIANT_SERVER:=true
 160     JVM_VARIANT_KERNEL:=true
 161   else
 162     JVM_VARIANTS:=server
 163     JVM_VARIANT_SERVER:=true
 164   endif
 165 endif
 166