< prev index next >

make/lib/Awt2dLibraries.gmk

Print this page
rev 50364 : 8204211: windows : handle potential C++ exception in GDIRenderer


 207 # Turn off all warnings for debug_mem.c This is needed because the specific warning
 208 # about initializing a declared 'extern' cannot be turned off individually. Only
 209 # applies to debug builds.
 210 ifeq ($(TOOLCHAIN_TYPE), gcc)
 211   BUILD_LIBAWT_debug_mem.c_CFLAGS := -w
 212   # This option improves performance of MaskFill in Java2D by 20% for some gcc
 213   LIBAWT_CFLAGS += -fgcse-after-reload
 214 endif
 215 
 216 $(eval $(call SetupJdkLibrary, BUILD_LIBAWT, \
 217     NAME := awt, \
 218     SRC := $(LIBAWT_DIRS), \
 219     EXCLUDES := $(LIBAWT_EXCLUDES), \
 220     EXCLUDE_FILES := $(LIBAWT_EXFILES), \
 221     OPTIMIZATION := LOW, \
 222     CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
 223     DISABLED_WARNINGS_gcc := sign-compare unused-result maybe-uninitialized \
 224         format-nonliteral parentheses, \
 225     DISABLED_WARNINGS_clang := logical-op-parentheses extern-initializer, \
 226     DISABLED_WARNINGS_solstudio := E_DECLARATION_IN_CODE, \
 227     DISABLED_WARNINGS_microsoft := 4297 4244 4267 4996, \
 228     ASFLAGS := $(LIBAWT_ASFLAGS), \
 229     LDFLAGS := $(LDFLAGS_JDKLIB) $(call SET_SHARED_LIBRARY_ORIGIN), \
 230     LDFLAGS_macosx := -L$(INSTALL_LIBRARIES_HERE), \
 231     LDFLAGS_windows := -delayload:user32.dll -delayload:gdi32.dll \
 232         -delayload:shell32.dll -delayload:winmm.dll \
 233         -delayload:winspool.drv -delayload:imm32.dll \
 234         -delayload:ole32.dll -delayload:comdlg32.dll \
 235         -delayload:comctl32.dll -delayload:shlwapi.dll, \
 236     LIBS_unix := -ljvm -ljava $(LIBM), \
 237     LIBS_linux :=  $(LIBDL), \
 238     LIBS_solaris := $(LIBDL), \
 239     LIBS_aix := $(LIBDL),\
 240     LIBS_macosx := -lmlib_image \
 241         -framework Cocoa \
 242         -framework OpenGL \
 243         -framework JavaNativeFoundation \
 244         -framework JavaRuntimeSupport \
 245         -framework ApplicationServices \
 246         -framework AudioToolbox, \
 247     LIBS_windows := kernel32.lib user32.lib gdi32.lib winspool.lib \




 207 # Turn off all warnings for debug_mem.c This is needed because the specific warning
 208 # about initializing a declared 'extern' cannot be turned off individually. Only
 209 # applies to debug builds.
 210 ifeq ($(TOOLCHAIN_TYPE), gcc)
 211   BUILD_LIBAWT_debug_mem.c_CFLAGS := -w
 212   # This option improves performance of MaskFill in Java2D by 20% for some gcc
 213   LIBAWT_CFLAGS += -fgcse-after-reload
 214 endif
 215 
 216 $(eval $(call SetupJdkLibrary, BUILD_LIBAWT, \
 217     NAME := awt, \
 218     SRC := $(LIBAWT_DIRS), \
 219     EXCLUDES := $(LIBAWT_EXCLUDES), \
 220     EXCLUDE_FILES := $(LIBAWT_EXFILES), \
 221     OPTIMIZATION := LOW, \
 222     CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
 223     DISABLED_WARNINGS_gcc := sign-compare unused-result maybe-uninitialized \
 224         format-nonliteral parentheses, \
 225     DISABLED_WARNINGS_clang := logical-op-parentheses extern-initializer, \
 226     DISABLED_WARNINGS_solstudio := E_DECLARATION_IN_CODE, \
 227     DISABLED_WARNINGS_microsoft := 4244 4267 4996, \
 228     ASFLAGS := $(LIBAWT_ASFLAGS), \
 229     LDFLAGS := $(LDFLAGS_JDKLIB) $(call SET_SHARED_LIBRARY_ORIGIN), \
 230     LDFLAGS_macosx := -L$(INSTALL_LIBRARIES_HERE), \
 231     LDFLAGS_windows := -delayload:user32.dll -delayload:gdi32.dll \
 232         -delayload:shell32.dll -delayload:winmm.dll \
 233         -delayload:winspool.drv -delayload:imm32.dll \
 234         -delayload:ole32.dll -delayload:comdlg32.dll \
 235         -delayload:comctl32.dll -delayload:shlwapi.dll, \
 236     LIBS_unix := -ljvm -ljava $(LIBM), \
 237     LIBS_linux :=  $(LIBDL), \
 238     LIBS_solaris := $(LIBDL), \
 239     LIBS_aix := $(LIBDL),\
 240     LIBS_macosx := -lmlib_image \
 241         -framework Cocoa \
 242         -framework OpenGL \
 243         -framework JavaNativeFoundation \
 244         -framework JavaRuntimeSupport \
 245         -framework ApplicationServices \
 246         -framework AudioToolbox, \
 247     LIBS_windows := kernel32.lib user32.lib gdi32.lib winspool.lib \


< prev index next >