2011-01-19 Adam Klein <adamk@chromium.org>
[WebKit-https.git] / Source / WebKit / chromium / WebKit.gyp
1 #
2 # Copyright (C) 2010 Google Inc. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
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
13 # distribution.
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.
17 #
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.
29 #
30
31 {
32     'includes': [
33         '../../../Source/WebCore/WebCore.gypi',
34         '../../../Tools/DumpRenderTree/DumpRenderTree.gypi',
35         'WebKit.gypi',
36         'features.gypi',
37     ],
38     'variables': {
39         'conditions': [
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',
47
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.
50                 'devtools_files': [
51                     '<@(devtools_css_files)',
52                     '<@(devtools_js_files)',
53                 ],
54             },{
55                 # WebKit is checked out in src/chromium/third_party/WebKit
56                 'chromium_src_dir': '../../../../..',
57                 'webkit_target_type': '<(library)',
58
59                 'devtools_files': [
60                     '<@(devtools_css_files)',
61                     '<@(devtools_js_files)',
62                 ],
63             }],
64         ],
65         'ahem_path': '../../../Tools/DumpRenderTree/qt/fonts/AHEM____.TTF',
66
67         # If debug_devtools is set to 1, JavaScript files for DevTools are
68         # stored as is. Otherwise, a concatenated file is stored.
69         'debug_devtools%': 0,
70     },
71     'targets': [
72         {
73             'target_name': 'webkit',
74             'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
75             'dependencies': [
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',
81             ],
82             'export_dependent_settings': [
83                 '<(chromium_src_dir)/skia/skia.gyp:skia',
84                 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
85             ],
86             'include_dirs': [
87                 'public',
88                 'src',
89                 '<(chromium_src_dir)/third_party/angle/include',
90             ],
91             'defines': [
92                 'WEBKIT_IMPLEMENTATION=1',
93             ],
94             'sources': [
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',
119                 'public/WebCache.h',
120                 'public/WebCanvas.h',
121                 'public/WebClipboard.h',
122                 'public/WebColor.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',
139                 'public/WebData.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',
172                 'public/WebFont.h',
173                 'public/WebFontDescription.h',
174                 'public/WebFrame.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',
191                 'public/WebImage.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',
207                 'public/WebKit.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',
221                 'public/WebNode.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',
238                 'public/WebPoint.h',
239                 'public/WebPopupMenu.h',
240                 'public/WebPopupMenuInfo.h',
241                 'public/WebPopupType.h',
242                 'public/WebPrivatePtr.h',
243                 'public/WebPrivateOwnPtr.h',
244                 'public/WebRange.h',
245                 'public/WebRect.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',
261                 'public/WebSize.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',
279                 'public/WebURL.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',
287                 'public/WebView.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',
315                 'src/BoundObject.h',
316                 'src/ChromeClientImpl.cpp',
317                 'src/ChromeClientImpl.h',
318                 'src/ChromiumCurrentTime.cpp',
319                 'src/ChromiumThreading.cpp',
320                 'src/CompositionUnderlineBuilder.h',
321                 'src/CompositionUnderlineVectorBuilder.cpp',
322                 'src/CompositionUnderlineVectorBuilder.h',
323                 'src/ContextMenuClientImpl.cpp',
324                 'src/ContextMenuClientImpl.h',
325                 'src/DatabaseObserver.cpp',
326                 'src/DebuggerAgentImpl.cpp',
327                 'src/DebuggerAgentImpl.h',
328                 'src/DebuggerAgentManager.cpp',
329                 'src/DebuggerAgentManager.h',
330                 'src/DeviceOrientationClientProxy.cpp',
331                 'src/DeviceOrientationClientProxy.h',
332                 'src/DOMUtilitiesPrivate.cpp',
333                 'src/DOMUtilitiesPrivate.h',
334                 'src/DragClientImpl.cpp',
335                 'src/DragClientImpl.h',
336                 'src/DragScrollTimer.cpp',
337                 'src/DragScrollTimer.h',
338                 'src/EditorClientImpl.cpp',
339                 'src/EditorClientImpl.h',
340                 'src/EventListenerWrapper.cpp',
341                 'src/EventListenerWrapper.h',
342                 'src/Extensions3DChromium.cpp',
343                 'src/ExternalPopupMenu.cpp',
344                 'src/ExternalPopupMenu.h',
345                 'src/FrameLoaderClientImpl.cpp',
346                 'src/FrameLoaderClientImpl.h',
347                 'src/FrameNetworkingContextImpl.h',
348                 'src/GeolocationClientProxy.cpp',
349                 'src/GeolocationClientProxy.h',
350                 'src/GraphicsContext3DChromium.cpp',
351                 'src/GraphicsContext3DInternal.h',
352                 'src/gtk/WebFontInfo.cpp',
353                 'src/gtk/WebFontInfo.h',
354                 'src/gtk/WebInputEventFactory.cpp',
355                 'src/IDBCallbacksProxy.cpp',
356                 'src/IDBCallbacksProxy.h',
357                 'src/IDBCursorBackendProxy.cpp',
358                 'src/IDBCursorBackendProxy.h',
359                 'src/IDBDatabaseProxy.cpp',
360                 'src/IDBDatabaseProxy.h',
361                 'src/IDBFactoryBackendProxy.cpp',
362                 'src/IDBFactoryBackendProxy.h',
363                 'src/IDBIndexBackendProxy.cpp',
364                 'src/IDBIndexBackendProxy.h',
365                 'src/IDBObjectStoreProxy.cpp',
366                 'src/IDBObjectStoreProxy.h',
367                 'src/IDBTransactionBackendProxy.cpp',
368                 'src/IDBTransactionBackendProxy.h',
369                 'src/IDBTransactionCallbacksProxy.cpp',
370                 'src/IDBTransactionCallbacksProxy.h',
371                 'src/InspectorClientImpl.cpp',
372                 'src/InspectorClientImpl.h',
373                 'src/InspectorFrontendClientImpl.cpp',
374                 'src/InspectorFrontendClientImpl.h',
375                 'src/linux/WebFontRendering.cpp',
376                 'src/linux/WebFontRenderStyle.cpp',
377                 'src/linux/WebRenderTheme.cpp',
378                 'src/x11/WebScreenInfoFactory.cpp',
379                 'src/mac/WebInputEventFactory.mm',
380                 'src/mac/WebScreenInfoFactory.mm',
381                 'src/LocalFileSystemChromium.cpp',
382                 'src/LocalizedStrings.cpp',
383                 'src/MediaPlayerPrivateChromium.cpp',
384                 'src/NotificationPresenterImpl.h',
385                 'src/NotificationPresenterImpl.cpp',
386                 'src/PlatformBridge.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',
414                 'src/WebCache.cpp',
415                 'src/WebColor.cpp',
416                 'src/WebCommon.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',
427                 'src/WebData.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',
443                 'src/WebEntities.h',
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',
451                 'src/WebFontImpl.h',
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',
477                 'src/WebIDBKey.cpp',
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',
493                 'src/WebKit.cpp',
494                 'src/WebLabelElement.cpp',
495                 'src/WebMediaElement.cpp',
496                 'src/WebMediaPlayerClientImpl.cpp',
497                 'src/WebMediaPlayerClientImpl.h',
498                 'src/WebNamedNodeMap.cpp',
499                 'src/WebNode.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',
520                 'src/WebRange.cpp',
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',
544                 'src/WebString.cpp',
545                 'src/WebTextRun.cpp',
546                 'src/WebThreadSafeData.cpp',
547                 'src/WebURL.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',
555                 'src/WebViewImpl.h',
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',
574             ],
575             'conditions': [
576                 ['inside_chromium_build==1 and OS=="win"', {
577                     'type': '<(component)',
578
579                     'conditions': [
580                         ['component=="shared_library"', {
581                             'defines': [
582                                 'WEBKIT_DLL',
583                             ],
584                             'dependencies': [
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',
599                             ],
600                             'direct_dependent_settings': {
601                                 'defines': [
602                                     'WEBKIT_DLL',
603                                 ],
604                             },
605                             'export_dependent_settings': [
606                                 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
607                                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
608                             ],
609                             'sources': [
610                                 '<@(webkit_unittest_files)',
611                                 'tests/PopupMenuTest.cpp',
612                                 'tests/TransparencyWinTest.cpp',
613                                 'tests/UniscribeHelperTest.cpp',
614                                 'tests/WebUnitTests.cpp'
615                             ]
616                         }],
617                     ],
618                 }, {
619                     'type': '<(webkit_target_type)'
620                 }],
621                 ['OS=="linux" or OS=="freebsd"', {
622                     'dependencies': [
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',
626                     ],
627                     'include_dirs': [
628                         'public/x11',
629                         'public/gtk',
630                         'public/linux',
631                     ],
632                 }, { # else: OS!="linux" and OS!="freebsd"
633                     'sources/': [
634                         ['exclude', '/gtk/'],
635                         ['exclude', '/x11/'],
636                         ['exclude', '/linux/'],
637                     ],
638                 }],
639                 ['OS=="mac"', {
640                     'include_dirs': [
641                         'public/mac',
642                     ],
643                     'sources/': [
644                         ['exclude', 'Skia\\.cpp$'],
645                     ],
646                 }, { # else: OS!="mac"
647                     'sources/': [
648                         ['exclude', '/mac/'],
649                         ['exclude', 'CG\\.cpp$'],
650                     ],
651                 }],
652                 ['OS=="win"', {
653                     'include_dirs': [
654                         'public/win',
655                     ],
656                 }, { # else: OS!="win"
657                     'sources/': [['exclude', '/win/']],
658                     'variables': {
659                         # FIXME: Turn on warnings on Windows.
660                         'chromium_code': 1,
661                     }
662                 }],
663                 ['"ENABLE_3D_CANVAS=1" in feature_defines', {
664                     'conditions': [
665                         ['OS=="mac"', {
666                             'link_settings': {
667                                 'libraries': [
668                                     '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
669                                 ],
670                             },
671                         }],
672                     ],
673                 }],
674             ],
675         },
676
677         {
678             'target_name': 'inspector_resources',
679             'type': 'none',
680             'dependencies': [
681                 'devtools_html',
682                 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources',
683             ],
684             'conditions': [
685                 ['debug_devtools==0', {
686                     'dependencies': ['concatenated_devtools_js',
687                                      'concatenated_devtools_css'],
688                 }],
689             ],
690             'copies': [
691                 {
692                     'destination': '<(PRODUCT_DIR)/resources/inspector',
693                     'files': [
694                         '<@(devtools_files)',
695                         '<@(webinspector_files)',
696                         '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js',
697                     ],
698                     'conditions': [
699                         ['debug_devtools==0', {
700                             'files/': [['exclude', '\\.(js|css|html)$']],
701                         }],
702                     ],
703                 },
704                 {
705                     'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
706                     'files': [
707                         '<@(webinspector_image_files)',
708                         '<@(devtools_image_files)',
709                     ],
710                },
711             ],
712         },
713         {
714             'target_name': 'devtools_html',
715             'type': 'none',
716             'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
717             'actions': [{
718                 'action_name': 'devtools_html',
719                 'inputs': [
720                     'scripts/generate_devtools_html.py',
721                     # See issue 29695: WebKit.gypi is a source file for devtools.html.
722                     'WebKit.gypi',
723                     '../../../Source/WebCore/inspector/front-end/inspector.html',
724                 ],
725                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
726                 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(debug_devtools)', '<@(devtools_files)'],
727             }],
728         },
729         {
730             'target_name': 'concatenated_devtools_js',
731             'type': 'none',
732             'dependencies': [
733                 'devtools_html',
734                 '../../../Source/WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources'
735             ],
736             'sources': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
737             'actions': [{
738                 'action_name': 'concatenate_devtools_js',
739                 'script_name': 'scripts/concatenate_js_files.py',
740                 'input_page': '../../../Source/WebCore/inspector/front-end/inspector.html',
741                 'inputs': [
742                     '<@(_script_name)',
743                     '<@(_input_page)',
744                     '<@(webinspector_files)',
745                     '<@(devtools_files)',
746                     '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js'
747                 ],
748                 'search_path': [
749                     '../../../Source/WebCore/inspector/front-end',
750                     'src/js',
751                     '<(SHARED_INTERMEDIATE_DIR)/webcore',
752                 ],
753                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
754                 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
755             }],
756         },
757         {
758             'target_name': 'concatenated_devtools_css',
759             'type': 'none',
760             'dependencies': [
761                 'devtools_html'
762             ],
763             'sources': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
764             'actions': [{
765                 'action_name': 'concatenate_devtools_css',
766                 'script_name': 'scripts/concatenate_css_files.py',
767                 'input_page': '../../../Source/WebCore/inspector/front-end/inspector.html',
768                 'inputs': [
769                     '<@(_script_name)',
770                     '<@(_input_page)',
771                     '<@(webinspector_files)',
772                     '<@(devtools_files)'
773                 ],
774                 'search_path': [
775                     '../../../Source/WebCore/inspector/front-end',
776                     'src/js',
777                 ],
778                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
779                 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
780             }],
781         },
782         {
783             'target_name': 'webkit_unit_tests',
784             'type': 'executable',
785             'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD',
786             'dependencies': [
787                 'webkit',
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',
794             ],
795             'sources': [
796                 'tests/RunAllTests.cpp',
797             ],
798             'include_dirs': [
799                 'public',
800                 'src',
801             ],
802             'conditions': [
803                 ['inside_chromium_build==1 and OS=="win" and component=="shared_library"', {
804                     'defines': [
805                         'WEBKIT_DLL_UNITTEST',
806                     ],
807                 }, {
808                     'sources': [
809                         '<@(webkit_unittest_files)',
810                     ],
811                     'conditions': [
812                         ['OS=="win"', {
813                             'sources': [
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',
819                             ],
820                         }],
821                         ['OS=="mac"', {
822                             'sources!': [
823                                 # FIXME: Port DragImageTest to Mac.
824                                 'tests/DragImageTest.cpp',
825                             ],
826                         }],
827                         ['OS=="linux" or OS=="freebsd"', {
828                             'sources': [
829                                 'tests/WebInputEventFactoryTestGtk.cpp',
830                             ],
831                             'include_dirs': [
832                                 'public/gtk',
833                             ],
834                             'variables': {
835                               # FIXME: Enable warnings on other platforms.
836                               'chromium_code': 1,
837                             },
838                         }],
839                     ],
840                 }],
841                 ['inside_chromium_build==1 and OS=="win" and component!="shared_library"', {
842                     'configurations': {
843                         'Debug_Base': {
844                             'msvs_settings': {
845                                 'VCLinkerTool': {
846                                     'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
847                                 },
848                             },
849                         },
850                     },
851                 }],
852             ],
853         },
854         {
855             'target_name': 'ImageDiff',
856             'type': 'executable',
857             'dependencies': [
858                 'webkit',
859                 '../../../Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
860                 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
861             ],
862             'include_dirs': [
863                 '../../../Source/JavaScriptCore',
864                 '<(DEPTH)',
865             ],
866             'sources': [
867                 '../../../Tools/DumpRenderTree/chromium/ImageDiff.cpp',
868             ],
869         },
870         {
871             'target_name': 'DumpRenderTree',
872             'type': 'executable',
873             'mac_bundle': 1,
874             'dependencies': [
875                 'ImageDiff',
876                 'inspector_resources',
877                 'TestNetscapePlugIn',
878                 'copy_TestNetscapePlugIn',
879                 'webkit',
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',
885             ],
886             'include_dirs': [
887                 '<(chromium_src_dir)',
888                 'public',
889                 '../../../Source/JavaScriptCore',
890                 '../../../Source/JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/.
891                 '<(DEPTH)',
892             ],
893             'defines': [
894                 # Technically not a unit test but require functions available only to
895                 # unit tests.
896                 'UNIT_TEST',
897             ],
898             'sources': [
899                 '<@(drt_files)',
900             ],
901             'conditions': [
902                 ['OS=="win"', {
903                     'dependencies': [
904                         'LayoutTestHelper',
905                         '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libEGL',
906                         '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libGLESv2',
907                     ],
908
909                     'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/webkit'],
910                     'sources': [
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',
915                     ],
916                     'conditions': [
917                         ['inside_chromium_build==1 and component=="shared_library"', {
918                             'sources': [
919                                 'src/ChromiumCurrentTime.cpp',
920                                 'src/ChromiumThreading.cpp',
921                             ],
922                             'include_dirs': [
923                                 'public',
924                             ],
925                             'dependencies': [
926                                 '../../../Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
927                             ],
928                         }],
929                         ['inside_chromium_build==1', {
930                             'configurations': {
931                                 'Debug_Base': {
932                                     'msvs_settings': {
933                                         'VCLinkerTool': {
934                                             'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
935                                         },
936                                     },
937                                 },
938                             },
939                         }],
940                     ],
941                     'copies': [{
942                         'destination': '<(PRODUCT_DIR)',
943                         'files': ['<(ahem_path)'],
944                     }],
945                 },{ # OS!="win"
946                     'sources/': [
947                         ['exclude', 'Win\\.cpp$'],
948                     ],
949                     'actions': [
950                         {
951                             'action_name': 'repack_locale',
952                             'variables': {
953                                 'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py',
954                                 'pak_inputs': [
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',
959                             ]},
960                             'inputs': [
961                                 '<(repack_path)',
962                                 '<@(pak_inputs)',
963                             ],
964                             'outputs': [
965                                 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
966                             ],
967                             'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
968                             'process_outputs_as_mac_bundle_resources': 1,
969                         },
970                     ], # actions
971                 }],
972                 ['OS=="mac"', {
973                     'dependencies': [
974                         'copy_mesa',
975                         'LayoutTestHelper',
976                     ],
977                     'mac_bundle_resources': [
978                         '<(ahem_path)',
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',
989                     ],
990                 },{ # OS!="mac"
991                     'sources/': [
992                         # .mm is already excluded by common.gypi
993                         ['exclude', 'Mac\\.cpp$'],
994                     ],
995                 }],
996                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
997                     'dependencies': [
998                         '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
999                         '<(chromium_src_dir)/build/linux/system.gyp:gtk',
1000                     ],
1001                     'include_dirs': [
1002                         'public/gtk',
1003                     ],
1004                     'copies': [{
1005                         'destination': '<(PRODUCT_DIR)',
1006                         'files': [
1007                             '<(ahem_path)',
1008                             '../../../Tools/DumpRenderTree/chromium/fonts.conf',
1009                             '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
1010                         ]
1011                     }],
1012                     'variables': {
1013                       # FIXME: Enable warnings on other platforms.
1014                       'chromium_code': 1,
1015                     },
1016                 },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"
1017                     'sources/': [
1018                         ['exclude', '(Gtk|Linux)\\.cpp$']
1019                     ]
1020                 }],
1021                 ['inside_chromium_build==0', {
1022                     'dependencies': [
1023                         '<(chromium_src_dir)/webkit/support/setup_third_party.gyp:third_party_headers',
1024                     ]
1025                 }],
1026             ],
1027         },
1028         {
1029             'target_name': 'TestNetscapePlugIn',
1030             'type': 'loadable_module',
1031             'sources': [ '<@(test_plugin_files)' ],
1032             'dependencies': [
1033                 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
1034             ],
1035             'include_dirs': [
1036                 '<(chromium_src_dir)',
1037                 '../../../Tools/DumpRenderTree/TestNetscapePlugIn',
1038                 '../../../Tools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders',
1039             ],
1040             'conditions': [
1041                 ['OS=="mac"', {
1042                     'mac_bundle': 1,
1043                     'product_name': 'TestNetscapePlugIn',
1044                     'product_extension': 'plugin',
1045                     'link_settings': {
1046                         'libraries': [
1047                             '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1048                             '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
1049                             '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
1050                         ]
1051                     },
1052                     'xcode_settings': {
1053                         'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
1054                         'INFOPLIST_FILE': '../../../Tools/DumpRenderTree/TestNetscapePlugIn/mac/Info.plist',
1055                     },
1056                 }],
1057                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
1058                     'cflags': [
1059                         '-fvisibility=default',
1060                     ],
1061                 }],
1062                 ['OS=="win"', {
1063                     'defines': [
1064                         # This seems like a hack, but this is what Safari Win does.
1065                         'snprintf=_snprintf',
1066                     ],
1067                     'sources': [
1068                         '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def',
1069                         '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc',
1070                     ],
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',
1074                 }],
1075             ],
1076         },
1077         {
1078             'target_name': 'copy_TestNetscapePlugIn',
1079             'type': 'none',
1080             'dependencies': [
1081                 'TestNetscapePlugIn',
1082             ],
1083             'conditions': [
1084                 ['OS=="win"', {
1085                     'copies': [{
1086                         'destination': '<(PRODUCT_DIR)/plugins',
1087                         'files': ['<(PRODUCT_DIR)/npTestNetscapePlugIn.dll'],
1088                     }],
1089                 }],
1090                 ['OS=="mac"', {
1091                     'dependencies': ['TestNetscapePlugIn'],
1092                     'copies': [{
1093                         'destination': '<(PRODUCT_DIR)/plugins/',
1094                         'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'],
1095                     }],
1096                 }],
1097                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
1098                     'copies': [{
1099                         'destination': '<(PRODUCT_DIR)/plugins',
1100                         'files': ['<(PRODUCT_DIR)/libTestNetscapePlugIn.so'],
1101                     }],
1102                 }],
1103             ],
1104         },
1105     ], # targets
1106     'conditions': [
1107         ['OS=="win"', {
1108             'targets': [{
1109                 'target_name': 'LayoutTestHelper',
1110                 'type': 'executable',
1111                 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'],
1112             }],
1113         }],
1114         ['OS=="mac"', {
1115             'targets': [
1116                 {
1117                     'target_name': 'LayoutTestHelper',
1118                     'type': 'executable',
1119                     'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelper.mm'],
1120                     'link_settings': {
1121                         'libraries': [
1122                             '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
1123                         ],
1124                     },
1125                 },
1126                 {
1127                     'target_name': 'copy_mesa',
1128                     'type': 'none',
1129                     'dependencies': ['<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa'],
1130                     'copies': [{
1131                         'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/MacOS/',
1132                         'files': ['<(PRODUCT_DIR)/osmesa.so'],
1133                     }],
1134                 },
1135             ],
1136         }],
1137     ], # conditions
1138 }
1139
1140 # Local Variables:
1141 # tab-width:2
1142 # indent-tabs-mode:nil
1143 # End:
1144 # vim: set expandtab tabstop=2 shiftwidth=2: