2 # Copyright (C) 2010 Google Inc. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 '../../../Source/WebCore/WebCore.gypi',
34 '../../../Tools/DumpRenderTree/DumpRenderTree.gypi',
40 # Location of the chromium src directory and target type is different
41 # if webkit is built inside chromium or as standalone project.
42 ['inside_chromium_build==0', {
43 # Webkit is being built outside of the full chromium project.
44 # e.g. via build-webkit --chromium
45 'chromium_src_dir': '../../../Source/WebKit/chromium',
46 'webkit_target_type': 'static_library',
48 # List of DevTools source files, ordered by dependencies. It is used both
49 # for copying them to resource dir, and for generating 'devtools.html' file.
51 '<@(devtools_css_files)',
52 '<@(devtools_js_files)',
55 # WebKit is checked out in src/chromium/third_party/WebKit
56 'chromium_src_dir': '../../../../..',
57 'webkit_target_type': '<(library)',
60 '<@(devtools_css_files)',
61 '<@(devtools_js_files)',
65 'ahem_path': '../../../Tools/DumpRenderTree/qt/fonts/AHEM____.TTF',
67 # If debug_devtools is set to 1, JavaScript files for DevTools are
68 # stored as is. Otherwise, a concatenated file is stored.
73 'target_name': 'webkit',
74 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
76 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:webcore',
77 '<(chromium_src_dir)/app/app.gyp:app_base', # For GLContext
78 '<(chromium_src_dir)/skia/skia.gyp:skia',
79 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
80 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:translator_glsl',
82 'export_dependent_settings': [
83 '<(chromium_src_dir)/skia/skia.gyp:skia',
84 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
89 '<(chromium_src_dir)/third_party/angle/include',
92 'WEBKIT_IMPLEMENTATION=1',
95 'public/gtk/WebInputEventFactory.h',
96 'public/linux/WebFontRendering.h',
97 'public/linux/WebFontRenderStyle.h',
98 'public/linux/WebRenderTheme.h',
99 'public/linux/WebThemeEngine.h',
100 'public/x11/WebScreenInfoFactory.h',
101 'public/mac/WebInputEventFactory.h',
102 'public/mac/WebSandboxSupport.h',
103 'public/mac/WebScreenInfoFactory.h',
104 'public/mac/WebThemeEngine.h',
105 'public/WebAccessibilityCache.h',
106 'public/WebAccessibilityNotification.h',
107 'public/WebAccessibilityObject.h',
108 'public/WebAccessibilityRole.h',
109 'public/WebAnimationController.h',
110 'public/WebApplicationCacheHost.h',
111 'public/WebApplicationCacheHostClient.h',
112 'public/WebAttribute.h',
113 'public/WebAudioBus.h',
114 'public/WebAudioDevice.h',
115 'public/WebAutoFillClient.h',
116 'public/WebBindings.h',
117 'public/WebBlobData.h',
118 'public/WebBlobRegistry.h',
120 'public/WebCanvas.h',
121 'public/WebClipboard.h',
123 'public/WebColorName.h',
124 'public/WebCommon.h',
125 'public/WebCommonWorkerClient.h',
126 'public/WebCompositionUnderline.h',
127 'public/WebConsoleMessage.h',
128 'public/WebContextMenuData.h',
129 'public/WebCookie.h',
130 'public/WebCookieJar.h',
131 'public/WebCrossOriginPreflightResultCache.h',
132 'public/WebCString.h',
133 'public/WebCursorInfo.h',
134 'public/WebDOMEvent.h',
135 'public/WebDOMEventListener.h',
136 'public/WebDOMMouseEvent.h',
137 'public/WebDOMMutationEvent.h',
138 'public/WebDOMStringList.h',
140 'public/WebDatabase.h',
141 'public/WebDatabaseObserver.h',
142 'public/WebDataSource.h',
143 'public/WebDevToolsAgent.h',
144 'public/WebDevToolsAgentClient.h',
145 'public/WebDevToolsFrontend.h',
146 'public/WebDevToolsFrontendClient.h',
147 'public/WebDeviceOrientation.h',
148 'public/WebDeviceOrientationClient.h',
149 'public/WebDeviceOrientationClientMock.h',
150 'public/WebDeviceOrientationController.h',
151 'public/WebDocument.h',
152 'public/WebDocumentType.h',
153 'public/WebDragData.h',
154 'public/WebEditingAction.h',
155 'public/WebElement.h',
156 'public/WebExceptionCode.h',
157 'public/WebExternalPopupMenu.h',
158 'public/WebExternalPopupMenuClient.h',
159 'public/WebFileChooserCompletion.h',
160 'public/WebFileChooserParams.h',
161 'public/WebFileError.h',
162 'public/WebFileInfo.h',
163 'public/WebFileSystem.h',
164 'public/WebFileSystemCallbacks.h',
165 'public/WebFileSystemEntry.h',
166 'public/WebFileUtilities.h',
167 'public/WebFileWriter.h',
168 'public/WebFileWriterClient.h',
169 'public/WebFindOptions.h',
170 'public/WebFloatPoint.h',
171 'public/WebFloatRect.h',
173 'public/WebFontDescription.h',
175 'public/WebFrameClient.h',
176 'public/WebFontCache.h',
177 'public/WebFormControlElement.h',
178 'public/WebFormElement.h',
179 'public/WebGeolocationClient.h',
180 'public/WebGeolocationClientMock.h',
181 'public/WebGeolocationController.h',
182 'public/WebGeolocationError.h',
183 'public/WebGeolocationPermissionRequest.h',
184 'public/WebGeolocationPermissionRequestManager.h',
185 'public/WebGeolocationPosition.h',
186 'public/WebGlyphCache.h',
187 'public/WebGraphicsContext3D.h',
188 'public/WebHistoryItem.h',
189 'public/WebHTTPBody.h',
190 'public/WebHTTPLoadInfo.h',
192 'public/WebImageDecoder.h',
193 'public/WebIDBCallbacks.h',
194 'public/WebIDBCursor.h',
195 'public/WebIDBDatabase.h',
196 'public/WebIDBDatabaseError.h',
197 'public/WebIDBFactory.h',
198 'public/WebIDBKeyRange.h',
199 'public/WebIDBIndex.h',
200 'public/WebIDBKey.h',
201 'public/WebIDBKeyPath.h',
202 'public/WebIDBObjectStore.h',
203 'public/WebIDBTransaction.h',
204 'public/WebIDBTransactionCallbacks.h',
205 'public/WebInputElement.h',
206 'public/WebInputEvent.h',
208 'public/WebKitClient.h',
209 'public/WebLabelElement.h',
210 'public/WebLocalizedString.h',
211 'public/WebMediaElement.h',
212 'public/WebMediaPlayer.h',
213 'public/WebMediaPlayerAction.h',
214 'public/WebMediaPlayerClient.h',
215 'public/WebMenuItemInfo.h',
216 'public/WebMessagePortChannel.h',
217 'public/WebMessagePortChannelClient.h',
218 'public/WebMimeRegistry.h',
219 'public/WebNamedNodeMap.h',
220 'public/WebNavigationType.h',
222 'public/WebNodeCollection.h',
223 'public/WebNodeList.h',
224 'public/WebNonCopyable.h',
225 'public/WebNotification.h',
226 'public/WebNotificationPresenter.h',
227 'public/WebNotificationPermissionCallback.h',
228 'public/WebOptionElement.h',
229 'public/WebPageSerializer.h',
230 'public/WebPageSerializerClient.h',
231 'public/WebPasswordAutocompleteListener.h',
232 'public/WebPasswordFormData.h',
233 'public/WebPerformance.h',
234 'public/WebPlugin.h',
235 'public/WebPluginContainer.h',
236 'public/WebPluginDocument.h',
237 'public/WebPluginListBuilder.h',
239 'public/WebPopupMenu.h',
240 'public/WebPopupMenuInfo.h',
241 'public/WebPopupType.h',
242 'public/WebPrivatePtr.h',
243 'public/WebPrivateOwnPtr.h',
246 'public/WebRegularExpression.h',
247 'public/WebRuntimeFeatures.h',
248 'public/WebScrollbar.h',
249 'public/WebScrollbarClient.h',
250 'public/WebScreenInfo.h',
251 'public/WebScriptController.h',
252 'public/WebScriptSource.h',
253 'public/WebSearchableFormData.h',
254 'public/WebSecurityOrigin.h',
255 'public/WebSecurityPolicy.h',
256 'public/WebSelectElement.h',
257 'public/WebSerializedScriptValue.h',
258 'public/WebSettings.h',
259 'public/WebSharedWorker.h',
260 'public/WebSharedWorkerRepository.h',
262 'public/WebSocketStreamError.h',
263 'public/WebSocketStreamHandle.h',
264 'public/WebSocketStreamHandleClient.h',
265 'public/WebSpeechInputController.h',
266 'public/WebSpeechInputControllerMock.h',
267 'public/WebSpeechInputListener.h',
268 'public/WebSpeechInputResult.h',
269 'public/WebStorageArea.h',
270 'public/WebStorageEventDispatcher.h',
271 'public/WebStorageNamespace.h',
272 'public/WebString.h',
273 'public/WebTextAffinity.h',
274 'public/WebTextCaseSensitivity.h',
275 'public/WebTextDirection.h',
276 'public/WebTextInputType.h',
277 'public/WebTextRun.h',
278 'public/WebThreadSafeData.h',
280 'public/WebURLError.h',
281 'public/WebURLLoader.h',
282 'public/WebURLLoadTiming.h',
283 'public/WebURLLoaderClient.h',
284 'public/WebURLRequest.h',
285 'public/WebURLResponse.h',
286 'public/WebVector.h',
288 'public/WebViewClient.h',
289 'public/WebWidget.h',
290 'public/WebWidgetClient.h',
291 'public/WebWorker.h',
292 'public/WebWorkerClient.h',
293 'public/win/WebInputEventFactory.h',
294 'public/win/WebSandboxSupport.h',
295 'public/win/WebScreenInfoFactory.h',
296 'public/win/WebThemeEngine.h',
297 'src/ApplicationCacheHost.cpp',
298 'src/ApplicationCacheHostInternal.h',
299 'src/AssertMatchingEnums.cpp',
300 'src/AssociatedURLLoader.cpp',
301 'src/AssociatedURLLoader.h',
302 'src/AsyncFileSystemChromium.cpp',
303 'src/AsyncFileSystemChromium.h',
304 'src/AsyncFileWriterChromium.cpp',
305 'src/AsyncFileWriterChromium.h',
306 'src/AudioDestinationChromium.cpp',
307 'src/AudioDestinationChromium.h',
308 'src/AutoFillPopupMenuClient.cpp',
309 'src/AutoFillPopupMenuClient.h',
310 'src/BackForwardListChromium.cpp',
311 'src/BackForwardListChromium.h',
312 'src/BlobRegistryProxy.cpp',
313 'src/BlobRegistryProxy.h',
314 'src/BoundObject.cpp',
316 'src/ChromeClientImpl.cpp',
317 'src/ChromeClientImpl.h',
318 'src/ChromiumBridge.cpp',
319 'src/ChromiumCurrentTime.cpp',
320 'src/ChromiumThreading.cpp',
321 'src/CompositionUnderlineBuilder.h',
322 'src/CompositionUnderlineVectorBuilder.cpp',
323 'src/CompositionUnderlineVectorBuilder.h',
324 'src/ContextMenuClientImpl.cpp',
325 'src/ContextMenuClientImpl.h',
326 'src/DatabaseObserver.cpp',
327 'src/DebuggerAgentImpl.cpp',
328 'src/DebuggerAgentImpl.h',
329 'src/DebuggerAgentManager.cpp',
330 'src/DebuggerAgentManager.h',
331 'src/DeviceOrientationClientProxy.cpp',
332 'src/DeviceOrientationClientProxy.h',
333 'src/DOMUtilitiesPrivate.cpp',
334 'src/DOMUtilitiesPrivate.h',
335 'src/DragClientImpl.cpp',
336 'src/DragClientImpl.h',
337 'src/DragScrollTimer.cpp',
338 'src/DragScrollTimer.h',
339 'src/EditorClientImpl.cpp',
340 'src/EditorClientImpl.h',
341 'src/EventListenerWrapper.cpp',
342 'src/EventListenerWrapper.h',
343 'src/Extensions3DChromium.cpp',
344 'src/ExternalPopupMenu.cpp',
345 'src/ExternalPopupMenu.h',
346 'src/FrameLoaderClientImpl.cpp',
347 'src/FrameLoaderClientImpl.h',
348 'src/FrameNetworkingContextImpl.h',
349 'src/GeolocationClientProxy.cpp',
350 'src/GeolocationClientProxy.h',
351 'src/GraphicsContext3DChromium.cpp',
352 'src/GraphicsContext3DInternal.h',
353 'src/gtk/WebFontInfo.cpp',
354 'src/gtk/WebFontInfo.h',
355 'src/gtk/WebInputEventFactory.cpp',
356 'src/IDBCallbacksProxy.cpp',
357 'src/IDBCallbacksProxy.h',
358 'src/IDBCursorBackendProxy.cpp',
359 'src/IDBCursorBackendProxy.h',
360 'src/IDBDatabaseProxy.cpp',
361 'src/IDBDatabaseProxy.h',
362 'src/IDBFactoryBackendProxy.cpp',
363 'src/IDBFactoryBackendProxy.h',
364 'src/IDBIndexBackendProxy.cpp',
365 'src/IDBIndexBackendProxy.h',
366 'src/IDBObjectStoreProxy.cpp',
367 'src/IDBObjectStoreProxy.h',
368 'src/IDBTransactionBackendProxy.cpp',
369 'src/IDBTransactionBackendProxy.h',
370 'src/IDBTransactionCallbacksProxy.cpp',
371 'src/IDBTransactionCallbacksProxy.h',
372 'src/InspectorClientImpl.cpp',
373 'src/InspectorClientImpl.h',
374 'src/InspectorFrontendClientImpl.cpp',
375 'src/InspectorFrontendClientImpl.h',
376 'src/linux/WebFontRendering.cpp',
377 'src/linux/WebFontRenderStyle.cpp',
378 'src/linux/WebRenderTheme.cpp',
379 'src/x11/WebScreenInfoFactory.cpp',
380 'src/mac/WebInputEventFactory.mm',
381 'src/mac/WebScreenInfoFactory.mm',
382 'src/LocalFileSystemChromium.cpp',
383 'src/LocalizedStrings.cpp',
384 'src/MediaPlayerPrivateChromium.cpp',
385 'src/NotificationPresenterImpl.h',
386 'src/NotificationPresenterImpl.cpp',
387 'src/PlatformMessagePortChannel.cpp',
388 'src/PlatformMessagePortChannel.h',
389 'src/ResourceHandle.cpp',
390 'src/SharedWorkerRepository.cpp',
391 'src/SocketStreamHandle.cpp',
392 'src/SpeechInputClientImpl.cpp',
393 'src/SpeechInputClientImpl.h',
394 'src/StorageAreaProxy.cpp',
395 'src/StorageAreaProxy.h',
396 'src/StorageEventDispatcherChromium.cpp',
397 'src/StorageEventDispatcherImpl.cpp',
398 'src/StorageEventDispatcherImpl.h',
399 'src/StorageNamespaceProxy.cpp',
400 'src/StorageNamespaceProxy.h',
401 'src/TemporaryGlue.h',
402 'src/VideoFrameChromiumImpl.cpp',
403 'src/VideoFrameChromiumImpl.h',
404 'src/WebAccessibilityCache.cpp',
405 'src/WebAccessibilityCacheImpl.cpp',
406 'src/WebAccessibilityCacheImpl.h',
407 'src/WebAccessibilityObject.cpp',
408 'src/WebAnimationControllerImpl.cpp',
409 'src/WebAnimationControllerImpl.h',
410 'src/WebAttribute.cpp',
411 'src/WebAudioBus.cpp',
412 'src/WebBindings.cpp',
413 'src/WebBlobData.cpp',
417 'src/WebCrossOriginPreflightResultCache.cpp',
418 'src/WebCString.cpp',
419 'src/WebCursorInfo.cpp',
420 'src/WebDOMEvent.cpp',
421 'src/WebDOMEventListener.cpp',
422 'src/WebDOMEventListenerPrivate.cpp',
423 'src/WebDOMEventListenerPrivate.h',
424 'src/WebDOMMouseEvent.cpp',
425 'src/WebDOMMutationEvent.cpp',
426 'src/WebDOMStringList.cpp',
428 'src/WebDatabase.cpp',
429 'src/WebDataSourceImpl.cpp',
430 'src/WebDataSourceImpl.h',
431 'src/WebDevToolsAgentImpl.cpp',
432 'src/WebDevToolsAgentImpl.h',
433 'src/WebDevToolsFrontendImpl.cpp',
434 'src/WebDevToolsFrontendImpl.h',
435 'src/WebDeviceOrientation.cpp',
436 'src/WebDeviceOrientationClientMock.cpp',
437 'src/WebDeviceOrientationController.cpp',
438 'src/WebDocument.cpp',
439 'src/WebDocumentType.cpp',
440 'src/WebDragData.cpp',
441 'src/WebElement.cpp',
442 'src/WebEntities.cpp',
444 'src/WebFileChooserCompletionImpl.cpp',
445 'src/WebFileChooserCompletionImpl.h',
446 'src/WebFileSystemCallbacksImpl.cpp',
447 'src/WebFileSystemCallbacksImpl.h',
448 'src/WebFontCache.cpp',
449 'src/WebFontDescription.cpp',
450 'src/WebFontImpl.cpp',
452 'src/WebFormControlElement.cpp',
453 'src/WebFormElement.cpp',
454 'src/WebFrameImpl.cpp',
455 'src/WebFrameImpl.h',
456 'src/WebGeolocationController.cpp',
457 'src/WebGeolocationClientMock.cpp',
458 'src/WebGeolocationError.cpp',
459 'src/WebGeolocationPermissionRequest.cpp',
460 'src/WebGeolocationPermissionRequestManager.cpp',
461 'src/WebGeolocationPosition.cpp',
462 'src/WebGlyphCache.cpp',
463 'src/WebHistoryItem.cpp',
464 'src/WebHTTPBody.cpp',
465 'src/WebHTTPLoadInfo.cpp',
466 'src/WebIDBCallbacksImpl.cpp',
467 'src/WebIDBCallbacksImpl.h',
468 'src/WebIDBCursorImpl.cpp',
469 'src/WebIDBCursorImpl.h',
470 'src/WebIDBDatabaseError.cpp',
471 'src/WebIDBDatabaseImpl.cpp',
472 'src/WebIDBDatabaseImpl.h',
473 'src/WebIDBFactoryImpl.cpp',
474 'src/WebIDBFactoryImpl.h',
475 'src/WebIDBIndexImpl.cpp',
476 'src/WebIDBIndexImpl.h',
478 'src/WebIDBKeyPath.cpp',
479 'src/WebIDBKeyRange.cpp',
480 'src/WebIDBObjectStoreImpl.cpp',
481 'src/WebIDBObjectStoreImpl.h',
482 'src/WebIDBTransactionImpl.cpp',
483 'src/WebIDBTransactionImpl.h',
484 'src/WebIDBTransactionCallbacksImpl.cpp',
485 'src/WebIDBTransactionCallbacksImpl.h',
486 'src/WebImageCG.cpp',
487 'src/WebImageDecoder.cpp',
488 'src/WebImageSkia.cpp',
489 'src/WebInputElement.cpp',
490 'src/WebInputEvent.cpp',
491 'src/WebInputEventConversion.cpp',
492 'src/WebInputEventConversion.h',
494 'src/WebLabelElement.cpp',
495 'src/WebMediaElement.cpp',
496 'src/WebMediaPlayerClientImpl.cpp',
497 'src/WebMediaPlayerClientImpl.h',
498 'src/WebNamedNodeMap.cpp',
500 'src/WebNodeCollection.cpp',
501 'src/WebNodeList.cpp',
502 'src/WebNotification.cpp',
503 'src/WebOptionElement.cpp',
504 'src/WebPageSerializer.cpp',
505 'src/WebPageSerializerImpl.cpp',
506 'src/WebPageSerializerImpl.h',
507 'src/WebPasswordFormData.cpp',
508 'src/WebPasswordFormUtils.cpp',
509 'src/WebPasswordFormUtils.h',
510 'src/WebPerformance.cpp',
511 'src/WebPluginContainerImpl.h',
512 'src/WebPluginContainerImpl.cpp',
513 'src/WebPluginDocument.cpp',
514 'src/WebPluginListBuilderImpl.cpp',
515 'src/WebPluginListBuilderImpl.h',
516 'src/WebPluginLoadObserver.cpp',
517 'src/WebPluginLoadObserver.h',
518 'src/WebPopupMenuImpl.cpp',
519 'src/WebPopupMenuImpl.h',
521 'src/WebRegularExpression.cpp',
522 'src/WebRuntimeFeatures.cpp',
523 'src/WebScriptController.cpp',
524 'src/WebScrollbarImpl.cpp',
525 'src/WebScrollbarImpl.h',
526 'src/WebSearchableFormData.cpp',
527 'src/WebSecurityOrigin.cpp',
528 'src/WebSecurityPolicy.cpp',
529 'src/WebSelectElement.cpp',
530 'src/WebSerializedScriptValue.cpp',
531 'src/WebSettingsImpl.cpp',
532 'src/WebSettingsImpl.h',
533 'src/WebSharedWorkerImpl.cpp',
534 'src/WebSharedWorkerImpl.h',
535 'src/WebSpeechInputControllerMockImpl.cpp',
536 'src/WebSpeechInputControllerMockImpl.h',
537 'src/WebSpeechInputResult.cpp',
538 'src/WebStorageAreaImpl.cpp',
539 'src/WebStorageAreaImpl.h',
540 'src/WebStorageEventDispatcherImpl.cpp',
541 'src/WebStorageEventDispatcherImpl.h',
542 'src/WebStorageNamespaceImpl.cpp',
543 'src/WebStorageNamespaceImpl.h',
545 'src/WebTextRun.cpp',
546 'src/WebThreadSafeData.cpp',
548 'src/WebURLLoadTiming.cpp',
549 'src/WebURLRequest.cpp',
550 'src/WebURLRequestPrivate.h',
551 'src/WebURLResponse.cpp',
552 'src/WebURLResponsePrivate.h',
553 'src/WebURLError.cpp',
554 'src/WebViewImpl.cpp',
556 'src/WebWorkerBase.cpp',
557 'src/WebWorkerBase.h',
558 'src/WebWorkerClientImpl.cpp',
559 'src/WebWorkerClientImpl.h',
560 'src/WebWorkerImpl.cpp',
561 'src/WebWorkerImpl.h',
562 'src/WorkerAsyncFileSystemChromium.cpp',
563 'src/WorkerAsyncFileSystemChromium.h',
564 'src/WorkerAsyncFileWriterChromium.cpp',
565 'src/WorkerAsyncFileWriterChromium.h',
566 'src/WorkerFileSystemCallbacksBridge.cpp',
567 'src/WorkerFileSystemCallbacksBridge.h',
568 'src/WorkerFileWriterCallbacksBridge.cpp',
569 'src/WorkerFileWriterCallbacksBridge.h',
570 'src/WrappedResourceRequest.h',
571 'src/WrappedResourceResponse.h',
572 'src/win/WebInputEventFactory.cpp',
573 'src/win/WebScreenInfoFactory.cpp',
576 ['inside_chromium_build==1 and OS=="win"', {
577 'type': '<(component)',
580 ['component=="shared_library"', {
585 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings',
586 '<(chromium_src_dir)/base/base.gyp:test_support_base',
587 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
588 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
589 '<(chromium_src_dir)/third_party/icu/icu.gyp:*',
590 '<(chromium_src_dir)/third_party/libjpeg/libjpeg.gyp:libjpeg',
591 '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng',
592 '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml',
593 '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt',
594 '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64',
595 '<(chromium_src_dir)/third_party/nss/nss.gyp:*',
596 '<(chromium_src_dir)/third_party/ots/ots.gyp:ots',
597 '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
598 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
600 'direct_dependent_settings': {
605 'export_dependent_settings': [
606 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
607 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
610 '<@(webkit_unittest_files)',
611 'tests/PopupMenuTest.cpp',
612 'tests/TransparencyWinTest.cpp',
613 'tests/UniscribeHelperTest.cpp',
614 'tests/WebUnitTests.cpp'
619 'type': '<(webkit_target_type)'
621 ['OS=="linux" or OS=="freebsd"', {
623 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
624 '<(chromium_src_dir)/build/linux/system.gyp:gtk',
625 '<(chromium_src_dir)/build/linux/system.gyp:x11',
632 }, { # else: OS!="linux" and OS!="freebsd"
634 ['exclude', '/gtk/'],
635 ['exclude', '/x11/'],
636 ['exclude', '/linux/'],
644 ['exclude', 'Skia\\.cpp$'],
646 }, { # else: OS!="mac"
648 ['exclude', '/mac/'],
649 ['exclude', 'CG\\.cpp$'],
656 }, { # else: OS!="win"
657 'sources/': [['exclude', '/win/']],
659 # FIXME: Turn on warnings on Windows.
663 ['"ENABLE_3D_CANVAS=1" in feature_defines', {
668 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
678 'target_name': 'inspector_resources',
682 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources',
685 ['debug_devtools==0', {
686 'dependencies': ['concatenated_devtools_js',
687 'concatenated_devtools_css'],
692 'destination': '<(PRODUCT_DIR)/resources/inspector',
694 '<@(devtools_files)',
695 '<@(webinspector_files)',
696 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js',
699 ['debug_devtools==0', {
700 'files/': [['exclude', '\\.(js|css|html)$']],
705 'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
707 '<@(webinspector_image_files)',
708 '<@(devtools_image_files)',
714 'target_name': 'devtools_html',
716 'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
718 'action_name': 'devtools_html',
720 'scripts/generate_devtools_html.py',
721 # See issue 29695: WebKit.gypi is a source file for devtools.html.
723 '../../../Source/WebCore/inspector/front-end/inspector.html',
725 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
726 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(debug_devtools)', '<@(devtools_files)'],
730 'target_name': 'concatenated_devtools_js',
734 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources'
736 'sources': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
738 'action_name': 'concatenate_devtools_js',
739 'script_name': 'scripts/concatenate_js_files.py',
740 'input_page': '../../../Source/WebCore/inspector/front-end/inspector.html',
744 '<@(webinspector_files)',
745 '<@(devtools_files)',
746 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js'
749 '../../../Source/WebCore/inspector/front-end',
751 '<(SHARED_INTERMEDIATE_DIR)/webcore',
753 'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
754 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
758 'target_name': 'concatenated_devtools_css',
763 'sources': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
765 'action_name': 'concatenate_devtools_css',
766 'script_name': 'scripts/concatenate_css_files.py',
767 'input_page': '../../../Source/WebCore/inspector/front-end/inspector.html',
771 '<@(webinspector_files)',
775 '../../../Source/WebCore/inspector/front-end',
778 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
779 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
783 'target_name': 'webkit_unit_tests',
784 'type': 'executable',
785 'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD',
788 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:webcore',
789 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
790 '<(chromium_src_dir)/base/base.gyp:base',
791 '<(chromium_src_dir)/base/base.gyp:base_i18n',
792 '<(chromium_src_dir)/base/base.gyp:test_support_base',
793 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
796 'tests/RunAllTests.cpp',
803 ['inside_chromium_build==1 and OS=="win" and component=="shared_library"', {
805 'WEBKIT_DLL_UNITTEST',
809 '<@(webkit_unittest_files)',
814 # FIXME: Port PopupMenuTest and WebFrameTest to Linux and Mac.
815 'tests/PopupMenuTest.cpp',
816 'tests/TransparencyWinTest.cpp',
817 'tests/UniscribeHelperTest.cpp',
818 'tests/WebFrameTest.cpp',
823 # FIXME: Port DragImageTest to Mac.
824 'tests/DragImageTest.cpp',
827 ['OS=="linux" or OS=="freebsd"', {
829 'tests/WebInputEventFactoryTestGtk.cpp',
835 # FIXME: Enable warnings on other platforms.
841 ['inside_chromium_build==1 and OS=="win" and component!="shared_library"', {
846 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
855 'target_name': 'ImageDiff',
856 'type': 'executable',
859 '../../../Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
860 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
863 '../../../Source/JavaScriptCore',
867 '../../../Tools/DumpRenderTree/chromium/ImageDiff.cpp',
871 'target_name': 'DumpRenderTree',
872 'type': 'executable',
876 'inspector_resources',
877 'TestNetscapePlugIn',
878 'copy_TestNetscapePlugIn',
880 '../../../Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config',
881 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
882 '<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa',
883 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:blob',
884 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
887 '<(chromium_src_dir)',
889 '../../../Source/JavaScriptCore',
890 '../../../Source/JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/.
894 # Technically not a unit test but require functions available only to
905 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libEGL',
906 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libGLESv2',
909 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/webkit'],
911 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
912 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
913 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
914 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
917 ['inside_chromium_build==1 and component=="shared_library"', {
919 'src/ChromiumCurrentTime.cpp',
920 'src/ChromiumThreading.cpp',
926 '../../../Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
929 ['inside_chromium_build==1', {
934 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
942 'destination': '<(PRODUCT_DIR)',
943 'files': ['<(ahem_path)'],
947 ['exclude', 'Win\\.cpp$'],
951 'action_name': 'repack_locale',
953 'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py',
955 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
956 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
957 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
958 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
965 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
967 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
968 'process_outputs_as_mac_bundle_resources': 1,
977 'mac_bundle_resources': [
979 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher100.ttf',
980 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher200.ttf',
981 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher300.ttf',
982 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher400.ttf',
983 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher500.ttf',
984 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher600.ttf',
985 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher700.ttf',
986 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher800.ttf',
987 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher900.ttf',
988 '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
992 # .mm is already excluded by common.gypi
993 ['exclude', 'Mac\\.cpp$'],
996 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
998 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
999 '<(chromium_src_dir)/build/linux/system.gyp:gtk',
1005 'destination': '<(PRODUCT_DIR)',
1008 '../../../Tools/DumpRenderTree/chromium/fonts.conf',
1009 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
1013 # FIXME: Enable warnings on other platforms.
1016 },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"
1018 ['exclude', '(Gtk|Linux)\\.cpp$']
1021 ['inside_chromium_build==0', {
1023 '<(chromium_src_dir)/webkit/support/setup_third_party.gyp:third_party_headers',
1029 'target_name': 'TestNetscapePlugIn',
1030 'type': 'loadable_module',
1031 'sources': [ '<@(test_plugin_files)' ],
1033 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
1036 '<(chromium_src_dir)',
1037 '../../../Tools/DumpRenderTree/TestNetscapePlugIn',
1038 '../../../Tools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders',
1043 'product_name': 'TestNetscapePlugIn',
1044 'product_extension': 'plugin',
1047 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1048 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
1049 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
1053 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
1054 'INFOPLIST_FILE': '../../../Tools/DumpRenderTree/TestNetscapePlugIn/mac/Info.plist',
1057 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
1059 '-fvisibility=default',
1064 # This seems like a hack, but this is what Safari Win does.
1065 'snprintf=_snprintf',
1068 '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def',
1069 '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc',
1071 # The .rc file requires that the name of the dll is npTestNetscapePlugin.dll.
1072 # This adds the 'np' to the dll name.
1073 'product_prefix': 'np',
1078 'target_name': 'copy_TestNetscapePlugIn',
1081 'TestNetscapePlugIn',
1086 'destination': '<(PRODUCT_DIR)/plugins',
1087 'files': ['<(PRODUCT_DIR)/npTestNetscapePlugIn.dll'],
1091 'dependencies': ['TestNetscapePlugIn'],
1093 'destination': '<(PRODUCT_DIR)/plugins/',
1094 'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'],
1097 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
1099 'destination': '<(PRODUCT_DIR)/plugins',
1100 'files': ['<(PRODUCT_DIR)/libTestNetscapePlugIn.so'],
1109 'target_name': 'LayoutTestHelper',
1110 'type': 'executable',
1111 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'],
1117 'target_name': 'LayoutTestHelper',
1118 'type': 'executable',
1119 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelper.mm'],
1122 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
1127 'target_name': 'copy_mesa',
1129 'dependencies': ['<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa'],
1131 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/MacOS/',
1132 'files': ['<(PRODUCT_DIR)/osmesa.so'],
1142 # indent-tabs-mode:nil
1144 # vim: set expandtab tabstop=2 shiftwidth=2: