--- a/make/Main.gmk Thu Oct 22 16:25:34 2015 -0700
+++ b/make/Main.gmk Fri Oct 30 00:02:33 2015 +0100
@@ -93,7 +93,10 @@
unpack-sec:
+($(CD) $(JDK_TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f UnpackSecurity.gmk)
-ALL_TARGETS += import-hotspot unpack-sec
+generate-exported-symbols:
+ +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f BuildStatic.gmk)
+
+ALL_TARGETS += import-hotspot unpack-sec generate-exported-symbols
################################################################################
# Gensrc targets, generating source before java compilation can be done
@@ -298,16 +301,23 @@
test:
$(call RunTests, $(TEST))
+test-hotspot-jtreg:
+ $(call RunTests, "hotspot_all")
+
test-hotspot-jtreg-native:
$(call RunTests, "hotspot_native_sanity")
+test-hotspot-internal:
+ $(call RunTests, "hotspot_internal")
+
test-jdk-jtreg-native:
$(call RunTests, "jdk_native_sanity")
test-make:
($(CD) $(SRC_ROOT)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
-ALL_TARGETS += test test-hotspot-jtreg-native test-jdk-jtreg-native test-make
+ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
+ test-hotspot-internal test-jdk-jtreg-native test-make
################################################################################
# Verification targets
@@ -368,10 +378,16 @@
import-hotspot: hotspot
+ generate-exported-symbols: java.base-libs jdk.jdwp.agent-libs
+
$(LIBS_TARGETS): import-hotspot
$(LAUNCHER_TARGETS): java.base-libs
+ ifeq ($(STATIC_BUILD), true)
+ $(LAUNCHER_TARGETS): generate-exported-symbols
+ endif
+
# The demos are currently linking to libjvm and libjava, just like all other
# jdk libs, even though they don't need to. To avoid warnings, make sure they
# aren't built until after libjava and libjvm are available to link to.
@@ -460,6 +476,10 @@
test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
+ test-hotspot-internal: exploded-image
+
+ test-hotspot-jtreg: jimages test-image
+
endif
################################################################################