build/Makefile.project
changeset 87 1627c337e51e
parent 80 d6dafc5d983f
equal deleted inserted replaced
80:d6dafc5d983f 87:1627c337e51e
   127   # IAD is the default on 5.0 releases
   127   # IAD is the default on 5.0 releases
   128   RD_JAVA_S60_RELEASE_5_0_IAD = 1
   128   RD_JAVA_S60_RELEASE_5_0_IAD = 1
   129   PROJECT_DEFINES += RD_JAVA_S60_RELEASE_5_0_IAD
   129   PROJECT_DEFINES += RD_JAVA_S60_RELEASE_5_0_IAD
   130 endif
   130 endif
   131 
   131 
       
   132 ifdef RD_JAVA_S60_RELEASE_5_0_ROM
       
   133   # build ROMized 5.0 release
       
   134   PROJECT_DEFINES += RD_JAVA_S60_RELEASE_5_0_ROM
       
   135 endif
       
   136 
   132 # Define stdcpp version
   137 # Define stdcpp version
   133 ifneq ($(wildcard $(EPOCROOT)epoc32/release/armv5/urel/libstdcppv5.dll),)
   138 ifneq ($(wildcard $(EPOCROOT)epoc32/release/armv5/urel/libstdcppv5.dll),)
   134   RD_JAVA_STDCPPV5 = 1
   139   RD_JAVA_STDCPPV5 = 1
   135 endif
   140 endif
   136 ifeq ($(RD_JAVA_STDCPPV5),1)
   141 ifeq ($(RD_JAVA_STDCPPV5),1)
   224 endif
   229 endif
   225 
   230 
   226 # Enables emma instrumentation for Java code coverage measurement.
   231 # Enables emma instrumentation for Java code coverage measurement.
   227 ifdef EMMA
   232 ifdef EMMA
   228   ANT_EMMA_DEFINES += -Dset.emma.enabled=true
   233   ANT_EMMA_DEFINES += -Dset.emma.enabled=true
       
   234 endif
       
   235 
       
   236 # Enables cobertura instrumentation for Java code coverage measurement.
       
   237 ifdef COBERTURA
       
   238   ANT_COBERTURA_DEFINES += -Dset.cobertura.enabled=true
       
   239   COBERTURA_HOME=$(JAVA_SRC_ROOT)/../tools/cobertura
       
   240   ifeq ($(wildcard $(COBERTURA_HOME)),)                                               
       
   241   $(error Can not find $(COBERTURA_HOME) directory - cannot instrument with cobertura)
       
   242   endif                                                                               
   229 endif
   243 endif
   230 
   244 
   231 #ifdef SHOW_MIDP_EXIT_FAILURE
   245 #ifdef SHOW_MIDP_EXIT_FAILURE
   232   PROJET_DEFINES += RD_JAVA_EXIT_ERROR_DIALOG
   246   PROJET_DEFINES += RD_JAVA_EXIT_ERROR_DIALOG
   233 #endif
   247 #endif