8034173: Move JavaApp.icns to proper place in make/data
Reviewed-by: ihse, tbell
This commit is contained in:
parent
bad49f6fba
commit
b7c3e72147
@ -109,17 +109,16 @@ $(foreach I, $(GENSRC_AWT_ICONS_SRC), $(eval $(call SetupGensrcAWTIcon,$(notdir
|
||||
|
||||
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||
|
||||
GENSRC_OSX_ICONS_TMP := $(JDK_OUTPUTDIR)/gensrc
|
||||
GENSRC_OSX_ICONS_DST := $(GENSRC_OSX_ICONS_TMP)/sun/osxapp
|
||||
GENSRC_OSX_ICONS_DST := $(JDK_OUTPUTDIR)/gensrc_headers_icons
|
||||
GENSRC_OSX_ICONS := $(GENSRC_OSX_ICONS_DST)/AWTIconData.h
|
||||
|
||||
ifdef OPENJDK
|
||||
GENSRC_OSX_ICONS_SRC := $(JDK_TOPDIR)/src/macosx/native/sun/osxapp/resource/icons/JavaApp.icns
|
||||
GENSRC_OSX_ICONS_SRC := $(JDK_TOPDIR)/make/data/macosxicons/JavaApp.icns
|
||||
else
|
||||
GENSRC_OSX_ICONS_SRC := $(JDK_TOPDIR)/src/closed/macosx/native/sun/osxapp/resource/icons/JavaApp.icns
|
||||
GENSRC_OSX_ICONS_SRC := $(JDK_TOPDIR)/make/closed/data/macosxicons/JavaApp.icns
|
||||
endif
|
||||
|
||||
$(GENSRC_OSX_ICONS_DST)/AWTIconData.h: $(GENSRC_OSX_ICONS_SRC)
|
||||
$(GENSRC_OSX_ICONS): $(GENSRC_OSX_ICONS_SRC)
|
||||
$(RM) $@ $@.tmp
|
||||
$(MKDIR) -p $(dir $@)
|
||||
$(ECHO) "static unsigned char sAWTIconData[] = { " >> $@.tmp
|
||||
|
@ -63,7 +63,7 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||
OPTIMIZATION := LOW, \
|
||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
||||
-I$(JDK_TOPDIR)/src/macosx/native/sun/osxapp \
|
||||
-I$(JDK_OUTPUTDIR)/gensrc/sun/osxapp \
|
||||
-I$(JDK_OUTPUTDIR)/gensrc_headers_icons \
|
||||
-F/System/Library/Frameworks/JavaVM.framework/Frameworks \
|
||||
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks, \
|
||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user