< prev index next >
make/test/JtregNativeJdk.gmk
Print this page
@ rev 53689 : 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
| Reviewed-by: alanb, mchung, erikj
~
@@ -80,10 +80,18 @@
else
BUILD_JDK_JTREG_EXCLUDE += libTestMainKeyWindow.c
BUILD_JDK_JTREG_EXCLUDE += exeJniInvocationTest.c
endif
+ifeq ($(OPENJDK_TARGET_OS),linux)
+ # Unconditionally compile with debug symbols and don't ever perform
+ # stripping during the test libraries' build.
+ BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libFib := -g
+ BUILD_JDK_JTREG_LIBRARIES_STRIP_SYMBOLS_libFib := false
+endif
+
+
$(eval $(call SetupTestFilesCompilation, BUILD_JDK_JTREG_LIBRARIES, \
TYPE := LIBRARY, \
SOURCE_DIRS := $(BUILD_JDK_JTREG_NATIVE_SRC), \
OUTPUT_DIR := $(BUILD_JDK_JTREG_OUTPUT_DIR), \
EXCLUDE := $(BUILD_JDK_JTREG_EXCLUDE), \
< prev index next >