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 '../../WebCore/WebCore.gypi',
34 '../../WebKitTools/DumpRenderTree/DumpRenderTree.gypi',
39 'webkit_target_type': 'static_library',
41 # Location of the chromium src directory and target type is different
42 # if webkit is built inside chromium or as standalone project.
43 ['inside_chromium_build==0', {
44 # Webkit is being built outside of the full chromium project.
45 # e.g. via build-webkit --chromium
46 'chromium_src_dir': '../../WebKit/chromium',
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 '../../WebKit/chromium/v8/tools/codemap.js',
53 '../../WebKit/chromium/v8/tools/consarray.js',
54 '../../WebKit/chromium/v8/tools/csvparser.js',
55 '../../WebKit/chromium/v8/tools/logreader.js',
56 '../../WebKit/chromium/v8/tools/profile.js',
57 '../../WebKit/chromium/v8/tools/profile_view.js',
58 '../../WebKit/chromium/v8/tools/splaytree.js',
59 '<@(devtools_js_files)',
62 # WebKit is checked out in src/chromium/third_party/WebKit
63 'chromium_src_dir': '../../../..',
66 '<@(devtools_css_files)',
67 '../../../../v8/tools/codemap.js',
68 '../../../../v8/tools/consarray.js',
69 '../../../../v8/tools/csvparser.js',
70 '../../../../v8/tools/logreader.js',
71 '../../../../v8/tools/profile.js',
72 '../../../../v8/tools/profile_view.js',
73 '../../../../v8/tools/splaytree.js',
74 '<@(devtools_js_files)',
78 'ahem_path': '../../WebKitTools/DumpRenderTree/qt/fonts/AHEM____.TTF',
80 # If debug_devtools is set to 1, JavaScript files for DevTools are
81 # stored as is. Otherwise, a concatenated file is stored.
86 'target_name': 'webkit',
87 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
89 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
90 '<(chromium_src_dir)/app/app.gyp:app_base', # For GLContext
91 '<(chromium_src_dir)/skia/skia.gyp:skia',
92 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
94 'export_dependent_settings': [
95 '<(chromium_src_dir)/skia/skia.gyp:skia',
96 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
103 'WEBKIT_IMPLEMENTATION=1',
106 'public/gtk/WebInputEventFactory.h',
107 'public/linux/WebFontRendering.h',
108 'public/linux/WebFontRenderStyle.h',
109 'public/linux/WebRenderTheme.h',
110 'public/x11/WebScreenInfoFactory.h',
111 'public/mac/WebInputEventFactory.h',
112 'public/mac/WebSandboxSupport.h',
113 'public/mac/WebScreenInfoFactory.h',
114 'public/WebAccessibilityCache.h',
115 'public/WebAccessibilityObject.h',
116 'public/WebAccessibilityRole.h',
117 'public/WebAnimationController.h',
118 'public/WebApplicationCacheHost.h',
119 'public/WebApplicationCacheHostClient.h',
120 'public/WebAttribute.h',
121 'public/WebBindings.h',
122 'public/WebBlobData.h',
123 'public/WebBlobRegistry.h',
124 'public/WebBlobStorageData.h',
126 'public/WebCanvas.h',
127 'public/WebClipboard.h',
129 'public/WebColorName.h',
130 'public/WebCommon.h',
131 'public/WebCommonWorkerClient.h',
132 'public/WebCompositionUnderline.h',
133 'public/WebConsoleMessage.h',
134 'public/WebContextMenuData.h',
135 'public/WebCookie.h',
136 'public/WebCookieJar.h',
137 'public/WebCrossOriginPreflightResultCache.h',
138 'public/WebCString.h',
139 'public/WebCursorInfo.h',
140 'public/WebDOMEvent.h',
141 'public/WebDOMEventListener.h',
142 'public/WebDOMMouseEvent.h',
143 'public/WebDOMMutationEvent.h',
144 'public/WebDOMStringList.h',
146 'public/WebDatabase.h',
147 'public/WebDatabaseObserver.h',
148 'public/WebDataSource.h',
149 'public/WebDevToolsAgent.h',
150 'public/WebDevToolsAgentClient.h',
151 'public/WebDevToolsFrontend.h',
152 'public/WebDevToolsFrontendClient.h',
153 'public/WebDeviceOrientation.h',
154 'public/WebDeviceOrientationClient.h',
155 'public/WebDeviceOrientationClientMock.h',
156 'public/WebDeviceOrientationController.h',
157 'public/WebDocument.h',
158 'public/WebDocumentType.h',
159 'public/WebDragData.h',
160 'public/WebEditingAction.h',
161 'public/WebElement.h',
162 'public/WebFileChooserCompletion.h',
163 'public/WebFileChooserParams.h',
164 'public/WebFileError.h',
165 'public/WebFileInfo.h',
166 'public/WebFileSystem.h',
167 'public/WebFileSystemCallbacks.h',
168 'public/WebFileSystemEntry.h',
169 'public/WebFileUtilities.h',
170 'public/WebFindOptions.h',
171 'public/WebFloatPoint.h',
172 'public/WebFloatRect.h',
174 'public/WebFontDescription.h',
176 'public/WebFrameClient.h',
177 'public/WebFontCache.h',
178 'public/WebFormControlElement.h',
179 'public/WebFormElement.h',
180 'public/WebGeolocationService.h',
181 'public/WebGeolocationServiceBridge.h',
182 'public/WebGeolocationServiceMock.h',
183 'public/WebGlyphCache.h',
184 'public/WebGLES2Context.h',
185 'public/WebGraphicsContext3D.h',
186 'public/WebHistoryItem.h',
187 'public/WebHTTPBody.h',
189 'public/WebImageDecoder.h',
190 'public/WebIDBCallbacks.h',
191 'public/WebIDBCursor.h',
192 'public/WebIDBDatabase.h',
193 'public/WebIDBDatabaseError.h',
194 'public/WebIDBFactory.h',
195 'public/WebIDBKeyRange.h',
196 'public/WebIDBIndex.h',
197 'public/WebIDBKey.h',
198 'public/WebIDBKeyPath.h',
199 'public/WebIDBObjectStore.h',
200 'public/WebIDBTransaction.h',
201 'public/WebIDBTransactionCallbacks.h',
202 'public/WebInputElement.h',
203 'public/WebInputEvent.h',
205 'public/WebKitClient.h',
206 'public/WebLabelElement.h',
207 'public/WebLocalizedString.h',
208 'public/WebMediaElement.h',
209 'public/WebMediaPlayer.h',
210 'public/WebMediaPlayerAction.h',
211 'public/WebMediaPlayerClient.h',
212 'public/WebMenuItemInfo.h',
213 'public/WebMessagePortChannel.h',
214 'public/WebMessagePortChannelClient.h',
215 'public/WebMimeRegistry.h',
216 'public/WebNamedNodeMap.h',
217 'public/WebNavigationType.h',
219 'public/WebNodeCollection.h',
220 'public/WebNodeList.h',
221 'public/WebNonCopyable.h',
222 'public/WebNotification.h',
223 'public/WebNotificationPresenter.h',
224 'public/WebNotificationPermissionCallback.h',
225 'public/WebOptionElement.h',
226 'public/WebPageSerializer.h',
227 'public/WebPageSerializerClient.h',
228 'public/WebPasswordAutocompleteListener.h',
229 'public/WebPasswordFormData.h',
230 'public/WebPlugin.h',
231 'public/WebPluginContainer.h',
232 'public/WebPluginDocument.h',
233 'public/WebPluginListBuilder.h',
235 'public/WebPopupMenu.h',
236 'public/WebPopupMenuInfo.h',
237 'public/WebPopupType.h',
238 'public/WebPrivatePtr.h',
239 'public/WebPrivateOwnPtr.h',
242 'public/WebRegularExpression.h',
243 'public/WebRuntimeFeatures.h',
244 'public/WebScrollbar.h',
245 'public/WebScrollbarClient.h',
246 'public/WebScreenInfo.h',
247 'public/WebScriptController.h',
248 'public/WebScriptSource.h',
249 'public/WebSearchableFormData.h',
250 'public/WebSecurityOrigin.h',
251 'public/WebSecurityPolicy.h',
252 'public/WebSelectElement.h',
253 'public/WebSerializedScriptValue.h',
254 'public/WebSettings.h',
255 'public/WebSharedWorker.h',
256 'public/WebSharedWorkerRepository.h',
258 'public/WebSocketStreamError.h',
259 'public/WebSocketStreamHandle.h',
260 'public/WebSocketStreamHandleClient.h',
261 'public/WebSpeechInputController.h',
262 'public/WebSpeechInputControllerMock.h',
263 'public/WebSpeechInputListener.h',
264 'public/WebStorageArea.h',
265 'public/WebStorageEventDispatcher.h',
266 'public/WebStorageNamespace.h',
267 'public/WebString.h',
268 'public/WebTextAffinity.h',
269 'public/WebTextCaseSensitivity.h',
270 'public/WebTextDirection.h',
271 'public/WebTextInputType.h',
272 'public/WebTextRun.h',
273 'public/WebThemeEngine.h',
275 'public/WebURLError.h',
276 'public/WebURLLoader.h',
277 'public/WebURLLoadTiming.h',
278 'public/WebURLLoaderClient.h',
279 'public/WebURLRequest.h',
280 'public/WebURLResponse.h',
281 'public/WebVector.h',
283 'public/WebViewClient.h',
284 'public/WebWidget.h',
285 'public/WebWidgetClient.h',
286 'public/WebWorker.h',
287 'public/WebWorkerClient.h',
288 'public/win/WebInputEventFactory.h',
289 'public/win/WebSandboxSupport.h',
290 'public/win/WebScreenInfoFactory.h',
291 'public/win/WebScreenInfoFactory.h',
292 'src/ApplicationCacheHost.cpp',
293 'src/ApplicationCacheHostInternal.h',
294 'src/AssertMatchingEnums.cpp',
295 'src/AutoFillPopupMenuClient.cpp',
296 'src/AutoFillPopupMenuClient.h',
297 'src/BackForwardListClientImpl.cpp',
298 'src/BackForwardListClientImpl.h',
299 'src/BlobRegistryProxy.cpp',
300 'src/BlobRegistryProxy.h',
301 'src/BoundObject.cpp',
303 'src/ChromeClientImpl.cpp',
304 'src/ChromeClientImpl.h',
305 'src/ChromiumBridge.cpp',
306 'src/ChromiumCurrentTime.cpp',
307 'src/ChromiumThreading.cpp',
308 'src/CompositionUnderlineBuilder.h',
309 'src/CompositionUnderlineVectorBuilder.cpp',
310 'src/CompositionUnderlineVectorBuilder.h',
311 'src/ContextMenuClientImpl.cpp',
312 'src/ContextMenuClientImpl.h',
313 'src/DatabaseObserver.cpp',
314 'src/DebuggerAgentImpl.cpp',
315 'src/DebuggerAgentImpl.h',
316 'src/DebuggerAgentManager.cpp',
317 'src/DebuggerAgentManager.h',
318 'src/DeviceOrientationClientProxy.cpp',
319 'src/DeviceOrientationClientProxy.h',
320 'src/DOMUtilitiesPrivate.cpp',
321 'src/DOMUtilitiesPrivate.h',
322 'src/DragClientImpl.cpp',
323 'src/DragClientImpl.h',
324 'src/DragScrollTimer.cpp',
325 'src/DragScrollTimer.h',
326 'src/EditorClientImpl.cpp',
327 'src/EditorClientImpl.h',
328 'src/EventListenerWrapper.cpp',
329 'src/EventListenerWrapper.h',
330 'src/FrameLoaderClientImpl.cpp',
331 'src/FrameLoaderClientImpl.h',
332 'src/FrameNetworkingContextImpl.h',
333 'src/GLES2Context.cpp',
334 'src/GLES2ContextInternal.cpp',
335 'src/GLES2ContextInternal.h',
336 'src/GraphicsContext3D.cpp',
337 'src/gtk/WebFontInfo.cpp',
338 'src/gtk/WebFontInfo.h',
339 'src/gtk/WebInputEventFactory.cpp',
340 'src/IDBCallbacksProxy.cpp',
341 'src/IDBCallbacksProxy.h',
342 'src/IDBCursorBackendProxy.cpp',
343 'src/IDBCursorBackendProxy.h',
344 'src/IDBDatabaseProxy.cpp',
345 'src/IDBDatabaseProxy.h',
346 'src/IDBFactoryBackendProxy.cpp',
347 'src/IDBFactoryBackendProxy.h',
348 'src/IDBIndexBackendProxy.cpp',
349 'src/IDBIndexBackendProxy.h',
350 'src/IDBObjectStoreProxy.cpp',
351 'src/IDBObjectStoreProxy.h',
352 'src/IDBTransactionBackendProxy.cpp',
353 'src/IDBTransactionBackendProxy.h',
354 'src/IDBTransactionCallbacksProxy.cpp',
355 'src/IDBTransactionCallbacksProxy.h',
356 'src/InspectorClientImpl.cpp',
357 'src/InspectorClientImpl.h',
358 'src/InspectorFrontendClientImpl.cpp',
359 'src/InspectorFrontendClientImpl.h',
360 'src/linux/WebFontRendering.cpp',
361 'src/linux/WebFontRenderStyle.cpp',
362 'src/linux/WebRenderTheme.cpp',
363 'src/x11/WebScreenInfoFactory.cpp',
364 'src/mac/WebInputEventFactory.mm',
365 'src/mac/WebScreenInfoFactory.mm',
366 'src/LocalizedStrings.cpp',
367 'src/MediaPlayerPrivateChromium.cpp',
368 'src/NotificationPresenterImpl.h',
369 'src/NotificationPresenterImpl.cpp',
370 'src/PlatformMessagePortChannel.cpp',
371 'src/PlatformMessagePortChannel.h',
372 'src/ResourceHandle.cpp',
373 'src/SharedWorkerRepository.cpp',
374 'src/SocketStreamHandle.cpp',
375 'src/SpeechInputClientImpl.cpp',
376 'src/SpeechInputClientImpl.h',
377 'src/StorageAreaProxy.cpp',
378 'src/StorageAreaProxy.h',
379 'src/StorageEventDispatcherChromium.cpp',
380 'src/StorageEventDispatcherImpl.cpp',
381 'src/StorageEventDispatcherImpl.h',
382 'src/StorageNamespaceProxy.cpp',
383 'src/StorageNamespaceProxy.h',
384 'src/TemporaryGlue.h',
385 'src/VideoFrameChromiumImpl.cpp',
386 'src/VideoFrameChromiumImpl.h',
387 'src/WebAccessibilityCache.cpp',
388 'src/WebAccessibilityCacheImpl.cpp',
389 'src/WebAccessibilityCacheImpl.h',
390 'src/WebAccessibilityObject.cpp',
391 'src/WebAnimationControllerImpl.cpp',
392 'src/WebAnimationControllerImpl.h',
393 'src/WebAttribute.cpp',
394 'src/WebBindings.cpp',
395 'src/WebBlobData.cpp',
396 'src/WebBlobStorageData.cpp',
400 'src/WebCrossOriginPreflightResultCache.cpp',
401 'src/WebCString.cpp',
402 'src/WebCursorInfo.cpp',
403 'src/WebDOMEvent.cpp',
404 'src/WebDOMEventListener.cpp',
405 'src/WebDOMEventListenerPrivate.cpp',
406 'src/WebDOMEventListenerPrivate.h',
407 'src/WebDOMMouseEvent.cpp',
408 'src/WebDOMMutationEvent.cpp',
409 'src/WebDOMStringList.cpp',
411 'src/WebDatabase.cpp',
412 'src/WebDataSourceImpl.cpp',
413 'src/WebDataSourceImpl.h',
414 'src/WebDevToolsAgentImpl.cpp',
415 'src/WebDevToolsAgentImpl.h',
416 'src/WebDevToolsFrontendImpl.cpp',
417 'src/WebDevToolsFrontendImpl.h',
418 'src/WebDeviceOrientation.cpp',
419 'src/WebDeviceOrientationClientMock.cpp',
420 'src/WebDeviceOrientationController.cpp',
421 'src/WebDocument.cpp',
422 'src/WebDocumentType.cpp',
423 'src/WebDragData.cpp',
424 'src/WebElement.cpp',
425 'src/WebEntities.cpp',
427 'src/WebFileChooserCompletionImpl.cpp',
428 'src/WebFileChooserCompletionImpl.h',
429 'src/WebFileSystemCallbacksImpl.cpp',
430 'src/WebFileSystemCallbacksImpl.h',
431 'src/WebFontCache.cpp',
432 'src/WebFontDescription.cpp',
433 'src/WebFontImpl.cpp',
435 'src/WebFormControlElement.cpp',
436 'src/WebFormElement.cpp',
437 'src/WebFrameImpl.cpp',
438 'src/WebFrameImpl.h',
439 'src/WebGeolocationServiceBridgeImpl.cpp',
440 'src/WebGeolocationServiceBridgeImpl.h',
441 'src/WebGeolocationServiceMock.cpp',
442 'src/WebGlyphCache.cpp',
443 'src/WebGraphicsContext3D.cpp',
444 'src/WebGraphicsContext3DDefaultImpl.cpp',
445 'src/WebGraphicsContext3DDefaultImpl.h',
446 'src/WebHistoryItem.cpp',
447 'src/WebHTTPBody.cpp',
448 'src/WebIDBCallbacksImpl.cpp',
449 'src/WebIDBCallbacksImpl.h',
450 'src/WebIDBCursorImpl.cpp',
451 'src/WebIDBCursorImpl.h',
452 'src/WebIDBDatabaseError.cpp',
453 'src/WebIDBDatabaseImpl.cpp',
454 'src/WebIDBDatabaseImpl.h',
455 'src/WebIDBFactoryImpl.cpp',
456 'src/WebIDBFactoryImpl.h',
457 'src/WebIDBIndexImpl.cpp',
458 'src/WebIDBIndexImpl.h',
460 'src/WebIDBKeyPath.cpp',
461 'src/WebIDBKeyRange.cpp',
462 'src/WebIDBObjectStoreImpl.cpp',
463 'src/WebIDBObjectStoreImpl.h',
464 'src/WebIDBTransactionImpl.cpp',
465 'src/WebIDBTransactionImpl.h',
466 'src/WebIDBTransactionCallbacksImpl.cpp',
467 'src/WebIDBTransactionCallbacksImpl.h',
468 'src/WebImageCG.cpp',
469 'src/WebImageDecoder.cpp',
470 'src/WebImageSkia.cpp',
471 'src/WebInputElement.cpp',
472 'src/WebInputEvent.cpp',
473 'src/WebInputEventConversion.cpp',
474 'src/WebInputEventConversion.h',
476 'src/WebLabelElement.cpp',
477 'src/WebMediaElement.cpp',
478 'src/WebMediaPlayerClientImpl.cpp',
479 'src/WebMediaPlayerClientImpl.h',
480 'src/WebNamedNodeMap.cpp',
482 'src/WebNodeCollection.cpp',
483 'src/WebNodeList.cpp',
484 'src/WebNotification.cpp',
485 'src/WebOptionElement.cpp',
486 'src/WebPageSerializer.cpp',
487 'src/WebPageSerializerImpl.cpp',
488 'src/WebPageSerializerImpl.h',
489 'src/WebPasswordFormData.cpp',
490 'src/WebPasswordFormUtils.cpp',
491 'src/WebPasswordFormUtils.h',
492 'src/WebPluginContainerImpl.h',
493 'src/WebPluginContainerImpl.cpp',
494 'src/WebPluginDocument.cpp',
495 'src/WebPluginListBuilderImpl.cpp',
496 'src/WebPluginListBuilderImpl.h',
497 'src/WebPluginLoadObserver.cpp',
498 'src/WebPluginLoadObserver.h',
499 'src/WebPopupMenuImpl.cpp',
500 'src/WebPopupMenuImpl.h',
502 'src/WebRegularExpression.cpp',
503 'src/WebRuntimeFeatures.cpp',
504 'src/WebScriptController.cpp',
505 'src/WebScrollbarImpl.cpp',
506 'src/WebScrollbarImpl.h',
507 'src/WebSearchableFormData.cpp',
508 'src/WebSecurityOrigin.cpp',
509 'src/WebSecurityPolicy.cpp',
510 'src/WebSelectElement.cpp',
511 'src/WebSerializedScriptValue.cpp',
512 'src/WebSettingsImpl.cpp',
513 'src/WebSettingsImpl.h',
514 'src/WebSharedWorkerImpl.cpp',
515 'src/WebSharedWorkerImpl.h',
516 'src/WebSpeechInputControllerMockImpl.cpp',
517 'src/WebSpeechInputControllerMockImpl.h',
518 'src/WebStorageAreaImpl.cpp',
519 'src/WebStorageAreaImpl.h',
520 'src/WebStorageEventDispatcherImpl.cpp',
521 'src/WebStorageEventDispatcherImpl.h',
522 'src/WebStorageNamespaceImpl.cpp',
523 'src/WebStorageNamespaceImpl.h',
525 'src/WebTextRun.cpp',
527 'src/WebURLLoadTiming.cpp',
528 'src/WebURLRequest.cpp',
529 'src/WebURLRequestPrivate.h',
530 'src/WebURLResponse.cpp',
531 'src/WebURLResponsePrivate.h',
532 'src/WebURLError.cpp',
533 'src/WebViewImpl.cpp',
535 'src/WebWorkerBase.cpp',
536 'src/WebWorkerBase.h',
537 'src/WebWorkerClientImpl.cpp',
538 'src/WebWorkerClientImpl.h',
539 'src/WebWorkerImpl.cpp',
540 'src/WebWorkerImpl.h',
541 'src/WrappedResourceRequest.h',
542 'src/WrappedResourceResponse.h',
543 'src/win/WebInputEventFactory.cpp',
544 'src/win/WebScreenInfoFactory.cpp',
547 ['inside_chromium_build==1 and OS=="win"', {
548 'type': '<(component)',
551 ['component=="shared_library"', {
556 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings',
557 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
558 '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib',
559 '<(chromium_src_dir)/third_party/icu/icu.gyp:*',
560 '<(chromium_src_dir)/third_party/libjpeg/libjpeg.gyp:libjpeg',
561 '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng',
562 '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml',
563 '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt',
564 '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64',
565 '<(chromium_src_dir)/third_party/nss/nss.gyp:*',
566 '<(chromium_src_dir)/third_party/ots/ots.gyp:ots',
567 '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
568 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
570 'direct_dependent_settings': {
575 'export_dependent_settings': [
576 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
577 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
582 'type': '<(webkit_target_type)'
584 ['OS=="linux" or OS=="freebsd"', {
586 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
587 '<(chromium_src_dir)/build/linux/system.gyp:gtk',
588 '<(chromium_src_dir)/build/linux/system.gyp:x11',
595 }, { # else: OS!="linux" and OS!="freebsd"
597 ['exclude', '/gtk/'],
598 ['exclude', '/x11/'],
599 ['exclude', '/linux/'],
607 ['exclude', 'Skia\\.cpp$'],
610 # FIXME: Turn on warnings on other platforms and for
614 }, { # else: OS!="mac"
616 ['exclude', '/mac/'],
617 ['exclude', 'CG\\.cpp$'],
624 }, { # else: OS!="win"
625 'sources/': [['exclude', '/win/']],
627 ['"ENABLE_3D_CANVAS=1" in feature_defines', {
632 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
642 'target_name': 'inspector_resources',
646 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources',
649 ['debug_devtools==0', {
650 'dependencies': ['concatenated_devtools_js'],
655 'destination': '<(PRODUCT_DIR)/resources/inspector',
657 '<@(devtools_files)',
658 '<@(webinspector_files)',
659 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js',
662 ['debug_devtools==0', {
663 'files/': [['exclude', '\\.js$']],
668 'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
670 '<@(webinspector_image_files)',
671 '<@(devtools_image_files)',
677 'target_name': 'devtools_html',
679 'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
681 'action_name': 'devtools_html',
683 '<(chromium_src_dir)/webkit/build/generate_devtools_html.py',
684 # See issue 29695: WebKit.gypi is a source file for devtools.html.
686 '../../WebCore/inspector/front-end/inspector.html',
688 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
689 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(devtools_files)'],
693 'target_name': 'concatenated_devtools_js',
697 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources'
699 'sources': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
701 'action_name': 'concatenate_devtools_js',
702 'script_name': '<(chromium_src_dir)/webkit/build/concatenate_js_files.py',
703 'input_page': '<(PRODUCT_DIR)/resources/inspector/devtools.html',
707 '<@(webinspector_files)',
708 '<@(devtools_files)',
709 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js',
712 '../../WebCore/inspector/front-end',
714 '<(SHARED_INTERMEDIATE_DIR)/webcore',
715 '<(chromium_src_dir)/v8/tools',
717 'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
718 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
723 'target_name': 'webkit_unit_tests',
725 # FIXME: make webkit unit tests working for multi dll build.
726 ['inside_chromium_build==1 and OS=="win" and component=="shared_library"', {
729 'type': 'executable',
730 'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD',
733 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
734 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
735 '<(chromium_src_dir)/base/base.gyp:base',
736 '<(chromium_src_dir)/base/base.gyp:base_i18n',
737 '<(chromium_src_dir)/base/base.gyp:test_support_base',
738 '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib',
739 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
746 'tests/DragImageTest.cpp',
747 'tests/IDBBindingUtilitiesTest.cpp',
748 'tests/IDBKeyPathTest.cpp',
749 'tests/KeyboardTest.cpp',
750 'tests/KURLTest.cpp',
751 'tests/RunAllTests.cpp',
752 'tests/TilingDataTest.cpp',
757 # FIXME: Port PopupMenuTest and WebFrameTest to Linux and Mac.
758 'tests/PopupMenuTest.cpp',
759 'tests/TransparencyWinTest.cpp',
760 'tests/UniscribeHelperTest.cpp',
761 'tests/WebFrameTest.cpp',
766 # FIXME: Port DragImageTest to Mac.
767 'tests/DragImageTest.cpp',
772 'tests/WebInputEventFactoryTestGtk.cpp',
783 'target_name': 'ImageDiff',
784 'type': 'executable',
787 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
788 '<(chromium_src_dir)/gfx/gfx.gyp:gfx',
791 '../../JavaScriptCore',
795 '../../WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp',
799 'target_name': 'DumpRenderTree',
800 'type': 'executable',
804 'inspector_resources',
806 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config',
807 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
808 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:copy_npapi_layout_test_plugin',
809 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
810 '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib'
814 '../../JavaScriptCore',
815 '../../JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/.
819 # Technically not a unit test but require functions available only to
828 'dependencies': ['LayoutTestHelper'],
830 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/webkit'],
832 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
833 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
834 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
835 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
838 ['inside_chromium_build==1 and component=="shared_library"', {
840 'src/ChromiumCurrentTime.cpp',
841 'src/ChromiumThreading.cpp',
847 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
852 'destination': '<(PRODUCT_DIR)',
853 'files': ['<(ahem_path)'],
857 ['exclude', 'Win\\.cpp$'],
861 'action_name': 'repack_locale',
863 'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py',
865 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
866 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
867 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
868 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
875 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
877 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
878 'process_outputs_as_mac_bundle_resources': 1,
883 'dependencies': ['LayoutTestHelper'],
885 'mac_bundle_resources': [
887 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher100.ttf',
888 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher200.ttf',
889 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher300.ttf',
890 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher400.ttf',
891 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher500.ttf',
892 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher600.ttf',
893 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher700.ttf',
894 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher800.ttf',
895 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher900.ttf',
896 '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
898 # Workaround for http://code.google.com/p/gyp/issues/detail?id=160
900 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/PlugIns/',
901 'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'],
905 # .mm is already excluded by common.gypi
906 ['exclude', 'Mac\\.cpp$'],
909 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
911 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
912 '<(chromium_src_dir)/build/linux/system.gyp:gtk',
918 'destination': '<(PRODUCT_DIR)',
921 '../../WebKitTools/DumpRenderTree/chromium/fonts.conf',
922 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
925 },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"
927 ['exclude', '(Gtk|Linux)\\.cpp$']
936 'target_name': 'LayoutTestHelper',
937 'type': 'executable',
938 'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'],
944 'target_name': 'LayoutTestHelper',
945 'type': 'executable',
946 'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelper.mm'],
949 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
960 # indent-tabs-mode:nil
962 # vim: set expandtab tabstop=2 shiftwidth=2: