8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
Move files from open to closed Reviewed-by: prr, mchung, erikj, ihse, serb, bpatel
This commit is contained in:
parent
f5d3492bc8
commit
af874b5889
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2014, 2015 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
|
||||
@ -57,6 +57,10 @@ ifeq ($(OPENJDK_TARGET_OS), solaris)
|
||||
PROVIDER_MODULES += jdk.crypto.ucrypto
|
||||
endif
|
||||
|
||||
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||
MAIN_MODULES += jdk.accessibility
|
||||
endif
|
||||
|
||||
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||
MAIN_MODULES += jdk.deploy.osx
|
||||
endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1997, 2015, 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
|
||||
@ -81,6 +81,8 @@ NASHORNAPI_FIRST_COPYRIGHT_YEAR = 2014
|
||||
JNLP_FIRST_COPYRIGHT_YEAR = 1998
|
||||
PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007
|
||||
JDKNET_FIRST_COPYRIGHT_YEAR = 2014
|
||||
JACCESSAPI_FIRST_COPYRIGHT_YEAR = 2002
|
||||
|
||||
|
||||
# Oracle name
|
||||
FULL_COMPANY_NAME = Oracle and/or its affiliates
|
||||
@ -1231,6 +1233,58 @@ $(SCTPAPI_PACKAGES_FILE): $(call PackageDependencies,$(SCTPAPI_PKGS))
|
||||
$(prep-target)
|
||||
$(call PackageFilter,$(SCTPAPI_PKGS))
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# jaccessdocs - Java Accessibility Utilities
|
||||
#
|
||||
|
||||
ALL_OTHER_TARGETS += jaccessdocs
|
||||
|
||||
JACCESSAPI_DOCDIR := $(JRE_API_DOCSDIR)/accessibility/jaccess/spec
|
||||
JACCESSAPI2COREAPI := ../../../$(JDKJRE2COREAPI)
|
||||
JACCESSAPI_DOCTITLE := JACCESS API
|
||||
JACCESSAPI_WINDOWTITLE := JACCESS API
|
||||
JACCESSAPI_HEADER := <strong>JACCESS API</strong>
|
||||
JACCESSAPI_BOTTOM := $(call CommonBottom,$(JACCESSAPI_FIRST_COPYRIGHT_YEAR))
|
||||
# JACCESSAPI_PKGS is located in NON_CORE_PKGS.gmk
|
||||
|
||||
JACCESSAPI_INDEX_HTML = $(JACCESSAPI_DOCDIR)/index.html
|
||||
JACCESSAPI_OPTIONS_FILE = $(DOCSTMPDIR)/jaccess.options
|
||||
JACCESSAPI_PACKAGES_FILE = $(DOCSTMPDIR)/jaccess.packages
|
||||
|
||||
jaccessdocs: $(JACCESSAPI_INDEX_HTML)
|
||||
|
||||
# Set relative location to core api document root
|
||||
$(JACCESSAPI_INDEX_HTML): GET2DOCSDIR=$(JACCESSAPI2COREAPI)/..
|
||||
|
||||
# Run javadoc if the index file is out of date or missing
|
||||
$(JACCESSAPI_INDEX_HTML): $(JACCESSAPI_OPTIONS_FILE) $(JACCESSAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE)
|
||||
$(prep-javadoc)
|
||||
$(call JavadocSummary,$(JACCESSAPI_OPTIONS_FILE),$(JACCESSAPI_PACKAGES_FILE))
|
||||
$(JAVADOC_CMD) -d $(@D) \
|
||||
@$(JACCESSAPI_OPTIONS_FILE) @$(JACCESSAPI_PACKAGES_FILE)
|
||||
|
||||
# Create file with javadoc options in it
|
||||
$(JACCESSAPI_OPTIONS_FILE):
|
||||
$(prep-target)
|
||||
@($(call COMMON_JAVADOCFLAGS) ; \
|
||||
$(call COMMON_JAVADOCTAGS) ; \
|
||||
$(call OptionOnly,-Xdoclint:all) ; \
|
||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||
$(call OptionPair,-encoding,ascii) ; \
|
||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||
$(call OptionPair,-doctitle,$(JACCESSAPI_DOCTITLE)) ; \
|
||||
$(call OptionPair,-windowtitle,$(JACCESSAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \
|
||||
$(call OptionPair,-header,$(JACCESSAPI_HEADER)$(DRAFT_HEADER)) ; \
|
||||
$(call OptionPair,-bottom,$(JACCESSAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \
|
||||
$(call OptionTrip,-linkoffline,$(JACCESSAPI2COREAPI),$(COREAPI_DOCSDIR)/); \
|
||||
) >> $@
|
||||
|
||||
# Create a file with the package names in it
|
||||
$(JACCESSAPI_PACKAGES_FILE): $(call PackageDependencies,$(JACCESSAPI_PKGS))
|
||||
$(prep-target)
|
||||
$(call PackageFilter,$(JACCESSAPI_PKGS))
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# jdk.net docs
|
||||
|
@ -386,6 +386,9 @@ else
|
||||
# links against libosxapp.
|
||||
jdk.deploy.osx-libs: java.desktop-libs
|
||||
|
||||
# jdk.accessibility depends on java.desktop
|
||||
jdk.accessibility-libs: java.desktop-libs
|
||||
|
||||
# This dependency needs to be explicitly declared. jdk.jdi-gensrc generates a
|
||||
# header file used by jdk.jdwp.agent-libs. The jdk.jdwp.agent-gensrc is a
|
||||
# virtual target.
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2002, 2015, 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
|
||||
@ -99,6 +99,8 @@ JDK_PKGS = jdk \
|
||||
jdk.net \
|
||||
jdk.management.cmm
|
||||
|
||||
JACCESSAPI_PKGS = com.sun.java.accessibility.util
|
||||
|
||||
# non-core packages in rt.jar
|
||||
NON_CORE_PKGS = $(DOMAPI_PKGS) \
|
||||
$(MGMT_PKGS) \
|
||||
@ -110,4 +112,5 @@ NON_CORE_PKGS = $(DOMAPI_PKGS) \
|
||||
$(SMARTCARDIO_PKGS) \
|
||||
$(SCTPAPI_PKGS) \
|
||||
$(APPLE_EXT_PKGS) \
|
||||
$(JDK_PKGS)
|
||||
$(JDK_PKGS) \
|
||||
$(JACCESSAPI_PKGS)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<!--
|
||||
|
||||
Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved.
|
||||
Copyright (c) 2014, 2015 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
|
||||
@ -751,7 +751,7 @@
|
||||
</export>
|
||||
<export>
|
||||
<name>sun.awt</name>
|
||||
<to>jdk.accessbridge</to>
|
||||
<to>jdk.accessibility</to>
|
||||
</export>
|
||||
</module>
|
||||
<module>
|
||||
@ -1852,4 +1852,9 @@
|
||||
<name>jdk.zipfs</name>
|
||||
<depend>java.base</depend>
|
||||
</module>
|
||||
<module>
|
||||
<name>jdk.accessibility</name>
|
||||
<depend>java.base</depend>
|
||||
<depend>java.desktop</depend>
|
||||
</module>
|
||||
</modules>
|
||||
|
Loading…
Reference in New Issue
Block a user