2 # Copyright (C) 2009 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.
34 '../../WebKitTools/DumpRenderTree/DumpRenderTree.gypi',
37 'webkit_target_type': 'static_library',
39 # Location of the chromium src directory and target type is different
40 # if webkit is built inside chromium or as standalone project.
41 ['inside_chromium_build==0', {
42 # Webkit is being built outside of the full chromium project.
43 # e.g. via build-webkit --chromium
44 'chromium_src_dir': '../../WebKit/chromium',
46 # WebKit is checked out in src/chromium/third_party/WebKit
47 'chromium_src_dir': '../../../..',
50 'ahem_path': '../../WebKitTools/DumpRenderTree/qt/fonts/AHEM____.TTF',
54 'target_name': 'webkit',
55 'type': '<(webkit_target_type)',
56 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
58 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
59 '<(chromium_src_dir)/skia/skia.gyp:skia',
60 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
62 'export_dependent_settings': [
63 '<(chromium_src_dir)/skia/skia.gyp:skia',
64 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
71 'WEBKIT_IMPLEMENTATION',
74 'public/gtk/WebInputEventFactory.h',
75 'public/linux/WebFontRendering.h',
76 'public/linux/WebFontRenderStyle.h',
77 'public/linux/WebRenderTheme.h',
78 'public/x11/WebScreenInfoFactory.h',
79 'public/mac/WebInputEventFactory.h',
80 'public/mac/WebSandboxSupport.h',
81 'public/mac/WebScreenInfoFactory.h',
82 'public/WebAccessibilityCache.h',
83 'public/WebAccessibilityObject.h',
84 'public/WebAccessibilityRole.h',
85 'public/WebAnimationController.h',
86 'public/WebApplicationCacheHost.h',
87 'public/WebApplicationCacheHostClient.h',
88 'public/WebBindings.h',
91 'public/WebClipboard.h',
93 'public/WebColorName.h',
95 'public/WebCommonWorkerClient.h',
96 'public/WebCompositionCommand.h',
97 'public/WebCompositionUnderline.h',
98 'public/WebConsoleMessage.h',
99 'public/WebContextMenuData.h',
100 'public/WebCookie.h',
101 'public/WebCookieJar.h',
102 'public/WebCrossOriginPreflightResultCache.h',
103 'public/WebCString.h',
104 'public/WebCursorInfo.h',
105 'public/WebDOMStringList.h',
107 'public/WebDatabase.h',
108 'public/WebDatabaseObserver.h',
109 'public/WebDataSource.h',
110 'public/WebDevToolsAgent.h',
111 'public/WebDevToolsAgentClient.h',
112 'public/WebDevToolsFrontend.h',
113 'public/WebDevToolsFrontendClient.h',
114 'public/WebDevToolsMessageData.h',
115 'public/WebDevToolsMessageTransport.h',
116 'public/WebDocument.h',
117 'public/WebDragData.h',
118 'public/WebEditingAction.h',
119 'public/WebElement.h',
121 'public/WebEventListener.h',
122 'public/WebFileChooserCompletion.h',
123 'public/WebFileChooserParams.h',
124 'public/WebFileInfo.h',
125 'public/WebFileSystem.h',
126 'public/WebFindOptions.h',
128 'public/WebFrameClient.h',
129 'public/WebFontCache.h',
130 'public/WebFormControlElement.h',
131 'public/WebFormElement.h',
132 'public/WebGeolocationService.h',
133 'public/WebGeolocationServiceBridge.h',
134 'public/WebGeolocationServiceMock.h',
135 'public/WebGlyphCache.h',
136 'public/WebGLES2Context.h',
137 'public/WebGraphicsContext3D.h',
138 'public/WebHistoryItem.h',
139 'public/WebHTTPBody.h',
141 'public/WebImageDecoder.h',
142 'public/WebIDBCallbacks.h',
143 'public/WebIDBDatabase.h',
144 'public/WebIDBDatabaseError.h',
145 'public/WebIDBIndex.h',
146 'public/WebIDBObjectStore.h',
147 'public/WebIndexedDatabase.h',
148 'public/WebInputElement.h',
149 'public/WebInputEvent.h',
151 'public/WebKitClient.h',
152 'public/WebLabelElement.h',
153 'public/WebLocalizedString.h',
154 'public/WebMediaPlayer.h',
155 'public/WebMediaPlayerAction.h',
156 'public/WebMediaPlayerClient.h',
157 'public/WebMenuItemInfo.h',
158 'public/WebMessagePortChannel.h',
159 'public/WebMessagePortChannelClient.h',
160 'public/WebMimeRegistry.h',
161 'public/WebMutationEvent.h',
162 'public/WebNavigationType.h',
164 'public/WebNodeCollection.h',
165 'public/WebNodeList.h',
166 'public/WebNonCopyable.h',
167 'public/WebNotification.h',
168 'public/WebNotificationPresenter.h',
169 'public/WebNotificationPermissionCallback.h',
170 'public/WebPageSerializer.h',
171 'public/WebPageSerializerClient.h',
172 'public/WebPasswordAutocompleteListener.h',
173 'public/WebPasswordFormData.h',
174 'public/WebPlugin.h',
175 'public/WebPluginContainer.h',
176 'public/WebPluginDocument.h',
177 'public/WebPluginListBuilder.h',
179 'public/WebPopupMenu.h',
180 'public/WebPopupMenuInfo.h',
181 'public/WebPopupType.h',
182 'public/WebPrivatePtr.h',
185 'public/WebRegularExpression.h',
186 'public/WebRuntimeFeatures.h',
187 'public/WebScrollbar.h',
188 'public/WebScrollbarClient.h',
189 'public/WebScreenInfo.h',
190 'public/WebScriptController.h',
191 'public/WebScriptSource.h',
192 'public/WebSearchableFormData.h',
193 'public/WebSecurityOrigin.h',
194 'public/WebSecurityPolicy.h',
195 'public/WebSelectElement.h',
196 'public/WebSerializedScriptValue.h',
197 'public/WebSettings.h',
198 'public/WebSharedWorker.h',
199 'public/WebSharedWorkerRepository.h',
201 'public/WebSocketStreamError.h',
202 'public/WebSocketStreamHandle.h',
203 'public/WebSocketStreamHandleClient.h',
204 'public/WebStorageArea.h',
205 'public/WebStorageEventDispatcher.h',
206 'public/WebStorageNamespace.h',
207 'public/WebString.h',
208 'public/WebTextAffinity.h',
209 'public/WebTextCaseSensitivity.h',
210 'public/WebTextDirection.h',
211 'public/WebTextInputType.h',
212 'public/WebThemeEngine.h',
214 'public/WebURLError.h',
215 'public/WebURLLoader.h',
216 'public/WebURLLoaderClient.h',
217 'public/WebURLRequest.h',
218 'public/WebURLResponse.h',
219 'public/WebVector.h',
221 'public/WebViewClient.h',
222 'public/WebWidget.h',
223 'public/WebWidgetClient.h',
224 'public/WebWorker.h',
225 'public/WebWorkerClient.h',
226 'public/win/WebInputEventFactory.h',
227 'public/win/WebSandboxSupport.h',
228 'public/win/WebScreenInfoFactory.h',
229 'public/win/WebScreenInfoFactory.h',
230 'src/APUAgentDelegate.h',
231 'src/ApplicationCacheHost.cpp',
232 'src/ApplicationCacheHostInternal.h',
233 'src/AssertMatchingEnums.cpp',
234 'src/AutocompletePopupMenuClient.cpp',
235 'src/AutocompletePopupMenuClient.h',
236 'src/AutoFillPopupMenuClient.cpp',
237 'src/AutoFillPopupMenuClient.h',
238 'src/BackForwardListClientImpl.cpp',
239 'src/BackForwardListClientImpl.h',
240 'src/BoundObject.cpp',
242 'src/ChromeClientImpl.cpp',
243 'src/ChromeClientImpl.h',
244 'src/ChromiumBridge.cpp',
245 'src/ChromiumCurrentTime.cpp',
246 'src/ChromiumThreading.cpp',
247 'src/CompositionUnderlineBuilder.h',
248 'src/CompositionUnderlineVectorBuilder.cpp',
249 'src/CompositionUnderlineVectorBuilder.h',
250 'src/ContextMenuClientImpl.cpp',
251 'src/ContextMenuClientImpl.h',
252 'src/DatabaseObserver.cpp',
253 'src/DebuggerAgent.h',
254 'src/DebuggerAgentImpl.cpp',
255 'src/DebuggerAgentImpl.h',
256 'src/DebuggerAgentManager.cpp',
257 'src/DebuggerAgentManager.h',
259 'src/DevToolsRPCJS.h',
260 'src/DOMUtilitiesPrivate.cpp',
261 'src/DOMUtilitiesPrivate.h',
262 'src/DragClientImpl.cpp',
263 'src/DragClientImpl.h',
264 'src/DragScrollTimer.cpp',
265 'src/DragScrollTimer.h',
266 'src/EditorClientImpl.cpp',
267 'src/EditorClientImpl.h',
268 'src/EventListenerWrapper.cpp',
269 'src/EventListenerWrapper.h',
270 'src/FrameLoaderClientImpl.cpp',
271 'src/FrameLoaderClientImpl.h',
272 'src/GLES2Context.cpp',
273 'src/gtk/WebFontInfo.cpp',
274 'src/gtk/WebFontInfo.h',
275 'src/gtk/WebInputEventFactory.cpp',
276 'src/IDBCallbacksProxy.cpp',
277 'src/IDBCallbacksProxy.h',
278 'src/IDBDatabaseProxy.cpp',
279 'src/IDBDatabaseProxy.h',
280 'src/IDBIndexProxy.cpp',
281 'src/IDBIndexProxy.h',
282 'src/IDBObjectStoreProxy.cpp',
283 'src/IDBObjectStoreProxy.h',
284 'src/IndexedDatabaseProxy.cpp',
285 'src/IndexedDatabaseProxy.h',
286 'src/InspectorClientImpl.cpp',
287 'src/InspectorClientImpl.h',
288 'src/InspectorFrontendClientImpl.cpp',
289 'src/InspectorFrontendClientImpl.h',
290 'src/linux/WebFontRendering.cpp',
291 'src/linux/WebFontRenderStyle.cpp',
292 'src/linux/WebRenderTheme.cpp',
293 'src/x11/WebScreenInfoFactory.cpp',
294 'src/mac/WebInputEventFactory.mm',
295 'src/mac/WebScreenInfoFactory.mm',
296 'src/LocalizedStrings.cpp',
297 'src/MediaPlayerPrivateChromium.cpp',
298 'src/NotificationPresenterImpl.h',
299 'src/NotificationPresenterImpl.cpp',
300 'src/PlatformMessagePortChannel.cpp',
301 'src/PlatformMessagePortChannel.h',
302 'src/ProfilerAgent.h',
303 'src/ProfilerAgentImpl.cpp',
304 'src/ProfilerAgentImpl.h',
305 'src/ResourceHandle.cpp',
306 'src/SharedWorkerRepository.cpp',
307 'src/SocketStreamHandle.cpp',
308 'src/StorageAreaProxy.cpp',
309 'src/StorageAreaProxy.h',
310 'src/StorageEventDispatcherChromium.cpp',
311 'src/StorageEventDispatcherImpl.cpp',
312 'src/StorageEventDispatcherImpl.h',
313 'src/StorageNamespaceProxy.cpp',
314 'src/StorageNamespaceProxy.h',
315 'src/SuggestionsPopupMenuClient.cpp',
316 'src/SuggestionsPopupMenuClient.h',
317 'src/TemporaryGlue.h',
319 'src/WebAccessibilityCache.cpp',
320 'src/WebAccessibilityCacheImpl.cpp',
321 'src/WebAccessibilityCacheImpl.h',
322 'src/WebAccessibilityObject.cpp',
323 'src/WebAnimationControllerImpl.cpp',
324 'src/WebAnimationControllerImpl.h',
325 'src/WebBindings.cpp',
329 'src/WebCrossOriginPreflightResultCache.cpp',
330 'src/WebCString.cpp',
331 'src/WebCursorInfo.cpp',
332 'src/WebDOMStringList.cpp',
334 'src/WebDatabase.cpp',
335 'src/WebDataSourceImpl.cpp',
336 'src/WebDataSourceImpl.h',
337 'src/WebDevToolsAgentImpl.cpp',
338 'src/WebDevToolsAgentImpl.h',
339 'src/WebDevToolsFrontendImpl.cpp',
340 'src/WebDevToolsFrontendImpl.h',
341 'src/WebDocument.cpp',
342 'src/WebDragData.cpp',
343 'src/WebElement.cpp',
344 'src/WebEntities.cpp',
347 'src/WebEventListener.cpp',
348 'src/WebEventListenerPrivate.cpp',
349 'src/WebEventListenerPrivate.h',
350 'src/WebFileChooserCompletionImpl.cpp',
351 'src/WebFileChooserCompletionImpl.h',
352 'src/WebFontCache.cpp',
353 'src/WebFormControlElement.cpp',
354 'src/WebFormElement.cpp',
355 'src/WebFrameImpl.cpp',
356 'src/WebFrameImpl.h',
357 'src/WebGeolocationServiceBridgeImpl.cpp',
358 'src/WebGeolocationServiceBridgeImpl.h',
359 'src/WebGeolocationServiceMock.cpp',
360 'src/WebGlyphCache.cpp',
361 'src/WebGraphicsContext3D.cpp',
362 'src/WebGraphicsContext3DDefaultImpl.cpp',
363 'src/WebGraphicsContext3DDefaultImpl.h',
364 'src/WebHistoryItem.cpp',
365 'src/WebHTTPBody.cpp',
366 'src/WebIDBCallbacksImpl.cpp',
367 'src/WebIDBCallbacksImpl.h',
368 'src/WebIDBDatabaseError.cpp',
369 'src/WebIDBDatabaseImpl.cpp',
370 'src/WebIDBDatabaseImpl.h',
371 'src/WebIDBIndexImpl.cpp',
372 'src/WebIDBIndexImpl.h',
373 'src/WebIDBObjectStoreImpl.cpp',
374 'src/WebIDBObjectStoreImpl.h',
375 'src/WebImageCG.cpp',
376 'src/WebImageDecoder.cpp',
377 'src/WebImageSkia.cpp',
378 'src/WebIndexedDatabaseImpl.cpp',
379 'src/WebIndexedDatabaseImpl.h',
380 'src/WebInputElement.cpp',
381 'src/WebInputEvent.cpp',
382 'src/WebInputEventConversion.cpp',
383 'src/WebInputEventConversion.h',
385 'src/WebLabelElement.cpp',
386 'src/WebMediaPlayerClientImpl.cpp',
387 'src/WebMediaPlayerClientImpl.h',
388 'src/WebMutationEvent.cpp',
390 'src/WebNodeCollection.cpp',
391 'src/WebNodeList.cpp',
392 'src/WebNotification.cpp',
393 'src/WebPageSerializer.cpp',
394 'src/WebPageSerializerImpl.cpp',
395 'src/WebPageSerializerImpl.h',
396 'src/WebPasswordFormData.cpp',
397 'src/WebPasswordFormUtils.cpp',
398 'src/WebPasswordFormUtils.h',
399 'src/WebPluginContainerImpl.h',
400 'src/WebPluginContainerImpl.cpp',
401 'src/WebPluginDocument.cpp',
402 'src/WebPluginListBuilderImpl.cpp',
403 'src/WebPluginListBuilderImpl.h',
404 'src/WebPluginLoadObserver.cpp',
405 'src/WebPluginLoadObserver.h',
406 'src/WebPopupMenuImpl.cpp',
407 'src/WebPopupMenuImpl.h',
409 'src/WebRegularExpression.cpp',
410 'src/WebRuntimeFeatures.cpp',
411 'src/WebScriptController.cpp',
412 'src/WebScrollbarImpl.cpp',
413 'src/WebScrollbarImpl.h',
414 'src/WebSearchableFormData.cpp',
415 'src/WebSecurityOrigin.cpp',
416 'src/WebSecurityPolicy.cpp',
417 'src/WebSelectElement.cpp',
418 'src/WebSerializedScriptValue.cpp',
419 'src/WebSettingsImpl.cpp',
420 'src/WebSettingsImpl.h',
421 'src/WebSharedWorkerImpl.cpp',
422 'src/WebSharedWorkerImpl.h',
423 'src/WebStorageAreaImpl.cpp',
424 'src/WebStorageAreaImpl.h',
425 'src/WebStorageEventDispatcherImpl.cpp',
426 'src/WebStorageEventDispatcherImpl.h',
427 'src/WebStorageNamespaceImpl.cpp',
428 'src/WebStorageNamespaceImpl.h',
431 'src/WebURLRequest.cpp',
432 'src/WebURLRequestPrivate.h',
433 'src/WebURLResponse.cpp',
434 'src/WebURLResponsePrivate.h',
435 'src/WebURLError.cpp',
436 'src/WebViewImpl.cpp',
438 'src/WebWorkerBase.cpp',
439 'src/WebWorkerBase.h',
440 'src/WebWorkerClientImpl.cpp',
441 'src/WebWorkerClientImpl.h',
442 'src/WebWorkerImpl.cpp',
443 'src/WebWorkerImpl.h',
444 'src/WrappedResourceRequest.h',
445 'src/WrappedResourceResponse.h',
446 'src/win/WebInputEventFactory.cpp',
447 'src/win/WebScreenInfoFactory.cpp',
450 ['OS=="linux" or OS=="freebsd"', {
452 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
453 '<(chromium_src_dir)/build/linux/system.gyp:gtk',
454 '<(chromium_src_dir)/build/linux/system.gyp:x11',
461 }, { # else: OS!="linux" and OS!="freebsd"
463 ['exclude', '/gtk/'],
464 ['exclude', '/x11/'],
465 ['exclude', '/linux/'],
473 ['exclude', 'Skia\\.cpp$'],
476 # FIXME: Turn on warnings on other platforms and for
480 }, { # else: OS!="mac"
482 ['exclude', '/mac/'],
483 ['exclude', 'CG\\.cpp$'],
490 }, { # else: OS!="win"
491 'sources/': [['exclude', '/win/']],
493 ['"ENABLE_3D_CANVAS=1" in feature_defines', {
494 # Conditionally compile in GLEW and our GraphicsContext3D implementation.
496 'src/GraphicsContext3D.cpp',
497 '<(chromium_src_dir)/third_party/glew/src/glew.c'
500 '<(chromium_src_dir)/third_party/glew/include'
517 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
526 'target_name': 'webkit_unit_tests',
527 'type': 'executable',
528 'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD',
531 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
532 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
533 '<(chromium_src_dir)/base/base.gyp:base',
534 '<(chromium_src_dir)/base/base.gyp:base_i18n',
535 '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib',
542 'tests/DragImageTest.cpp',
543 'tests/KeyboardTest.cpp',
544 'tests/KURLTest.cpp',
545 'tests/RunAllTests.cpp',
550 # FIXME: Port PopupMenuTest to Linux and Mac.
551 'tests/PopupMenuTest.cpp',
552 'tests/TransparencyWinTest.cpp',
553 'tests/UniscribeHelperTest.cpp',
558 # FIXME: Port DragImageTest to Mac.
559 'tests/DragImageTest.cpp',
565 'target_name': 'ImageDiff',
566 'type': 'executable',
569 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
570 '<(chromium_src_dir)/gfx/gfx.gyp:gfx',
573 '../../JavaScriptCore',
577 '../../WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp',
581 'target_name': 'DumpRenderTree',
582 'type': 'executable',
586 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config',
587 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
588 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:npapi_layout_test_plugin',
589 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
590 '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib'
594 '../../JavaScriptCore',
595 '../../JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/.
599 # Technically not a unit test but require functions available only to
608 'dependencies': ['LayoutTestHelper'],
610 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/webkit'],
612 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
613 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
614 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
615 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
618 'destination': '<(PRODUCT_DIR)',
619 'files': ['<(ahem_path)'],
621 # This should really be done in the 'npapi_layout_test_plugin'
622 # target, but the current VS generator handles 'copies'
623 # settings as AdditionalDependencies, which means that
624 # when it's over there, it tries to do the copy *before*
625 # the file is built, instead of after. We work around this
626 # by attaching the copy here, since it depends on that
628 'destination': '<(PRODUCT_DIR)/plugins',
629 'files': ['<(PRODUCT_DIR)/npapi_layout_test_plugin.dll'],
633 ['exclude', 'Win\\.cpp$'],
637 'action_name': 'repack_locale',
639 'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py',
641 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
642 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
643 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
644 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
651 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
653 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
654 'process_outputs_as_mac_bundle_resources': 1,
659 'dependencies': ['LayoutTestHelper'],
661 'mac_bundle_resources': [
663 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher100.ttf',
664 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher200.ttf',
665 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher300.ttf',
666 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher400.ttf',
667 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher500.ttf',
668 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher600.ttf',
669 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher700.ttf',
670 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher800.ttf',
671 '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher900.ttf',
672 '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
675 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/PlugIns/',
676 'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'],
680 # .mm is already excluded by common.gypi
681 ['exclude', 'Mac\\.cpp$'],
684 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
686 'destination': '<(PRODUCT_DIR)',
689 '../../WebKitTools/DumpRenderTree/chromium/fonts.conf',
690 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
693 'destination': '<(PRODUCT_DIR)/plugins',
694 'files': ['<(PRODUCT_DIR)/libnpapi_layout_test_plugin.so'],
696 },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"
698 ['exclude', '(Gtk|Linux)\\.cpp$']
707 'target_name': 'LayoutTestHelper',
708 'type': 'executable',
709 'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'],
715 'target_name': 'LayoutTestHelper',
716 'type': 'executable',
717 'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelper.mm'],
720 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
731 # indent-tabs-mode:nil
733 # vim: set expandtab tabstop=2 shiftwidth=2: