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