8062810: Examine src.zip in JDK image and decide if source classes should be organized by module

Reviewed-by: mchung, kcr
This commit is contained in:
Erik Joelsson 2016-10-28 14:29:20 +02:00
parent b0dd8f00ac
commit 2962a15145
5 changed files with 88 additions and 56 deletions

View file

@ -472,6 +472,13 @@ jdk.localedata_COPY := _dict _th
# data files and shouldn't go in the product
jdk.localedata_EXCLUDE_FILES += sun/text/resources/ext/BreakIteratorRules_th.java
################################################################################
# If this is an imported module that has prebuilt classes, only compile
# module-info.java.
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
$(MODULE)_INCLUDE_FILES := module-info.java
endif
################################################################################
# Setup the compilation for the module
#