changeset 2635:d045961bbd5c

8179105: Respect "include_in_docs" property from imported modules. Reviewed-by: mchung, erikj
author ihse
date Thu, 11 May 2017 08:56:44 +0200
parents e50b2825a070
children 4dfb05777cb6
files make/common/Modules.gmk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Modules.gmk	Wed May 10 14:55:31 2017 -0700
+++ b/make/common/Modules.gmk	Thu May 11 08:56:44 2017 +0200
@@ -391,7 +391,10 @@
       else ifeq ($$(classloader), ext)
         PLATFORM_MODULES += $1
       endif
-      DOCS_MODULES += $1
+      ifneq ($$(include_in_docs), false)
+        # defaults to true if unspecified
+        DOCS_MODULES += $1
+      endif
     else
       # Default to include in all
       JRE_MODULES += $1