8151288: Generation of property files for gtk l&f can be skipped on win/osx
authorserb
Fri, 04 Mar 2016 20:10:52 +0300
changeset 36866 6ab1550e469d
parent 36865 12d5f6f44eea
child 36867 d3169e0913e7
8151288: Generation of property files for gtk l&f can be skipped on win/osx Reviewed-by: erikj
jdk/make/gensrc/Gensrc-java.desktop.gmk
--- a/jdk/make/gensrc/Gensrc-java.desktop.gmk	Thu Mar 10 13:07:41 2016 +0300
+++ b/jdk/make/gensrc/Gensrc-java.desktop.gmk	Fri Mar 04 20:10:52 2016 +0300
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -62,7 +62,9 @@
 
 ifeq ($(OPENJDK_TARGET_OS), windows)
   PROP_SRC_DIRS += $(JDK_TOPDIR)/src/java.desktop/windows/classes/sun/awt/windows
-else
+endif
+
+ifeq ($(filter $(OPENJDK_TARGET_OS), windows macosx), )
   PROP_SRC_DIRS += $(JDK_TOPDIR)/src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/resources
 endif