Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / web.gypi
blobe36c2d82572ec35ad7a1ad43f4964b9c0d8ab027
2   'variables': {
3     'web_files': [
4       'AssertMatchingEnums.cpp',
5       'AssociatedURLLoader.cpp',
6       'AssociatedURLLoader.h',
7       'ChromeClientImpl.cpp',
8       'ChromeClientImpl.h',
9       'ColorChooserPopupUIController.cpp',
10       'ColorChooserPopupUIController.h',
11       'ColorChooserUIController.cpp',
12       'ColorChooserUIController.h',
13       'CompositionUnderlineBuilder.h',
14       'CompositionUnderlineVectorBuilder.cpp',
15       'CompositionUnderlineVectorBuilder.h',
16       'ContextFeaturesClientImpl.cpp',
17       'ContextFeaturesClientImpl.h',
18       'ContextMenuAllowedScope.cpp',
19       'ContextMenuAllowedScope.h',
20       'ContextMenuClientImpl.cpp',
21       'ContextMenuClientImpl.h',
22       'DatabaseClientImpl.cpp',
23       'DatabaseClientImpl.h',
24       'DateTimeChooserImpl.cpp',
25       'DateTimeChooserImpl.h',
26       'DevToolsEmulator.cpp',
27       'DevToolsEmulator.h',
28       'DragClientImpl.cpp',
29       'DragClientImpl.h',
30       'EditorClientImpl.cpp',
31       'EditorClientImpl.h',
32       'ExternalDateTimeChooser.cpp',
33       'ExternalDateTimeChooser.h',
34       'ExternalPopupMenu.cpp',
35       'ExternalPopupMenu.h',
36       'FindInPageCoordinates.cpp',
37       'FindInPageCoordinates.h',
38       'FrameLoaderClientImpl.cpp',
39       'FrameLoaderClientImpl.h',
40       'FullscreenController.cpp',
41       'FullscreenController.h',
42       'GeolocationClientProxy.cpp',
43       'GeolocationClientProxy.h',
44       'GraphicsLayerFactoryChromium.cpp',
45       'GraphicsLayerFactoryChromium.h',
46       'IndexedDBClientImpl.cpp',
47       'IndexedDBClientImpl.h',
48       'InspectorEmulationAgent.cpp',
49       'InspectorEmulationAgent.h',
50       'InspectorOverlayImpl.cpp',
51       'InspectorOverlayImpl.h',
52       'InspectorRenderingAgent.cpp',
53       'InspectorRenderingAgent.h',
54       'LinkHighlightImpl.cpp',
55       'LinkHighlightImpl.h',
56       'LocalFileSystemClient.cpp',
57       'LocalFileSystemClient.h',
58       'MIDIClientProxy.cpp',
59       'MIDIClientProxy.h',
60       'MediaKeysClientImpl.cpp',
61       'MediaKeysClientImpl.h',
62       'NavigatorContentUtilsClientImpl.cpp',
63       'NavigatorContentUtilsClientImpl.h',
64       'NotificationPermissionClientImpl.cpp',
65       'NotificationPermissionClientImpl.h',
66       'OpenedFrameTracker.cpp',
67       'OpenedFrameTracker.h',
68       'PageOverlay.cpp',
69       'PageOverlay.h',
70       'PageWidgetDelegate.cpp',
71       'PageWidgetDelegate.h',
72       'PopupMenuImpl.cpp',
73       'PopupMenuImpl.h',
74       'PrerendererClientImpl.cpp',
75       'PrerendererClientImpl.h',
76       'RemoteBridgeFrameOwner.cpp',
77       'RemoteBridgeFrameOwner.h',
78       'RemoteFrameClientImpl.cpp',
79       'RemoteFrameClientImpl.h',
80       'ResizeViewportAnchor.cpp',
81       'ResizeViewportAnchor.h',
82       'RotationViewportAnchor.cpp',
83       'RotationViewportAnchor.h',
84       'ServiceWorkerGlobalScopeClientImpl.cpp',
85       'ServiceWorkerGlobalScopeClientImpl.h',
86       'ServiceWorkerGlobalScopeProxy.cpp',
87       'ServiceWorkerGlobalScopeProxy.h',
88       'SharedWorkerRepositoryClientImpl.cpp',
89       'SharedWorkerRepositoryClientImpl.h',
90       'SpeechRecognitionClientProxy.cpp',
91       'SpeechRecognitionClientProxy.h',
92       'SpellCheckerClientImpl.cpp',
93       'SpellCheckerClientImpl.h',
94       'StorageClientImpl.cpp',
95       'StorageClientImpl.h',
96       'StorageQuotaClientImpl.cpp',
97       'StorageQuotaClientImpl.h',
98       'SuspendableScriptExecutor.cpp',
99       'SuspendableScriptExecutor.h',
100       'TextFinder.cpp',
101       'TextFinder.h',
102       'UserMediaClientImpl.cpp',
103       'UserMediaClientImpl.h',
104       'ValidationMessageClientImpl.cpp',
105       'ValidationMessageClientImpl.h',
106       'ViewportAnchor.h',
107       'WebAXObject.cpp',
108       'WebArrayBuffer.cpp',
109       'WebArrayBufferConverter.cpp',
110       'WebArrayBufferView.cpp',
111       'WebBindings.cpp',
112       'WebBlob.cpp',
113       'WebCache.cpp',
114       'WebColorName.cpp',
115       'WebColorSuggestion.cpp',
116       'WebCryptoNormalize.cpp',
117       'WebCustomElement.cpp',
118       'WebCSSParser.cpp',
119       'WebDOMActivityLogger.cpp',
120       'WebDOMCustomEvent.cpp',
121       'WebDOMError.cpp',
122       'WebDOMEvent.cpp',
123       'WebDOMFileSystem.cpp',
124       'WebDOMMediaStreamTrack.cpp',
125       'WebDOMMessageEvent.cpp',
126       'WebDOMMouseEvent.cpp',
127       'WebDOMProgressEvent.cpp',
128       'WebDOMResourceProgressEvent.cpp',
129       'WebDataSourceImpl.cpp',
130       'WebDataSourceImpl.h',
131       'WebDatabase.cpp',
132       'WebDateTimeSuggestion.cpp',
133       'WebDevToolsAgentImpl.cpp',
134       'WebDevToolsAgentImpl.h',
135       'WebDevToolsFrontendImpl.cpp',
136       'WebDevToolsFrontendImpl.h',
137       'WebDocument.cpp',
138       'WebDocumentType.cpp',
139       'WebElement.cpp',
140       'WebElementCollection.cpp',
141       'WebEmbeddedWorkerImpl.cpp',
142       'WebEmbeddedWorkerImpl.h',
143       'WebEntities.cpp',
144       'WebEntities.h',
145       'WebFileChooserCompletionImpl.cpp',
146       'WebFileChooserCompletionImpl.h',
147       'WebFontDescription.cpp',
148       'WebFontImpl.cpp',
149       'WebFontImpl.h',
150       'WebFormControlElement.cpp',
151       'WebFormElement.cpp',
152       'WebFrame.cpp',
153       'WebFrameWidgetImpl.cpp',
154       'WebFrameWidgetImpl.h',
155       'WebGeolocationController.cpp',
156       'WebGeolocationError.cpp',
157       'WebGeolocationPermissionRequest.cpp',
158       'WebGeolocationPermissionRequestManager.cpp',
159       'WebGeolocationPosition.cpp',
160       'WebGlyphCache.cpp',
161       'WebGraphicsContextImpl.cpp',
162       'WebGraphicsContextImpl.h',
163       'WebHeap.cpp',
164       'WebHelperPluginImpl.cpp',
165       'WebHelperPluginImpl.h',
166       'WebHistoryItem.cpp',
167       'WebHitTestResult.cpp',
168       'WebIDBKey.cpp',
169       'WebIDBKeyRange.cpp',
170       'WebImageCache.cpp',
171       'WebImageDecoder.cpp',
172       'WebImageGenerator.cpp',
173       'WebInputElement.cpp',
174       'WebInputEvent.cpp',
175       'WebInputEventConversion.cpp',
176       'WebInputEventConversion.h',
177       'WebKit.cpp',
178       'WebLabelElement.cpp',
179       'WebLeakDetector.cpp',
180       'WebLocalFrameImpl.cpp',
181       'WebLocalFrameImpl.h',
182       'WebMIDIPermissionRequest.cpp',
183       'WebMediaDevicesRequest.cpp',
184       'WebMediaStreamRegistry.cpp',
185       'WebNetworkStateNotifier.cpp',
186       'WebNode.cpp',
187       'WebNodeList.cpp',
188       'WebOptionElement.cpp',
189       'WebPageImportanceSignals.cpp',
190       'WebPagePopupImpl.cpp',
191       'WebPagePopupImpl.h',
192       'WebPageSerializer.cpp',
193       'WebPageSerializerImpl.cpp',
194       'WebPageSerializerImpl.h',
195       'WebPerformance.cpp',
196       'WebPluginContainerImpl.cpp',
197       'WebPluginContainerImpl.h',
198       'WebPluginDocument.cpp',
199       'WebPluginLoadObserver.cpp',
200       'WebPluginLoadObserver.h',
201       'WebPluginScriptForbiddenScope.cpp',
202       'WebRange.cpp',
203       'WebRemoteFrameImpl.cpp',
204       'WebRemoteFrameImpl.h',
205       'WebRuntimeFeatures.cpp',
206       'WebScopedMicrotaskSuppression.cpp',
207       'WebScopedUserGesture.cpp',
208       'WebScopedWindowFocusAllowedIndicator.cpp',
209       'WebScriptBindings.cpp',
210       'WebScriptController.cpp',
211       'WebScriptSource.cpp',
212       'WebSearchableFormData.cpp',
213       'WebSecurityPolicy.cpp',
214       'WebSelectElement.cpp',
215       'WebSelection.cpp',
216       'WebSelector.cpp',
217       'WebSerializedScriptValue.cpp',
218       'WebSettingsImpl.cpp',
219       'WebSettingsImpl.h',
220       'WebSharedWorkerImpl.cpp',
221       'WebSharedWorkerImpl.h',
222       'WebSocket.cpp',
223       'WebSocketChannelClientProxy.h',
224       'WebSocketImpl.cpp',
225       'WebSocketImpl.h',
226       'WebSpeechGrammar.cpp',
227       'WebSpeechRecognitionHandle.cpp',
228       'WebSpeechRecognitionResult.cpp',
229       'WebStorageEventDispatcherImpl.cpp',
230       'WebSurroundingText.cpp',
231       'WebTextAreaElement.cpp',
232       'WebTextCheckingCompletionImpl.cpp',
233       'WebTextCheckingCompletionImpl.h',
234       'WebTextCheckingResult.cpp',
235       'WebTextInputInfo.cpp',
236       'WebTextRun.cpp',
237       'WebUserGestureIndicator.cpp',
238       'WebUserGestureToken.cpp',
239       'WebUserMediaRequest.cpp',
240       'WebViewFrameWidget.cpp',
241       'WebViewFrameWidget.h',
242       'WebViewImpl.cpp',
243       'WebViewImpl.h',
244       'WorkerContentSettingsClient.cpp',
245       'WorkerContentSettingsClient.h',
246       'WorkerGlobalScopeProxyProviderImpl.cpp',
247       'WorkerGlobalScopeProxyProviderImpl.h',
248       'default/WebRenderTheme.cpp',
249       'linux/WebFontRendering.cpp',
250       'mac/WebScrollbarTheme.mm',
251       'mac/WebSubstringUtil.mm',
252       'painting/PaintAggregator.cpp',
253       'painting/PaintAggregator.h',
254       'win/WebFontRendering.cpp',
255     ],
256     'web_unittest_files': [
257       'AssociatedURLLoaderTest.cpp',
258       'ExternalPopupMenuTest.cpp',
259       'LinkHighlightImplTest.cpp',
260       'PageOverlayTest.cpp',
261       'WebDragDataTest.cpp',
262       'WebEmbeddedWorkerImplTest.cpp',
263       'WebNodeTest.cpp',
264       'WebElementTest.cpp',
265       # FIXME: Move the tests from web/tests/ to appropriate places.
266       # crbug.com/353585
267       'tests/ActivityLoggerTest.cpp',
268       'tests/ChromeClientImplTest.cpp',
269       'tests/CustomEventTest.cpp',
270       'tests/DocumentLoaderTest.cpp',
271       'tests/DocumentLoadingRenderingTest.cpp',
272       'tests/FakeWebPlugin.cpp',
273       'tests/FakeWebPlugin.h',
274       'tests/FrameLoaderClientImplTest.cpp',
275       'tests/FrameTestHelpers.cpp',
276       'tests/FrameTestHelpers.h',
277       'tests/ImeOnFocusTest.cpp',
278       'tests/KeyboardTest.cpp',
279       'tests/ListenerLeakTest.cpp',
280       'tests/MHTMLTest.cpp',
281       'tests/OpenTypeVerticalDataTest.cpp',
282       'tests/PageSerializerTest.cpp',
283       'tests/PaintAggregatorTest.cpp',
284       'tests/PrerenderingTest.cpp',
285       'tests/ProgrammaticScrollTest.cpp',
286       'tests/LayoutGeometryMapTest.cpp',
287       'tests/ScreenWakeLockTest.cpp',
288       'tests/ScrollingCoordinatorTest.cpp',
289       'tests/SpinLockTest.cpp',
290       'tests/TextFinderTest.cpp',
291       'tests/TopControlsTest.cpp',
292       'tests/TouchActionTest.cpp',
293       'tests/ViewportTest.cpp',
294       'tests/VisualViewportTest.cpp',
295       'tests/WebDocumentTest.cpp',
296       'tests/WebFrameTest.cpp',
297       'tests/WebHelperPluginTest.cpp',
298       'tests/WebImageTest.cpp',
299       'tests/WebInputEventConversionTest.cpp',
300       'tests/WebPageSerializerTest.cpp',
301       'tests/WebPluginContainerTest.cpp',
302       'tests/WebScopedWindowFocusAllowedIndicatorTest.cpp',
303       'tests/WebSearchableFormDataTest.cpp',
304       'tests/WebSelectorTest.cpp',
305       'tests/WebURLRequestTest.cpp',
306       'tests/WebURLResponseTest.cpp',
307       'tests/WebUnitTests.cpp',
308       'tests/WebUserGestureTokenTest.cpp',
309       'tests/WebViewTest.cpp',
310       'tests/sim/SimCompositor.cpp',
311       'tests/sim/SimCompositor.h',
312       'tests/sim/SimCanvas.cpp',
313       'tests/sim/SimCanvas.h',
314       'tests/sim/SimDisplayItemList.cpp',
315       'tests/sim/SimDisplayItemList.h',
316       'tests/sim/SimLayerTreeView.cpp',
317       'tests/sim/SimLayerTreeView.h',
318       'tests/sim/SimNetwork.cpp',
319       'tests/sim/SimNetwork.h',
320       'tests/sim/SimRequest.cpp',
321       'tests/sim/SimRequest.h',
322       'tests/sim/SimWebViewClient.cpp',
323       'tests/sim/SimWebViewClient.h',
324     ],
325     'conditions': [
326       ['OS=="win"',
327         {
328           'web_unittest_files': [
329             'tests/WebPageSerializerTest.cpp',
330           ],
331         }
332       ],
333       ['OS!="mac"',
334         {
335           'web_unittest_files': [
336             # Mac uses ScrollAnimatorMac instead of ScrollAnimatorNone.
337             'tests/ScrollAnimatorNoneTest.cpp',
338           ],
339         }
340       ],
341     ],
342   },