jdk

Форк
0
153 строки · 6.0 Кб
1
#
2
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
#
5
# This code is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License version 2 only, as
7
# published by the Free Software Foundation.  Oracle designates this
8
# particular file as subject to the "Classpath" exception as provided
9
# by Oracle in the LICENSE file that accompanied this code.
10
#
11
# This code is distributed in the hope that it will be useful, but WITHOUT
12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14
# version 2 for more details (a copy is included in the LICENSE file that
15
# accompanied this code).
16
#
17
# You should have received a copy of the GNU General Public License version
18
# 2 along with this work; if not, write to the Free Software Foundation,
19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
#
21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
# or visit www.oracle.com if you need additional information or have any
23
# questions.
24
#
25

26
DISABLED_WARNINGS_java += dangling-doc-comments lossy-conversions this-escape
27
DOCLINT += -Xdoclint:all/protected \
28
    '-Xdoclint/package:java.*,javax.*'
29
COPY += .gif .png .wav .txt .xml .css .pf
30
CLEAN += iio-plugin.properties cursors.properties
31

32
EXCLUDES += \
33
    java/awt/doc-files \
34
    javax/swing/doc-files \
35
    javax/swing/text/doc-files \
36
    javax/swing/plaf/synth/doc-files \
37
    javax/swing/undo/doc-files \
38
    sun/awt/X11/doc-files \
39
    #
40

41
EXCLUDE_FILES += \
42
    javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
43
    javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
44
    javax/swing/plaf/nimbus/ScrollBarPainter.java \
45
    javax/swing/plaf/nimbus/SliderPainter.java \
46
    javax/swing/plaf/nimbus/SpinnerPainter.java \
47
    javax/swing/plaf/nimbus/SplitPanePainter.java \
48
    javax/swing/plaf/nimbus/TabbedPanePainter.java \
49
    sun/awt/resources/security-icon-bw16.png \
50
    sun/awt/resources/security-icon-bw24.png \
51
    sun/awt/resources/security-icon-bw32.png \
52
    sun/awt/resources/security-icon-bw48.png \
53
    sun/awt/resources/security-icon-interim16.png \
54
    sun/awt/resources/security-icon-interim24.png \
55
    sun/awt/resources/security-icon-interim32.png \
56
    sun/awt/resources/security-icon-interim48.png \
57
    sun/awt/resources/security-icon-yellow16.png \
58
    sun/awt/resources/security-icon-yellow24.png \
59
    sun/awt/resources/security-icon-yellow32.png \
60
    sun/awt/resources/security-icon-yellow48.png \
61
    sun/awt/X11/java-icon16.png \
62
    sun/awt/X11/java-icon24.png \
63
    sun/awt/X11/java-icon32.png \
64
    sun/awt/X11/java-icon48.png \
65
    .template \
66
    #
67

68
ifeq ($(call isTargetOs, macosx), true)
69
  # exclude all X11 on Mac.
70
  EXCLUDES += \
71
      sun/awt/screencast \
72
      sun/awt/X11 \
73
      sun/java2d/x11 \
74
      sun/java2d/jules \
75
      sun/java2d/xr \
76
      com/sun/java/swing/plaf/gtk \
77
      #
78
  EXCLUDE_FILES += \
79
      $(wildcard $(TOPDIR)/src/java.desktop/unix/classes/sun/java2d/*.java) \
80
      $(wildcard $(TOPDIR)/src/java.desktop/unix/classes/sun/java2d/opengl/*.java) \
81
      $(wildcard $(TOPDIR)/src/java.desktop/unix/classes/sun/awt/*.java) \
82
      $(wildcard $(TOPDIR)/src/java.desktop/unix/classes/sun/font/*.java) \
83
      #
84
else
85
  # TBD: figure out how to eliminate this long list
86
  EXCLUDE_FILES += \
87
      sun/awt/X11/ScreenFormat.java \
88
      sun/awt/X11/XArc.java \
89
      sun/awt/X11/XChar2b.java \
90
      sun/awt/X11/XCharStruct.java \
91
      sun/awt/X11/XClassHint.java \
92
      sun/awt/X11/XComposeStatus.java \
93
      sun/awt/X11/XExtCodes.java \
94
      sun/awt/X11/XFontProp.java \
95
      sun/awt/X11/XFontSetExtents.java \
96
      sun/awt/X11/XFontStruct.java \
97
      sun/awt/X11/XGCValues.java \
98
      sun/awt/X11/XHostAddress.java \
99
      sun/awt/X11/XIMCallback.java \
100
      sun/awt/X11/XIMHotKeyTrigger.java \
101
      sun/awt/X11/XIMHotKeyTriggers.java \
102
      sun/awt/X11/XIMPreeditCaretCallbackStruct.java \
103
      sun/awt/X11/XIMPreeditDrawCallbackStruct.java \
104
      sun/awt/X11/XIMPreeditStateNotifyCallbackStruct.java \
105
      sun/awt/X11/XIMStatusDrawCallbackStruct.java \
106
      sun/awt/X11/XIMStringConversionCallbackStruct.java \
107
      sun/awt/X11/XIMStringConversionText.java \
108
      sun/awt/X11/XIMStyles.java \
109
      sun/awt/X11/XIMText.java \
110
      sun/awt/X11/XIMValuesList.java \
111
      sun/awt/X11/XImage.java \
112
      sun/awt/X11/XKeyboardControl.java \
113
      sun/awt/X11/XKeyboardState.java \
114
      sun/awt/X11/XOMCharSetList.java \
115
      sun/awt/X11/XOMFontInfo.java \
116
      sun/awt/X11/XOMOrientation.java \
117
      sun/awt/X11/XPoint.java \
118
      sun/awt/X11/XRectangle.java \
119
      sun/awt/X11/XSegment.java \
120
      sun/awt/X11/XStandardColormap.java \
121
      sun/awt/X11/XTextItem.java \
122
      sun/awt/X11/XTextItem16.java \
123
      sun/awt/X11/XTextProperty.java \
124
      sun/awt/X11/XTimeCoord.java \
125
      sun/awt/X11/XWindowChanges.java \
126
      sun/awt/X11/XdbeSwapInfo.java \
127
      sun/awt/X11/XmbTextItem.java \
128
      sun/awt/X11/XwcTextItem.java
129
endif
130

131
ifeq ($(call isTargetOs, windows), true)
132
  EXCLUDES += com/sun/java/swing/plaf/gtk
133
endif
134

135
ifeq ($(call isTargetOs, windows macosx), false)
136
  EXCLUDE_FILES += sun/awt/AWTCharset.java
137
endif
138

139
# These files do not appear in the build result of the old build. This
140
# is because they are generated sources, but the AUTO_JAVA_FILES won't
141
# pick them up since they aren't generated when the source dirs are
142
# searched and they aren't referenced by any other classes so they won't
143
# be picked up by implicit compilation. On a rebuild, they are picked up
144
# and compiled.
145
EXCLUDE_FILES += \
146
    javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
147
    javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \
148
    javax/swing/plaf/nimbus/ScrollBarPainter.java \
149
    javax/swing/plaf/nimbus/SliderPainter.java \
150
    javax/swing/plaf/nimbus/SpinnerPainter.java \
151
    javax/swing/plaf/nimbus/SplitPanePainter.java \
152
    javax/swing/plaf/nimbus/TabbedPanePainter.java \
153
    #
154

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.