< prev index next >

make/CompileJavaModules.gmk

Print this page

        

*** 359,368 **** --- 359,391 ---- $(patsubst %, $(JDK_TOPDIR)/src/jdk.compiler/share/classes/%/*.properties, \ sun/tools/serialver/resources)) ################################################################################ + jdk.hotspot.agent_SRC += \ + $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent \ + $(HOTSPOT_TOPDIR)/agent/src/share/classes \ + # + jdk.hotspot.agent_ADD_JAVAC_FLAGS := $(DISABLE_WARNINGS),-overrides + jdk.hotspot.agent_COPY := .png sa.js .properties + + ifeq ($(MODULE), jdk.hotspot.agent) + ### Copy gif files + # Special handling to copy gif files in images/toolbarButtonGraphics \ + # -> classes/toolbarButtonGraphics. + # These can't be handled by COPY to SetupJavaCompilation since they chop off + # one directory level. + $(eval $(call SetupCopyFiles, COPY_SA_IMAGES, \ + SRC := $(HOTSPOT_TOPDIR)/agent/src/share/classes/images, \ + DEST := $(JDK_OUTPUTDIR)/modules/$(MODULE), \ + FILES := $(wildcard $(HOTSPOT_TOPDIR)/agent/src/share/classes/images/*/*/*.gif), \ + )) + jdk.hotspot.agent: $(COPY_SA_IMAGES) + endif + + ################################################################################ + jdk.internal.le_COPY := .properties ################################################################################ jdk.jcmd_COPY := _options
*** 533,547 **** # When crypto classes are prebuilt, need to look for classes already in # output dir. ifneq ($(BUILD_CRYPTO), true) $1_CLASSPATH += $(JDK_OUTPUTDIR)/modules/$1 endif - ifeq ($1, jdk.hotspot.agent) - ## The source of this module is compiled elsewhere, hotspot, and imported. - ## Service types are required in the classpath when compiing module-info - $1_CLASSPATH := $$($1_CLASSPATH) $$(addprefix $(JDK_OUTPUTDIR)/modules/,jdk.hotspot.agent) - endif $1_JAVAC_FLAGS := -bootclasspath $(EMPTY_DIR) -extdirs $(EMPTY_DIR) -endorseddirs $(EMPTY_DIR) $$($1_ADD_JAVAC_FLAGS) $$(eval $$(call SetupJavaCompilation,$1, \ SETUP := $$(if $$($1_SETUP), $$($1_SETUP), GENERATE_JDKBYTECODE), \ SRC := $$(if $$($1_SRC), $$($1_SRC), $$(wildcard $$(call ALL_SRC_DIRS,$1))), \ --- 556,565 ----
< prev index next >