Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / web.gypi
1 {
2   'variables': {
3     'web_files': [
4       'ApplicationCacheHost.cpp',
5       'ApplicationCacheHostInternal.h',
6       'AssertMatchingEnums.cpp',
7       'AssociatedURLLoader.cpp',
8       'AssociatedURLLoader.h',
9       'BackForwardClientImpl.cpp',
10       'BackForwardClientImpl.h',
11       'ChromeClientImpl.cpp',
12       'ChromeClientImpl.h',
13       'ColorChooserPopupUIController.cpp',
14       'ColorChooserPopupUIController.h',
15       'ColorChooserUIController.cpp',
16       'ColorChooserUIController.h',
17       'CompositionUnderlineBuilder.h',
18       'CompositionUnderlineVectorBuilder.cpp',
19       'CompositionUnderlineVectorBuilder.h',
20       'ContextFeaturesClientImpl.cpp',
21       'ContextFeaturesClientImpl.h',
22       'ContextMenuClientImpl.cpp',
23       'ContextMenuClientImpl.h',
24       'DOMUtilitiesPrivate.cpp',
25       'DOMUtilitiesPrivate.h',
26       'DatabaseClientImpl.cpp',
27       'DatabaseClientImpl.h',
28       'DateTimeChooserImpl.cpp',
29       'DateTimeChooserImpl.h',
30       'DragClientImpl.cpp',
31       'DragClientImpl.h',
32       'EditorClientImpl.cpp',
33       'EditorClientImpl.h',
34       'EventListenerWrapper.cpp',
35       'EventListenerWrapper.h',
36       'ExternalDateTimeChooser.cpp',
37       'ExternalDateTimeChooser.h',
38       'ExternalPopupMenu.cpp',
39       'ExternalPopupMenu.h',
40       'FindInPageCoordinates.cpp',
41       'FindInPageCoordinates.h',
42       'FrameLoaderClientImpl.cpp',
43       'FrameLoaderClientImpl.h',
44       'FullscreenController.cpp',
45       'FullscreenController.h',
46       'GeolocationClientProxy.cpp',
47       'GeolocationClientProxy.h',
48       'GraphicsLayerFactoryChromium.cpp',
49       'GraphicsLayerFactoryChromium.h',
50       'IDBFactoryBackendProxy.cpp',
51       'IDBFactoryBackendProxy.h',
52       'InspectorClientImpl.cpp',
53       'InspectorClientImpl.h',
54       'InspectorFrontendClientImpl.cpp',
55       'InspectorFrontendClientImpl.h',
56       'LinkHighlight.cpp',
57       'LinkHighlight.h',
58       'LocalFileSystemClient.cpp',
59       'LocalFileSystemClient.h',
60       'MIDIClientProxy.cpp',
61       'MIDIClientProxy.h',
62       'NotificationPresenterImpl.cpp',
63       'NotificationPresenterImpl.h',
64       'PageOverlay.cpp',
65       'PageOverlay.h',
66       'PageOverlayList.cpp',
67       'PageOverlayList.h',
68       'PageScaleConstraintsSet.cpp',
69       'PageScaleConstraintsSet.h',
70       'PageWidgetDelegate.cpp',
71       'PageWidgetDelegate.h',
72       'PinchViewports.cpp',
73       'PinchViewports.h',
74       'PopupContainer.cpp',
75       'PopupContainer.h',
76       'PopupListBox.cpp',
77       'PopupListBox.h',
78       'PopupMenuChromium.cpp',
79       'PopupMenuChromium.h',
80       'PrerendererClientImpl.cpp',
81       'PrerendererClientImpl.h',
82       'ScrollbarGroup.cpp',
83       'ScrollbarGroup.h',
84       'ServiceWorkerGlobalScopeClientImpl.cpp',
85       'ServiceWorkerGlobalScopeClientImpl.h',
86       'ServiceWorkerGlobalScopeProxy.cpp',
87       'ServiceWorkerGlobalScopeProxy.h',
88       'SharedWorkerRepositoryClientImpl.cpp',
89       'SharedWorkerRepositoryClientImpl.h',
90       'SpeechInputClientImpl.cpp',
91       'SpeechInputClientImpl.h',
92       'SpeechRecognitionClientProxy.cpp',
93       'SpeechRecognitionClientProxy.h',
94       'SpellCheckerClientImpl.cpp',
95       'SpellCheckerClientImpl.h',
96       'StorageClientImpl.cpp',
97       'StorageClientImpl.h',
98       'StorageQuotaClientImpl.cpp',
99       'StorageQuotaClientImpl.h',
100       'UserMediaClientImpl.cpp',
101       'UserMediaClientImpl.h',
102       'ValidationMessageClientImpl.cpp',
103       'ValidationMessageClientImpl.h',
104       'ViewportAnchor.cpp',
105       'ViewportAnchor.h',
106       'WebAXObject.cpp',
107       'WebArrayBufferConverter.cpp',
108       'WebArrayBufferView.cpp',
109       'WebBindings.cpp',
110       'WebBlob.cpp',
111       'WebCache.cpp',
112       'WebCachedURLRequest.cpp',
113       'WebColorName.cpp',
114       'WebColorSuggestion.cpp',
115       'WebCrossOriginPreflightResultCache.cpp',
116       'WebCustomElement.cpp',
117       'WebDOMActivityLogger.cpp',
118       'WebDOMCustomEvent.cpp',
119       'WebDOMError.cpp',
120       'WebDOMEvent.cpp',
121       'WebDOMEventListener.cpp',
122       'WebDOMEventListenerPrivate.cpp',
123       'WebDOMEventListenerPrivate.h',
124       'WebDOMFileSystem.cpp',
125       'WebDOMMediaStreamTrack.cpp',
126       'WebDOMMessageEvent.cpp',
127       'WebDOMMouseEvent.cpp',
128       'WebDOMProgressEvent.cpp',
129       'WebDOMResourceProgressEvent.cpp',
130       'WebDateTimeSuggestion.cpp',
131       'WebDataSourceImpl.cpp',
132       'WebDataSourceImpl.h',
133       'WebDatabase.cpp',
134       'WebDevToolsAgentImpl.cpp',
135       'WebDevToolsAgentImpl.h',
136       'WebDevToolsFrontendImpl.cpp',
137       'WebDevToolsFrontendImpl.h',
138       'WebDocument.cpp',
139       'WebDocumentType.cpp',
140       'WebDragData.cpp',
141       'WebElement.cpp',
142       'WebElementCollection.cpp',
143       'WebEmbeddedWorkerImpl.cpp',
144       'WebEmbeddedWorkerImpl.h',
145       'WebEntities.cpp',
146       'WebEntities.h',
147       'WebFileChooserCompletionImpl.cpp',
148       'WebFileChooserCompletionImpl.h',
149       'WebFontCache.cpp',
150       'WebFontDescription.cpp',
151       'WebFontImpl.cpp',
152       'WebFontImpl.h',
153       'WebFormControlElement.cpp',
154       'WebFormElement.cpp',
155       'WebFrameImpl.cpp',
156       'WebFrameImpl.h',
157       'WebGeolocationController.cpp',
158       'WebGeolocationError.cpp',
159       'WebGeolocationPermissionRequest.cpp',
160       'WebGeolocationPermissionRequestManager.cpp',
161       'WebGeolocationPosition.cpp',
162       'WebGlyphCache.cpp',
163       'WebHeap.cpp',
164       'WebHelperPluginImpl.cpp',
165       'WebHelperPluginImpl.h',
166       'WebHistoryItem.cpp',
167       'WebHitTestResult.cpp',
168       'WebIDBDatabaseError.cpp',
169       'WebIDBKey.cpp',
170       'WebIDBKeyPath.cpp',
171       'WebIDBKeyRange.cpp',
172       'WebIDBMetadata.cpp',
173       'WebImageCache.cpp',
174       'WebImageDecoder.cpp',
175       'WebInputElement.cpp',
176       'WebInputEvent.cpp',
177       'WebInputEventFactoryAndroid.cpp',
178       'WebInputEventFactoryGtk.cpp',
179       'WebInputEventFactoryMac.mm',
180       'WebInputEventFactoryWin.cpp',
181       'WebInputEventConversion.cpp',
182       'WebInputEventConversion.h',
183       'WebKit.cpp',
184       'WebLabelElement.cpp',
185       'WebLeakDetector.cpp',
186       'WebMIDIClientMock.cpp',
187       'WebMIDIPermissionRequest.cpp',
188       'WebMediaDevicesRequest.cpp',
189       'WebMediaPlayerClientImpl.cpp',
190       'WebMediaPlayerClientImpl.h',
191       'WebMediaStreamRegistry.cpp',
192       'WebNetworkStateNotifier.cpp',
193       'WebNode.cpp',
194       'WebNodeList.cpp',
195       'WebNotification.cpp',
196       'WebOptionElement.cpp',
197       'WebPagePopupImpl.cpp',
198       'WebPagePopupImpl.h',
199       'WebPageSerializer.cpp',
200       'WebPageSerializerImpl.cpp',
201       'WebPageSerializerImpl.h',
202       'WebPasswordFormData.cpp',
203       'WebPasswordFormUtils.cpp',
204       'WebPasswordFormUtils.h',
205       'WebPerformance.cpp',
206       'WebPluginContainerImpl.cpp',
207       'WebPluginContainerImpl.h',
208       'WebPluginDocument.cpp',
209       'WebPluginLoadObserver.cpp',
210       'WebPluginLoadObserver.h',
211       'WebPluginScrollbarImpl.cpp',
212       'WebPluginScrollbarImpl.h',
213       'WebPopupMenuImpl.cpp',
214       'WebPopupMenuImpl.h',
215       'WebRange.cpp',
216       'WebRuntimeFeatures.cpp',
217       'WebScopedMicrotaskSuppression.cpp',
218       'WebScopedUserGesture.cpp',
219       'WebScopedUserGesture.cpp',
220       'WebScopedWindowFocusAllowedIndicator.cpp',
221       'WebScriptBindings.cpp',
222       'WebScriptController.cpp',
223       'WebScrollbarThemePainter.cpp',
224       'WebSearchableFormData.cpp',
225       'WebSecurityOrigin.cpp',
226       'WebSecurityPolicy.cpp',
227       'WebSelectElement.cpp',
228       'WebSelector.cpp',
229       'WebSerializedScriptValue.cpp',
230       'WebSettingsImpl.cpp',
231       'WebSettingsImpl.h',
232       'WebSharedWorkerImpl.cpp',
233       'WebSharedWorkerImpl.h',
234       'WebSocket.cpp',
235       'WebSocketImpl.cpp',
236       'WebSocketImpl.h',
237       'WebSpeechGrammar.cpp',
238       'WebSpeechInputResult.cpp',
239       'WebSpeechRecognitionHandle.cpp',
240       'WebSpeechRecognitionResult.cpp',
241       'WebStorageEventDispatcherImpl.cpp',
242       'WebSurroundingText.cpp',
243       'WebTextAreaElement.cpp',
244       'WebTextCheckingCompletionImpl.cpp',
245       'WebTextCheckingCompletionImpl.h',
246       'WebTextCheckingResult.cpp',
247       'WebTextInputInfo.cpp',
248       'WebTextRun.cpp',
249       'WebUserGestureIndicator.cpp',
250       'WebUserGestureToken.cpp',
251       'WebUserMediaRequest.cpp',
252       'WebViewImpl.cpp',
253       'WebViewImpl.h',
254       'WebWorkerInfo.cpp',
255       'WebWorkerRunLoop.cpp',
256       'WorkerGlobalScopeProxyProviderImpl.cpp',
257       'WorkerGlobalScopeProxyProviderImpl.h',
258       'WorkerPermissionClient.cpp',
259       'WorkerPermissionClient.h',
260       'default/WebRenderTheme.cpp',
261       'linux/WebFontRendering.cpp',
262       'mac/WebScrollbarTheme.mm',
263       'mac/WebSubstringUtil.mm',
264       'painting/ContinuousPainter.cpp',
265       'painting/ContinuousPainter.h',
266       'painting/PaintAggregator.cpp',
267       'painting/PaintAggregator.h',
268     ],
269     'web_unittest_files': [
270       'tests/AssociatedURLLoaderTest.cpp',
271       'tests/BitmapImageTest.cpp',
272       'tests/Canvas2DLayerBridgeTest.cpp',
273       'tests/Canvas2DLayerManagerTest.cpp',
274       'tests/ChromeClientImplTest.cpp',
275       'tests/CompositedLayerMappingTest.cpp',
276       'tests/CustomEventTest.cpp',
277       'tests/DragImageTest.cpp',
278       'tests/DrawingBufferTest.cpp',
279       'tests/FakeWebPlugin.cpp',
280       'tests/FakeWebPlugin.h',
281       'tests/FilterOperationsTest.cpp',
282       'tests/FrameLoaderClientImplTest.cpp',
283       'tests/FrameTestHelpers.cpp',
284       'tests/FrameTestHelpers.h',
285       'tests/GIFImageDecoderTest.cpp',
286       'tests/GraphicsContextTest.cpp',
287       'tests/GraphicsLayerTest.cpp',
288       'tests/ImageFilterBuilderTest.cpp',
289       'tests/ImageLayerChromiumTest.cpp',
290       'tests/JPEGImageDecoderTest.cpp',
291       'tests/KeyboardTest.cpp',
292       'tests/LinkHighlightTest.cpp',
293       'tests/ListenerLeakTest.cpp',
294       'tests/MemoryInfo.cpp',
295       'tests/MockWebGraphicsContext3D.h',
296       'tests/OpaqueRectTrackingContentLayerDelegateTest.cpp',
297       'tests/OpenTypeVerticalDataTest.cpp',
298       'tests/PageSerializerTest.cpp',
299       'tests/PaintAggregatorTest.cpp',
300       'tests/PopupContainerTest.cpp',
301       'tests/PopupMenuTest.cpp',
302       'tests/PrerenderingTest.cpp',
303       'tests/ProgrammaticScrollTest.cpp',
304       'tests/RenderTableCellTest.cpp',
305       'tests/RenderTableRowTest.cpp',
306       'tests/ScrollingCoordinatorChromiumTest.cpp',
307       'tests/SpinLockTest.cpp',
308       'tests/TouchActionTest.cpp',
309       'tests/URLTestHelpers.cpp',
310       'tests/URLTestHelpers.h',
311       'tests/ViewportTest.cpp',
312       'tests/WebFrameTest.cpp',
313       'tests/WebImageTest.cpp',
314       'tests/WebInputEventConversionTest.cpp',
315       'tests/WebInputEventFactoryTestMac.mm',
316       'tests/WEBPImageDecoderTest.cpp',
317       'tests/WebPageNewSerializerTest.cpp',
318       'tests/WebPageSerializerTest.cpp',
319       'tests/WebPluginContainerTest.cpp',
320       'tests/WebScopedWindowFocusAllowedIndicatorTest.cpp',
321       'tests/WebSearchableFormDataTest.cpp',
322       'tests/WebSelectorTest.cpp',
323       'tests/WebURLRequestTest.cpp',
324       'tests/WebURLResponseTest.cpp',
325       'tests/WebUserGestureTokenTest.cpp',
326       'tests/WebViewTest.cpp',
327     ],
328     'conditions': [
329       ['OS=="win"',
330         {
331           'web_unittest_files': [
332             'tests/LocaleWinTest.cpp',
333             'tests/WebPageNewSerializerTest.cpp',
334             'tests/WebPageSerializerTest.cpp',
335           ],
336         }
337       ],
338       ['OS=="win" and "ENABLE_HARFBUZZ_ON_WINDOWS=0" in feature_defines',
339         {
340           'web_unittest_files': [
341             'tests/UniscribeHelperTest.cpp',
342           ]
343         }
344       ],
345       ['OS=="mac"',
346         {
347           'web_unittest_files': [
348             'tests/LocaleMacTest.cpp',
349           ],
350         }
351       ],
352       ['OS!="mac"',
353         {
354           'web_unittest_files': [
355             # Mac uses ScrollAnimatorMac instead of ScrollAnimatorNone.
356             'tests/ScrollAnimatorNoneTest.cpp',
357           ],
358         }
359       ],
360       ['os_posix==1 and OS!="mac"',
361         {
362           'web_unittest_files': [
363             'tests/LocaleICUTest.cpp',
364           ],
365         }
366       ],
367       ['toolkit_uses_gtk == 1',
368         {
369           'web_unittest_files': [
370             'tests/KeyCodeConversionTestGtk.cpp',
371             'tests/WebInputEventFactoryTestGtk.cpp',
372           ],
373         }
374       ],
375     ],
376   },
377 }