make/common/JdkNativeCompilation.gmk
branchihse-jdk-library-branch
changeset 56517 cb0f21f5f307
parent 56511 2b67c11c0db6
child 56519 1b154e6d8bb2
--- a/make/common/JdkNativeCompilation.gmk	Thu May 03 14:46:44 2018 +0200
+++ b/make/common/JdkNativeCompilation.gmk	Thu May 03 23:33:28 2018 +0200
@@ -79,6 +79,11 @@
     $1_SRC += $$($1_EXTRA_SRC)
   endif
 
+  ifneq ($$($1_EXCLUDE_SRC_PATTERNS), )
+    $1_EXCLUDE_SRC := $$(call containing, $$($1_EXCLUDE_SRC_PATTERNS), $$($1_SRC))
+    $1_SRC := $$(filter-out $$($1_EXCLUDE_SRC), $$($1_SRC))
+  endif
+
   ifeq ($$($1_VERSIONINFO_RESOURCE), )
     $1_VERSIONINFO_RESOURCE := $$(GLOBAL_VERSION_INFO_RESOURCE)
   else ifeq ($$($1_VERSIONINFO_RESOURCE), DISABLE)