AX: AXIsolatedTree::updateChildren sometimes fails to update isolated subtrees when...
[WebKit.git] / Source / ThirdParty / ANGLE / Configurations / WebKitTargetConditionals.xcconfig
1 // Copyright (C) 2019 Apple Inc. All rights reserved.
2 //
3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions
5 // are met:
6 // 1. Redistributions of source code must retain the above copyright
7 //    notice, this list of conditions and the following disclaimer.
8 // 2. Redistributions in binary form must reproduce the above copyright
9 //    notice, this list of conditions and the following disclaimer in the
10 //    documentation and/or other materials provided with the distribution.
11 //
12 // THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
13 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
15 // PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
16 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
17 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
19 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
20 // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
24 // Use the following helpers to define build settings whose value depends on the target
25 // macOS version in a succinct and future-proof way.
26 //
27 // Example 1: To give the SMOOTHNESS build setting the value 3 in macOS 10.12 and later and the
28 // value 2 in earlier versions, write:
29 //
30 //     SMOOTHNESS = $(SMOOTHNESS$(WK_MACOS_1012));
31 //     SMOOTHNESS_MACOS_BEFORE_1012 = 2;
32 //     SMOOTHNESS_MACOS_SINCE_1012 = 3;
33 //
34 // Example 2: To define ENABLE_COLOR to ENABLE_COLOR in all platforms except macOS 10.12 and
35 // earlier write:
36 //
37 //     ENABLE_COLOR = ENABLE_COLOR;
38 //     ENABLE_COLOR[sdk=macosx*] = $(ENABLE_COLOR$(WK_MACOS_1013));
39 //     ENABLE_COLOR_MACOS_SINCE_1013 = $(ENABLE_COLOR);
40 //
41 // Example 3: To give EXTRA_PATH one value before macOS 10.12, another value in macOS 10.12 and
42 // macOS 10.13, and a third value in macOS 10.14 and later, write:
43 //
44 //     EXTRA_PATH = $(EXTRA_PATH$(WK_MACOS_1012_1014));
45 //     EXTRA_PATH_MACOS_BEFORE_1012 = "/Library/Application Support/WebKit";
46 //     EXTRA_PATH_MACOS_BEFORE_1014 = /System/Library/CoreServices;
47 //     EXTRA_PATH_MACOS_SINCE_1014 = /System/Library/PrivateFrameworks;
48
49 // macOS
50
51 WK_MACOS_BEFORE_1014 = $(WK_MACOS_BEFORE_1014_$(TARGET_MAC_OS_X_VERSION_MAJOR));
52 WK_MACOS_BEFORE_1014_101300 = YES;
53
54 WK_MACOS_BEFORE_1015 = $(WK_MACOS_BEFORE_1015_$(TARGET_MAC_OS_X_VERSION_MAJOR));
55 WK_MACOS_BEFORE_1015_101300 = YES;
56 WK_MACOS_BEFORE_1015_101400 = YES;
57
58 WK_MACOS_BEFORE_1016 = $(WK_MACOS_BEFORE_1016_$(TARGET_MAC_OS_X_VERSION_MAJOR));
59 WK_MACOS_BEFORE_1016_101300 = YES;
60 WK_MACOS_BEFORE_1016_101400 = YES;
61 WK_MACOS_BEFORE_1016_101500 = YES;
62
63 WK_MACOS_BEFORE_1100 = $(WK_MACOS_BEFORE_1100_$(TARGET_MAC_OS_X_VERSION_MAJOR));
64 WK_MACOS_BEFORE_1100_101300 = YES;
65 WK_MACOS_BEFORE_1100_101400 = YES;
66 WK_MACOS_BEFORE_1100_101500 = YES;
67
68 WK_MACOS_BEFORE_1200 = $(WK_MACOS_BEFORE_1200_$(TARGET_MAC_OS_X_VERSION_MAJOR));
69 WK_MACOS_BEFORE_1200_101300 = YES;
70 WK_MACOS_BEFORE_1200_101400 = YES;
71 WK_MACOS_BEFORE_1200_101500 = YES;
72 WK_MACOS_BEFORE_1200_110000 = YES;
73
74 WK_MACOS_BEFORE_1300 = $(WK_MACOS_BEFORE_1300_$(TARGET_MAC_OS_X_VERSION_MAJOR));
75 WK_MACOS_BEFORE_1300_101300 = YES;
76 WK_MACOS_BEFORE_1300_101400 = YES;
77 WK_MACOS_BEFORE_1300_101500 = YES;
78 WK_MACOS_BEFORE_1300_110000 = YES;
79 WK_MACOS_BEFORE_1300_120000 = YES;
80
81 WK_MACOS_1014 = $(WK_MACOS_1014_$(WK_MACOS_BEFORE_1014));
82 WK_MACOS_1014_ = _MACOS_SINCE_1014;
83 WK_MACOS_1014_YES = _MACOS_BEFORE_1014;
84
85 WK_MACOS_1014_1015 = $(WK_MACOS_1014_1015_$(WK_MACOS_BEFORE_1014));
86 WK_MACOS_1014_1015_ = $(WK_MACOS_1015);
87 WK_MACOS_1014_1015_YES = _MACOS_BEFORE_1014;
88
89 WK_MACOS_1014_1016 = $(WK_MACOS_1014_1016_$(WK_MACOS_BEFORE_1014));
90 WK_MACOS_1014_1016_ = $(WK_MACOS_1016);
91 WK_MACOS_1014_1016_YES = _MACOS_BEFORE_1014;
92
93 WK_MACOS_1014_1100 = $(WK_MACOS_1014_1100_$(WK_MACOS_BEFORE_1014));
94 WK_MACOS_1014_1100_ = $(WK_MACOS_1100);
95 WK_MACOS_1014_1100_YES = _MACOS_BEFORE_1014;
96
97 WK_MACOS_1014_1200 = $(WK_MACOS_1014_1200_$(WK_MACOS_BEFORE_1014));
98 WK_MACOS_1014_1200_ = $(WK_MACOS_1200);
99 WK_MACOS_1014_1200_YES = _MACOS_BEFORE_1014;
100
101 WK_MACOS_1014_1300 = $(WK_MACOS_1014_1300_$(WK_MACOS_BEFORE_1014));
102 WK_MACOS_1014_1300_ = $(WK_MACOS_1300);
103 WK_MACOS_1014_1300_YES = _MACOS_BEFORE_1014;
104
105 WK_MACOS_1015 = $(WK_MACOS_1015_$(WK_MACOS_BEFORE_1015));
106 WK_MACOS_1015_ = _MACOS_SINCE_1015;
107 WK_MACOS_1015_YES = _MACOS_BEFORE_1015;
108
109 WK_MACOS_1015_1016 = $(WK_MACOS_1015_1016_$(WK_MACOS_BEFORE_1015));
110 WK_MACOS_1015_1016_ = $(WK_MACOS_1016);
111 WK_MACOS_1015_1016_YES = _MACOS_BEFORE_1015;
112
113 WK_MACOS_1015_1100 = $(WK_MACOS_1015_1100_$(WK_MACOS_BEFORE_1015));
114 WK_MACOS_1015_1100_ = $(WK_MACOS_1100);
115 WK_MACOS_1015_1100_YES = _MACOS_BEFORE_1015;
116
117 WK_MACOS_1015_1200 = $(WK_MACOS_1015_1200_$(WK_MACOS_BEFORE_1015));
118 WK_MACOS_1015_1200_ = $(WK_MACOS_1200);
119 WK_MACOS_1015_1200_YES = _MACOS_BEFORE_1015;
120
121 WK_MACOS_1015_1300 = $(WK_MACOS_1015_1300_$(WK_MACOS_BEFORE_1015));
122 WK_MACOS_1015_1300_ = $(WK_MACOS_1300);
123 WK_MACOS_1015_1300_YES = _MACOS_BEFORE_1015;
124
125 WK_MACOS_1016 = $(WK_MACOS_1016_$(WK_MACOS_BEFORE_1016));
126 WK_MACOS_1016_ = _MACOS_SINCE_1016;
127 WK_MACOS_1016_YES = _MACOS_BEFORE_1016;
128
129 WK_MACOS_1016_1100 = $(WK_MACOS_1016_$(WK_MACOS_BEFORE_1016));
130 WK_MACOS_1016_1100 = _MACOS_SINCE_1016;
131 WK_MACOS_1016_1100_YES = _MACOS_BEFORE_1016;
132
133 WK_MACOS_1016_1200 = $(WK_MACOS_1016_$(WK_MACOS_BEFORE_1016));
134 WK_MACOS_1016_1200 = _MACOS_SINCE_1016;
135 WK_MACOS_1016_1200_YES = _MACOS_BEFORE_1016;
136
137 WK_MACOS_1016_1300 = $(WK_MACOS_1016_$(WK_MACOS_BEFORE_1016));
138 WK_MACOS_1016_1300 = _MACOS_SINCE_1016;
139 WK_MACOS_1016_1300_YES = _MACOS_BEFORE_1016;
140
141 WK_MACOS_1100 = $(WK_MACOS_1100_$(WK_MACOS_BEFORE_1100));
142 WK_MACOS_1100_ = _MACOS_SINCE_1100;
143 WK_MACOS_1100_YES = _MACOS_BEFORE_1100;
144
145 WK_MACOS_1100_1200 = $(WK_MACOS_1100_$(WK_MACOS_BEFORE_1100));
146 WK_MACOS_1100_1200 = _MACOS_SINCE_1100;
147 WK_MACOS_1100_1200_YES = _MACOS_BEFORE_1100;
148
149 WK_MACOS_1100_1300 = $(WK_MACOS_1100_$(WK_MACOS_BEFORE_1100));
150 WK_MACOS_1100_1300 = _MACOS_SINCE_1100;
151 WK_MACOS_1100_1300_YES = _MACOS_BEFORE_1100;
152
153 WK_MACOS_1200 = $(WK_MACOS_1200_$(WK_MACOS_BEFORE_1200));
154 WK_MACOS_1200_ = _MACOS_SINCE_1200;
155 WK_MACOS_1200_YES = _MACOS_BEFORE_1200;
156
157 WK_MACOS_1200_1300 = $(WK_MACOS_1200_$(WK_MACOS_BEFORE_1200));
158 WK_MACOS_1200_1300 = _MACOS_SINCE_1200;
159 WK_MACOS_1200_1300_YES = _MACOS_BEFORE_1200;
160
161 WK_MACOS_1300 = $(WK_MACOS_1300_$(WK_MACOS_BEFORE_1300));
162 WK_MACOS_1300_ = _MACOS_SINCE_1300;
163 WK_MACOS_1300_YES = _MACOS_BEFORE_1300;
164
165 // iOS
166
167 WK_IOS_BEFORE_13 = $(WK_IOS_BEFORE_13_$(IPHONEOS_DEPLOYMENT_TARGET:base));
168
169 WK_IOS_BEFORE_14 = $(WK_IOS_BEFORE_14_$(IPHONEOS_DEPLOYMENT_TARGET:base));
170 WK_IOS_BEFORE_14_13 = YES;
171
172 WK_IOS_BEFORE_15 = $(WK_IOS_BEFORE_15_$(IPHONEOS_DEPLOYMENT_TARGET:base));
173 WK_IOS_BEFORE_15_13 = YES;
174 WK_IOS_BEFORE_15_14 = YES;
175
176 WK_IOS_BEFORE_16 = $(WK_IOS_BEFORE_16_$(IPHONEOS_DEPLOYMENT_TARGET:base));
177 WK_IOS_BEFORE_16_13 = YES;
178 WK_IOS_BEFORE_16_14 = YES;
179 WK_IOS_BEFORE_16_15 = YES;
180
181 WK_IOS_13 = $(WK_IOS_13_$(WK_IOS_BEFORE_13));
182 WK_IOS_13_ = _IOS_SINCE_13;
183 WK_IOS_13_YES = _IOS_BEFORE_13;
184
185 WK_IOS_13_14 = $(WK_IOS_13_14_$(WK_IOS_BEFORE_13));
186 WK_IOS_13_14_ = $(WK_IOS_14);
187 WK_IOS_13_14_YES = _IOS_BEFORE_13;
188
189 WK_IOS_13_15 = $(WK_IOS_13_15_$(WK_IOS_BEFORE_13));
190 WK_IOS_13_15_ = $(WK_IOS_15);
191 WK_IOS_13_15_YES = _IOS_BEFORE_13;
192
193 WK_IOS_13_16 = $(WK_IOS_13_16_$(WK_IOS_BEFORE_13));
194 WK_IOS_13_16_ = $(WK_IOS_16);
195 WK_IOS_13_16_YES = _IOS_BEFORE_13;
196
197 WK_IOS_14 = $(WK_IOS_14_$(WK_IOS_BEFORE_14));
198 WK_IOS_14_ = _IOS_SINCE_14;
199 WK_IOS_14_YES = _IOS_BEFORE_14;
200
201 WK_IOS_14_15 = $(WK_IOS_14_15_$(WK_IOS_BEFORE_14));
202 WK_IOS_14_15_ = $(WK_IOS_15);
203 WK_IOS_14_15_YES = _IOS_BEFORE_14;
204
205 WK_IOS_14_16 = $(WK_IOS_14_16_$(WK_IOS_BEFORE_14));
206 WK_IOS_14_16_ = $(WK_IOS_16);
207 WK_IOS_14_16_YES = _IOS_BEFORE_14;
208
209 WK_IOS_15 = $(WK_IOS_15_$(WK_IOS_BEFORE_15));
210 WK_IOS_15_ = _IOS_SINCE_15;
211 WK_IOS_15_YES = _IOS_BEFORE_15;
212
213 WK_IOS_15_16 = $(WK_IOS_15_16_$(WK_IOS_BEFORE_15));
214 WK_IOS_15_16_ = $(WK_IOS_16);
215 WK_IOS_15_16_YES = _IOS_BEFORE_15;
216
217 WK_IOS_16 = $(WK_IOS_16_$(WK_IOS_BEFORE_16));
218 WK_IOS_16_ = _IOS_SINCE_16;
219 WK_IOS_16_YES = _IOS_BEFORE_16;