< prev index next >

make/CompileJavaModules.gmk

Print this page
rev 49619 : JEP 328 : Flight Recorder open source preview


 492     --add-exports jdk.internal.vm.ci/jdk.vm.ci.common=jdk.internal.vm.compiler,jdk.aot \
 493     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot=jdk.internal.vm.compiler,jdk.aot \
 494     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=jdk.internal.vm.compiler,jdk.aot \
 495     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=jdk.internal.vm.compiler,jdk.aot \
 496     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=jdk.internal.vm.compiler,jdk.aot \
 497     --add-exports jdk.internal.vm.ci/jdk.vm.ci.meta=jdk.internal.vm.compiler,jdk.aot \
 498     --add-exports jdk.internal.vm.ci/jdk.vm.ci.runtime=jdk.internal.vm.compiler,jdk.aot \
 499     --add-exports jdk.internal.vm.ci/jdk.vm.ci.sparc=jdk.internal.vm.compiler,jdk.aot \
 500     #
 501 
 502 ################################################################################
 503 
 504 sun.charsets_COPY += .dat
 505 
 506 ################################################################################
 507 
 508 jdk.localedata_COPY += _dict _th
 509 # Exclude BreakIterator classes that are just used in compile process to generate
 510 # data files and shouldn't go in the product
 511 jdk.localedata_EXCLUDE_FILES += sun/text/resources/ext/BreakIteratorRules_th.java









 512 
 513 ################################################################################
 514 # If this is an imported module that has prebuilt classes, only compile
 515 # module-info.java.
 516 ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
 517   $(MODULE)_INCLUDE_FILES := module-info.java
 518 endif
 519 
 520 ################################################################################
 521 # Setup the compilation for the module
 522 #
 523 MODULE_SRC_DIRS := $(call FindModuleSrcDirs, $(MODULE))
 524 
 525 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
 526 # JDK_FILTER at the make command line, only a subset of the JDK java files will
 527 # be recompiled. If multiple paths are separated by comma, convert that into a
 528 # space separated list.
 529 JDK_USER_DEFINED_FILTER := $(strip $(subst $(COMMA),$(SPACE), $(JDK_FILTER)))
 530 ifeq ($(JDK_FILTER), )
 531   FAIL_NO_SRC := true




 492     --add-exports jdk.internal.vm.ci/jdk.vm.ci.common=jdk.internal.vm.compiler,jdk.aot \
 493     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot=jdk.internal.vm.compiler,jdk.aot \
 494     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=jdk.internal.vm.compiler,jdk.aot \
 495     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=jdk.internal.vm.compiler,jdk.aot \
 496     --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=jdk.internal.vm.compiler,jdk.aot \
 497     --add-exports jdk.internal.vm.ci/jdk.vm.ci.meta=jdk.internal.vm.compiler,jdk.aot \
 498     --add-exports jdk.internal.vm.ci/jdk.vm.ci.runtime=jdk.internal.vm.compiler,jdk.aot \
 499     --add-exports jdk.internal.vm.ci/jdk.vm.ci.sparc=jdk.internal.vm.compiler,jdk.aot \
 500     #
 501 
 502 ################################################################################
 503 
 504 sun.charsets_COPY += .dat
 505 
 506 ################################################################################
 507 
 508 jdk.localedata_COPY += _dict _th
 509 # Exclude BreakIterator classes that are just used in compile process to generate
 510 # data files and shouldn't go in the product
 511 jdk.localedata_EXCLUDE_FILES += sun/text/resources/ext/BreakIteratorRules_th.java
 512 ################################################################################
 513 
 514 # There is an issue in sjavac that triggers a warning in jdk.jfr that isn't
 515 # triggered without sjavac.
 516 ifeq ($(ENABLE_SJAVAC), yes)
 517   jdk.jfr_SETUP := GENERATE_JDKBYTECODE_NOWARNINGS
 518 endif
 519 jdk.jfr_COPY := .xsd .xml .dtd
 520 jdk.jfr_ADD_JAVAC_FLAGS := -XDstringConcat=inline -Xlint:-exports
 521 
 522 ################################################################################
 523 # If this is an imported module that has prebuilt classes, only compile
 524 # module-info.java.
 525 ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
 526   $(MODULE)_INCLUDE_FILES := module-info.java
 527 endif
 528 
 529 ################################################################################
 530 # Setup the compilation for the module
 531 #
 532 MODULE_SRC_DIRS := $(call FindModuleSrcDirs, $(MODULE))
 533 
 534 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
 535 # JDK_FILTER at the make command line, only a subset of the JDK java files will
 536 # be recompiled. If multiple paths are separated by comma, convert that into a
 537 # space separated list.
 538 JDK_USER_DEFINED_FILTER := $(strip $(subst $(COMMA),$(SPACE), $(JDK_FILTER)))
 539 ifeq ($(JDK_FILTER), )
 540   FAIL_NO_SRC := true


< prev index next >