2010-11-29 Jeremy Orlow <jorlow@chromium.org>
[WebKit-https.git] / 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         '../../WebCore/WebCore.gypi',
34         '../../WebKitTools/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': '../../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': '../../WebKitTools/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                 '../../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/WebAccessibilityCache.h',
105                 'public/WebAccessibilityNotification.h',
106                 'public/WebAccessibilityObject.h',
107                 'public/WebAccessibilityRole.h',
108                 'public/WebAnimationController.h',
109                 'public/WebApplicationCacheHost.h',
110                 'public/WebApplicationCacheHostClient.h',
111                 'public/WebAttribute.h',
112                 'public/WebAudioBus.h',
113                 'public/WebBindings.h',
114                 'public/WebBlobData.h',
115                 'public/WebBlobRegistry.h',
116                 'public/WebCache.h',
117                 'public/WebCanvas.h',
118                 'public/WebClipboard.h',
119                 'public/WebColor.h',
120                 'public/WebColorName.h',
121                 'public/WebCommon.h',
122                 'public/WebCommonWorkerClient.h',
123                 'public/WebCompositionUnderline.h',
124                 'public/WebConsoleMessage.h',
125                 'public/WebContextMenuData.h',
126                 'public/WebCookie.h',
127                 'public/WebCookieJar.h',
128                 'public/WebCrossOriginPreflightResultCache.h',
129                 'public/WebCString.h',
130                 'public/WebCursorInfo.h',
131                 'public/WebDOMEvent.h',
132                 'public/WebDOMEventListener.h',
133                 'public/WebDOMMouseEvent.h',
134                 'public/WebDOMMutationEvent.h',
135                 'public/WebDOMStringList.h',
136                 'public/WebData.h',
137                 'public/WebDatabase.h',
138                 'public/WebDatabaseObserver.h',
139                 'public/WebDataSource.h',
140                 'public/WebDevToolsAgent.h',
141                 'public/WebDevToolsAgentClient.h',
142                 'public/WebDevToolsFrontend.h',
143                 'public/WebDevToolsFrontendClient.h',
144                 'public/WebDeviceOrientation.h',
145                 'public/WebDeviceOrientationClient.h',
146                 'public/WebDeviceOrientationClientMock.h',
147                 'public/WebDeviceOrientationController.h',
148                 'public/WebDocument.h',
149                 'public/WebDocumentType.h',
150                 'public/WebDragData.h',
151                 'public/WebEditingAction.h',
152                 'public/WebElement.h',
153                 'public/WebExceptionCode.h',
154                 'public/WebExternalPopupMenu.h',
155                 'public/WebExternalPopupMenuClient.h',
156                 'public/WebFileChooserCompletion.h',
157                 'public/WebFileChooserParams.h',
158                 'public/WebFileError.h',
159                 'public/WebFileInfo.h',
160                 'public/WebFileSystem.h',
161                 'public/WebFileSystemCallbacks.h',
162                 'public/WebFileSystemEntry.h',
163                 'public/WebFileUtilities.h',
164                 'public/WebFileWriter.h',
165                 'public/WebFileWriterClient.h',
166                 'public/WebFindOptions.h',
167                 'public/WebFloatPoint.h',
168                 'public/WebFloatRect.h',
169                 'public/WebFont.h',
170                 'public/WebFontDescription.h',
171                 'public/WebFrame.h',
172                 'public/WebFrameClient.h',
173                 'public/WebFontCache.h',
174                 'public/WebFormControlElement.h',
175                 'public/WebFormElement.h',
176                 'public/WebGeolocationError.h',
177                 'public/WebGeolocationPosition.h',
178                 'public/WebGeolocationService.h',
179                 'public/WebGeolocationServiceBridge.h',
180                 'public/WebGeolocationServiceMock.h',
181                 'public/WebGlyphCache.h',
182                 'public/WebGraphicsContext3D.h',
183                 'public/WebHistoryItem.h',
184                 'public/WebHTTPBody.h',
185                 'public/WebHTTPLoadInfo.h',
186                 'public/WebImage.h',
187                 'public/WebImageDecoder.h',
188                 'public/WebIDBCallbacks.h',
189                 'public/WebIDBCursor.h',
190                 'public/WebIDBDatabase.h',
191                 'public/WebIDBDatabaseError.h',
192                 'public/WebIDBFactory.h',
193                 'public/WebIDBKeyRange.h',
194                 'public/WebIDBIndex.h',
195                 'public/WebIDBKey.h',
196                 'public/WebIDBKeyPath.h',
197                 'public/WebIDBObjectStore.h',
198                 'public/WebIDBTransaction.h',
199                 'public/WebIDBTransactionCallbacks.h',
200                 'public/WebInputElement.h',
201                 'public/WebInputEvent.h',
202                 'public/WebKit.h',
203                 'public/WebKitClient.h',
204                 'public/WebLabelElement.h',
205                 'public/WebLocalizedString.h',
206                 'public/WebMediaElement.h',
207                 'public/WebMediaPlayer.h',
208                 'public/WebMediaPlayerAction.h',
209                 'public/WebMediaPlayerClient.h',
210                 'public/WebMenuItemInfo.h',
211                 'public/WebMessagePortChannel.h',
212                 'public/WebMessagePortChannelClient.h',
213                 'public/WebMimeRegistry.h',
214                 'public/WebNamedNodeMap.h',
215                 'public/WebNavigationType.h',
216                 'public/WebNode.h',
217                 'public/WebNodeCollection.h',
218                 'public/WebNodeList.h',
219                 'public/WebNonCopyable.h',
220                 'public/WebNotification.h',
221                 'public/WebNotificationPresenter.h',
222                 'public/WebNotificationPermissionCallback.h',
223                 'public/WebOptionElement.h',
224                 'public/WebPageSerializer.h',
225                 'public/WebPageSerializerClient.h',
226                 'public/WebPasswordAutocompleteListener.h',
227                 'public/WebPasswordFormData.h',
228                 'public/WebPerformance.h',
229                 'public/WebPlugin.h',
230                 'public/WebPluginContainer.h',
231                 'public/WebPluginDocument.h',
232                 'public/WebPluginListBuilder.h',
233                 'public/WebPoint.h',
234                 'public/WebPopupMenu.h',
235                 'public/WebPopupMenuInfo.h',
236                 'public/WebPopupType.h',
237                 'public/WebPrivatePtr.h',
238                 'public/WebPrivateOwnPtr.h',
239                 'public/WebRange.h',
240                 'public/WebRect.h',
241                 'public/WebRegularExpression.h',
242                 'public/WebRuntimeFeatures.h',
243                 'public/WebScrollbar.h',
244                 'public/WebScrollbarClient.h',
245                 'public/WebScreenInfo.h',
246                 'public/WebScriptController.h',
247                 'public/WebScriptSource.h',
248                 'public/WebSearchableFormData.h',
249                 'public/WebSecurityOrigin.h',
250                 'public/WebSecurityPolicy.h',
251                 'public/WebSelectElement.h',
252                 'public/WebSerializedScriptValue.h',
253                 'public/WebSettings.h',
254                 'public/WebSharedWorker.h',
255                 'public/WebSharedWorkerRepository.h',
256                 'public/WebSize.h',
257                 'public/WebSocketStreamError.h',
258                 'public/WebSocketStreamHandle.h',
259                 'public/WebSocketStreamHandleClient.h',
260                 'public/WebSpeechInputController.h',
261                 'public/WebSpeechInputControllerMock.h',
262                 'public/WebSpeechInputListener.h',
263                 'public/WebSpeechInputResult.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/WebThreadSafeData.h',
274                 'public/WebURL.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',
282                 'public/WebView.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/WebThemeEngine.h',
292                 'src/ApplicationCacheHost.cpp',
293                 'src/ApplicationCacheHostInternal.h',
294                 'src/AssertMatchingEnums.cpp',
295                 'src/AssociatedURLLoader.cpp',
296                 'src/AssociatedURLLoader.h',
297                 'src/AsyncFileSystemChromium.cpp',
298                 'src/AsyncFileSystemChromium.h',
299                 'src/AsyncFileWriterChromium.cpp',
300                 'src/AsyncFileWriterChromium.h',
301                 'src/AutoFillPopupMenuClient.cpp',
302                 'src/AutoFillPopupMenuClient.h',
303                 'src/BackForwardListClientImpl.cpp',
304                 'src/BackForwardListClientImpl.h',
305                 'src/BlobRegistryProxy.cpp',
306                 'src/BlobRegistryProxy.h',
307                 'src/BoundObject.cpp',
308                 'src/BoundObject.h',
309                 'src/ChromeClientImpl.cpp',
310                 'src/ChromeClientImpl.h',
311                 'src/ChromiumBridge.cpp',
312                 'src/ChromiumCurrentTime.cpp',
313                 'src/ChromiumThreading.cpp',
314                 'src/CompositionUnderlineBuilder.h',
315                 'src/CompositionUnderlineVectorBuilder.cpp',
316                 'src/CompositionUnderlineVectorBuilder.h',
317                 'src/ContextMenuClientImpl.cpp',
318                 'src/ContextMenuClientImpl.h',
319                 'src/DatabaseObserver.cpp',
320                 'src/DebuggerAgentImpl.cpp',
321                 'src/DebuggerAgentImpl.h',
322                 'src/DebuggerAgentManager.cpp',
323                 'src/DebuggerAgentManager.h',
324                 'src/DeviceOrientationClientProxy.cpp',
325                 'src/DeviceOrientationClientProxy.h',
326                 'src/DOMUtilitiesPrivate.cpp',
327                 'src/DOMUtilitiesPrivate.h',
328                 'src/DragClientImpl.cpp',
329                 'src/DragClientImpl.h',
330                 'src/DragScrollTimer.cpp',
331                 'src/DragScrollTimer.h',
332                 'src/EditorClientImpl.cpp',
333                 'src/EditorClientImpl.h',
334                 'src/EventListenerWrapper.cpp',
335                 'src/EventListenerWrapper.h',
336                 'src/Extensions3DChromium.cpp',
337                 'src/ExternalPopupMenu.cpp',
338                 'src/ExternalPopupMenu.h',
339                 'src/FrameLoaderClientImpl.cpp',
340                 'src/FrameLoaderClientImpl.h',
341                 'src/FrameNetworkingContextImpl.h',
342                 'src/GraphicsContext3DChromium.cpp',
343                 'src/GraphicsContext3DInternal.h',
344                 'src/gtk/WebFontInfo.cpp',
345                 'src/gtk/WebFontInfo.h',
346                 'src/gtk/WebInputEventFactory.cpp',
347                 'src/IDBCallbacksProxy.cpp',
348                 'src/IDBCallbacksProxy.h',
349                 'src/IDBCursorBackendProxy.cpp',
350                 'src/IDBCursorBackendProxy.h',
351                 'src/IDBDatabaseProxy.cpp',
352                 'src/IDBDatabaseProxy.h',
353                 'src/IDBFactoryBackendProxy.cpp',
354                 'src/IDBFactoryBackendProxy.h',
355                 'src/IDBIndexBackendProxy.cpp',
356                 'src/IDBIndexBackendProxy.h',
357                 'src/IDBObjectStoreProxy.cpp',
358                 'src/IDBObjectStoreProxy.h',
359                 'src/IDBTransactionBackendProxy.cpp',
360                 'src/IDBTransactionBackendProxy.h',
361                 'src/IDBTransactionCallbacksProxy.cpp',
362                 'src/IDBTransactionCallbacksProxy.h',
363                 'src/InspectorClientImpl.cpp',
364                 'src/InspectorClientImpl.h',
365                 'src/InspectorFrontendClientImpl.cpp',
366                 'src/InspectorFrontendClientImpl.h',
367                 'src/linux/WebFontRendering.cpp',
368                 'src/linux/WebFontRenderStyle.cpp',
369                 'src/linux/WebRenderTheme.cpp',
370                 'src/x11/WebScreenInfoFactory.cpp',
371                 'src/mac/WebInputEventFactory.mm',
372                 'src/mac/WebScreenInfoFactory.mm',
373                 'src/LocalFileSystemChromium.cpp',
374                 'src/LocalizedStrings.cpp',
375                 'src/MediaPlayerPrivateChromium.cpp',
376                 'src/NotificationPresenterImpl.h',
377                 'src/NotificationPresenterImpl.cpp',
378                 'src/PlatformMessagePortChannel.cpp',
379                 'src/PlatformMessagePortChannel.h',
380                 'src/ResourceHandle.cpp',
381                 'src/SharedWorkerRepository.cpp',
382                 'src/SocketStreamHandle.cpp',
383                 'src/SpeechInputClientImpl.cpp',
384                 'src/SpeechInputClientImpl.h',
385                 'src/StorageAreaProxy.cpp',
386                 'src/StorageAreaProxy.h',
387                 'src/StorageEventDispatcherChromium.cpp',
388                 'src/StorageEventDispatcherImpl.cpp',
389                 'src/StorageEventDispatcherImpl.h',
390                 'src/StorageNamespaceProxy.cpp',
391                 'src/StorageNamespaceProxy.h',
392                 'src/TemporaryGlue.h',
393                 'src/VideoFrameChromiumImpl.cpp',
394                 'src/VideoFrameChromiumImpl.h',
395                 'src/WebAccessibilityCache.cpp',
396                 'src/WebAccessibilityCacheImpl.cpp',
397                 'src/WebAccessibilityCacheImpl.h',
398                 'src/WebAccessibilityObject.cpp',
399                 'src/WebAnimationControllerImpl.cpp',
400                 'src/WebAnimationControllerImpl.h',
401                 'src/WebAttribute.cpp',
402                 'src/WebAudioBus.cpp',
403                 'src/WebBindings.cpp',
404                 'src/WebBlobData.cpp',
405                 'src/WebCache.cpp',
406                 'src/WebColor.cpp',
407                 'src/WebCommon.cpp',
408                 'src/WebCrossOriginPreflightResultCache.cpp',
409                 'src/WebCString.cpp',
410                 'src/WebCursorInfo.cpp',
411                 'src/WebDOMEvent.cpp',
412                 'src/WebDOMEventListener.cpp',
413                 'src/WebDOMEventListenerPrivate.cpp',
414                 'src/WebDOMEventListenerPrivate.h',
415                 'src/WebDOMMouseEvent.cpp',
416                 'src/WebDOMMutationEvent.cpp',
417                 'src/WebDOMStringList.cpp',
418                 'src/WebData.cpp',
419                 'src/WebDatabase.cpp',
420                 'src/WebDataSourceImpl.cpp',
421                 'src/WebDataSourceImpl.h',
422                 'src/WebDevToolsAgentImpl.cpp',
423                 'src/WebDevToolsAgentImpl.h',
424                 'src/WebDevToolsFrontendImpl.cpp',
425                 'src/WebDevToolsFrontendImpl.h',
426                 'src/WebDeviceOrientation.cpp',
427                 'src/WebDeviceOrientationClientMock.cpp',
428                 'src/WebDeviceOrientationController.cpp',
429                 'src/WebDocument.cpp',
430                 'src/WebDocumentType.cpp',
431                 'src/WebDragData.cpp',
432                 'src/WebElement.cpp',
433                 'src/WebEntities.cpp',
434                 'src/WebEntities.h',
435                 'src/WebFileChooserCompletionImpl.cpp',
436                 'src/WebFileChooserCompletionImpl.h',
437                 'src/WebFileSystemCallbacksImpl.cpp',
438                 'src/WebFileSystemCallbacksImpl.h',
439                 'src/WebFontCache.cpp',
440                 'src/WebFontDescription.cpp',
441                 'src/WebFontImpl.cpp',
442                 'src/WebFontImpl.h',
443                 'src/WebFormControlElement.cpp',
444                 'src/WebFormElement.cpp',
445                 'src/WebFrameImpl.cpp',
446                 'src/WebFrameImpl.h',
447                 'src/WebGeolocationError.cpp',
448                 'src/WebGeolocationPosition.cpp',
449                 'src/WebGeolocationServiceBridgeImpl.cpp',
450                 'src/WebGeolocationServiceBridgeImpl.h',
451                 'src/WebGeolocationServiceMock.cpp',
452                 'src/WebGlyphCache.cpp',
453                 'src/WebGraphicsContext3D.cpp',
454                 'src/WebGraphicsContext3DDefaultImpl.cpp',
455                 'src/WebGraphicsContext3DDefaultImpl.h',
456                 'src/WebHistoryItem.cpp',
457                 'src/WebHTTPBody.cpp',
458                 'src/WebHTTPLoadInfo.cpp',
459                 'src/WebIDBCallbacksImpl.cpp',
460                 'src/WebIDBCallbacksImpl.h',
461                 'src/WebIDBCursorImpl.cpp',
462                 'src/WebIDBCursorImpl.h',
463                 'src/WebIDBDatabaseError.cpp',
464                 'src/WebIDBDatabaseImpl.cpp',
465                 'src/WebIDBDatabaseImpl.h',
466                 'src/WebIDBFactoryImpl.cpp',
467                 'src/WebIDBFactoryImpl.h',
468                 'src/WebIDBIndexImpl.cpp',
469                 'src/WebIDBIndexImpl.h',
470                 'src/WebIDBKey.cpp',
471                 'src/WebIDBKeyPath.cpp',
472                 'src/WebIDBKeyRange.cpp',
473                 'src/WebIDBObjectStoreImpl.cpp',
474                 'src/WebIDBObjectStoreImpl.h',
475                 'src/WebIDBTransactionImpl.cpp',
476                 'src/WebIDBTransactionImpl.h',
477                 'src/WebIDBTransactionCallbacksImpl.cpp',
478                 'src/WebIDBTransactionCallbacksImpl.h',
479                 'src/WebImageCG.cpp',
480                 'src/WebImageDecoder.cpp',
481                 'src/WebImageSkia.cpp',
482                 'src/WebInputElement.cpp',
483                 'src/WebInputEvent.cpp',
484                 'src/WebInputEventConversion.cpp',
485                 'src/WebInputEventConversion.h',
486                 'src/WebKit.cpp',
487                 'src/WebLabelElement.cpp',
488                 'src/WebMediaElement.cpp',
489                 'src/WebMediaPlayerClientImpl.cpp',
490                 'src/WebMediaPlayerClientImpl.h',
491                 'src/WebNamedNodeMap.cpp',
492                 'src/WebNode.cpp',
493                 'src/WebNodeCollection.cpp',
494                 'src/WebNodeList.cpp',
495                 'src/WebNotification.cpp',
496                 'src/WebOptionElement.cpp',
497                 'src/WebPageSerializer.cpp',
498                 'src/WebPageSerializerImpl.cpp',
499                 'src/WebPageSerializerImpl.h',
500                 'src/WebPasswordFormData.cpp',
501                 'src/WebPasswordFormUtils.cpp',
502                 'src/WebPasswordFormUtils.h',
503                 'src/WebPerformance.cpp',
504                 'src/WebPluginContainerImpl.h',
505                 'src/WebPluginContainerImpl.cpp',
506                 'src/WebPluginDocument.cpp',
507                 'src/WebPluginListBuilderImpl.cpp',
508                 'src/WebPluginListBuilderImpl.h',
509                 'src/WebPluginLoadObserver.cpp',
510                 'src/WebPluginLoadObserver.h',
511                 'src/WebPopupMenuImpl.cpp',
512                 'src/WebPopupMenuImpl.h',
513                 'src/WebRange.cpp',
514                 'src/WebRegularExpression.cpp',
515                 'src/WebRuntimeFeatures.cpp',
516                 'src/WebScriptController.cpp',
517                 'src/WebScrollbarImpl.cpp',
518                 'src/WebScrollbarImpl.h',
519                 'src/WebSearchableFormData.cpp',
520                 'src/WebSecurityOrigin.cpp',
521                 'src/WebSecurityPolicy.cpp',
522                 'src/WebSelectElement.cpp',
523                 'src/WebSerializedScriptValue.cpp',
524                 'src/WebSettingsImpl.cpp',
525                 'src/WebSettingsImpl.h',
526                 'src/WebSharedWorkerImpl.cpp',
527                 'src/WebSharedWorkerImpl.h',
528                 'src/WebSpeechInputControllerMockImpl.cpp',
529                 'src/WebSpeechInputControllerMockImpl.h',
530                 'src/WebSpeechInputResult.cpp',
531                 'src/WebStorageAreaImpl.cpp',
532                 'src/WebStorageAreaImpl.h',
533                 'src/WebStorageEventDispatcherImpl.cpp',
534                 'src/WebStorageEventDispatcherImpl.h',
535                 'src/WebStorageNamespaceImpl.cpp',
536                 'src/WebStorageNamespaceImpl.h',
537                 'src/WebString.cpp',
538                 'src/WebTextRun.cpp',
539                 'src/WebThreadSafeData.cpp',
540                 'src/WebURL.cpp',
541                 'src/WebURLLoadTiming.cpp',
542                 'src/WebURLRequest.cpp',
543                 'src/WebURLRequestPrivate.h',
544                 'src/WebURLResponse.cpp',
545                 'src/WebURLResponsePrivate.h',
546                 'src/WebURLError.cpp',
547                 'src/WebViewImpl.cpp',
548                 'src/WebViewImpl.h',
549                 'src/WebWorkerBase.cpp',
550                 'src/WebWorkerBase.h',
551                 'src/WebWorkerClientImpl.cpp',
552                 'src/WebWorkerClientImpl.h',
553                 'src/WebWorkerImpl.cpp',
554                 'src/WebWorkerImpl.h',
555                 'src/WorkerAsyncFileSystemChromium.cpp',
556                 'src/WorkerAsyncFileSystemChromium.h',
557                 'src/WorkerAsyncFileWriterChromium.cpp',
558                 'src/WorkerAsyncFileWriterChromium.h',
559                 'src/WorkerFileSystemCallbacksBridge.cpp',
560                 'src/WorkerFileSystemCallbacksBridge.h',
561                 'src/WorkerFileWriterCallbacksBridge.cpp',
562                 'src/WorkerFileWriterCallbacksBridge.h',
563                 'src/WrappedResourceRequest.h',
564                 'src/WrappedResourceResponse.h',
565                 'src/win/WebInputEventFactory.cpp',
566                 'src/win/WebScreenInfoFactory.cpp',
567             ],
568             'conditions': [
569                 ['inside_chromium_build==1 and OS=="win"', {
570                     'type': '<(component)',
571
572                     'conditions': [
573                         ['component=="shared_library"', {
574                             'defines': [
575                                 'WEBKIT_DLL',
576                             ],
577                             'dependencies': [
578                                 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings',
579                                 '<(chromium_src_dir)/base/base.gyp:test_support_base',
580                                 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
581                                 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
582                                 '<(chromium_src_dir)/third_party/icu/icu.gyp:*',
583                                 '<(chromium_src_dir)/third_party/libjpeg/libjpeg.gyp:libjpeg',
584                                 '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng',
585                                 '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml',
586                                 '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt',
587                                 '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64',
588                                 '<(chromium_src_dir)/third_party/nss/nss.gyp:*',
589                                 '<(chromium_src_dir)/third_party/ots/ots.gyp:ots',
590                                 '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
591                                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
592                             ],
593                             'direct_dependent_settings': {
594                                 'defines': [
595                                     'WEBKIT_DLL',
596                                 ],
597                             },
598                             'export_dependent_settings': [
599                                 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
600                                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
601                             ],
602                             'sources': [
603                                 '<@(webkit_unittest_files)',
604                                 'tests/PopupMenuTest.cpp',
605                                 'tests/TransparencyWinTest.cpp',
606                                 'tests/UniscribeHelperTest.cpp',
607                                 'tests/WebUnitTests.cpp'
608                             ]
609                         }],
610                     ],
611                 }, {
612                     'type': '<(webkit_target_type)'
613                 }],
614                 ['OS=="linux" or OS=="freebsd"', {
615                     'dependencies': [
616                         '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
617                         '<(chromium_src_dir)/build/linux/system.gyp:gtk',
618                         '<(chromium_src_dir)/build/linux/system.gyp:x11',
619                     ],
620                     'include_dirs': [
621                         'public/x11',
622                         'public/gtk',
623                         'public/linux',
624                     ],
625                 }, { # else: OS!="linux" and OS!="freebsd"
626                     'sources/': [
627                         ['exclude', '/gtk/'],
628                         ['exclude', '/x11/'],
629                         ['exclude', '/linux/'],
630                     ],
631                 }],
632                 ['OS=="mac"', {
633                     'include_dirs': [
634                         'public/mac',
635                     ],
636                     'sources/': [
637                         ['exclude', 'Skia\\.cpp$'],
638                     ],
639                 }, { # else: OS!="mac"
640                     'sources/': [
641                         ['exclude', '/mac/'],
642                         ['exclude', 'CG\\.cpp$'],
643                     ],
644                 }],
645                 ['OS=="win"', {
646                     'include_dirs': [
647                         'public/win',
648                     ],
649                 }, { # else: OS!="win"
650                     'sources/': [['exclude', '/win/']],
651                     'variables': {
652                         # FIXME: Turn on warnings on Windows.
653                         'chromium_code': 1,
654                     }
655                 }],
656                 ['"ENABLE_3D_CANVAS=1" in feature_defines', {
657                     'conditions': [
658                         ['OS=="mac"', {
659                             'link_settings': {
660                                 'libraries': [
661                                     '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
662                                 ],
663                             },
664                         }],
665                     ],
666                 }],
667                 ['"ENABLE_CLIENT_BASED_GEOLOCATION=1" in feature_defines', {
668                     'sources/': [
669                         ['exclude', 'WebGeolocationService.*$'],
670                         ['include', 'WebGeolocationServiceMock.*'],
671                     ],
672                 }, {
673                    'sources/': [
674                         ['exclude', 'WebGeolocationError.*'],
675                         ['exclude', 'WebGeolocationPosition.*'],
676                    ],
677                 }]
678             ],
679         },
680
681         {
682             'target_name': 'inspector_resources',
683             'type': 'none',
684             'dependencies': [
685                 'devtools_html',
686                 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources',
687             ],
688             'conditions': [
689                 ['debug_devtools==0', {
690                     'dependencies': ['concatenated_devtools_js',
691                                      'concatenated_devtools_css'],
692                 }],
693             ],
694             'copies': [
695                 {
696                     'destination': '<(PRODUCT_DIR)/resources/inspector',
697                     'files': [
698                         '<@(devtools_files)',
699                         '<@(webinspector_files)',
700                         '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js',
701                     ],
702                     'conditions': [
703                         ['debug_devtools==0', {
704                             'files/': [['exclude', '\\.(js|css|html)$']],
705                         }],
706                     ],
707                 },
708                 {
709                     'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
710                     'files': [
711                         '<@(webinspector_image_files)',
712                         '<@(devtools_image_files)',
713                     ],
714                },
715             ],
716         },
717         {
718             'target_name': 'devtools_html',
719             'type': 'none',
720             'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
721             'actions': [{
722                 'action_name': 'devtools_html',
723                 'inputs': [
724                     'scripts/generate_devtools_html.py',
725                     # See issue 29695: WebKit.gypi is a source file for devtools.html.
726                     'WebKit.gypi',
727                     '../../WebCore/inspector/front-end/inspector.html',
728                 ],
729                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
730                 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(debug_devtools)', '<@(devtools_files)'],
731             }],
732         },
733         {
734             'target_name': 'concatenated_devtools_js',
735             'type': 'none',
736             'dependencies': [
737                 'devtools_html',
738                 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources'
739             ],
740             'sources': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
741             'actions': [{
742                 'action_name': 'concatenate_devtools_js',
743                 'script_name': 'scripts/concatenate_js_files.py',
744                 'input_page': '../../WebCore/inspector/front-end/inspector.html',
745                 'inputs': [
746                     '<@(_script_name)',
747                     '<@(_input_page)',
748                     '<@(webinspector_files)',
749                     '<@(devtools_files)',
750                     '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js'
751                 ],
752                 'search_path': [
753                     '../../WebCore/inspector/front-end',
754                     'src/js',
755                     '<(SHARED_INTERMEDIATE_DIR)/webcore',
756                 ],
757                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
758                 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
759             }],
760         },
761         {
762             'target_name': 'concatenated_devtools_css',
763             'type': 'none',
764             'dependencies': [
765                 'devtools_html'
766             ],
767             'sources': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
768             'actions': [{
769                 'action_name': 'concatenate_devtools_css',
770                 'script_name': 'scripts/concatenate_css_files.py',
771                 'input_page': '../../WebCore/inspector/front-end/inspector.html',
772                 'inputs': [
773                     '<@(_script_name)',
774                     '<@(_input_page)',
775                     '<@(webinspector_files)',
776                     '<@(devtools_files)'
777                 ],
778                 'search_path': [
779                     '../../WebCore/inspector/front-end',
780                     'src/js',
781                 ],
782                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
783                 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
784             }],
785         },
786         {
787             'target_name': 'webkit_unit_tests',
788             'type': 'executable',
789             'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD',
790             'dependencies': [
791                 'webkit',
792                 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
793                 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
794                 '<(chromium_src_dir)/base/base.gyp:base',
795                 '<(chromium_src_dir)/base/base.gyp:base_i18n',
796                 '<(chromium_src_dir)/base/base.gyp:test_support_base',
797                 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
798             ],
799             'sources': [
800                 'tests/RunAllTests.cpp',
801             ],
802             'include_dirs': [
803                 'public',
804                 'src',
805             ],
806             'conditions': [
807                 ['inside_chromium_build==1 and OS=="win" and component=="shared_library"', {
808                     'defines': [
809                         'WEBKIT_DLL_UNITTEST',
810                     ],
811                 }, {
812                     'sources': [
813                         '<@(webkit_unittest_files)',
814                     ],
815                     'conditions': [
816                         ['OS=="win"', {
817                             'sources': [
818                                 # FIXME: Port PopupMenuTest and WebFrameTest to Linux and Mac.
819                                 'tests/PopupMenuTest.cpp',
820                                 'tests/TransparencyWinTest.cpp',
821                                 'tests/UniscribeHelperTest.cpp',
822                                 'tests/WebFrameTest.cpp',
823                             ],
824                         }],
825                         ['OS=="mac"', {
826                             'sources!': [
827                                 # FIXME: Port DragImageTest to Mac.
828                                 'tests/DragImageTest.cpp',
829                             ],
830                         }],
831                         ['OS=="linux" or OS=="freebsd"', {
832                             'sources': [
833                                 'tests/WebInputEventFactoryTestGtk.cpp',
834                             ],
835                             'include_dirs': [
836                                 'public/gtk',
837                             ],
838                             'variables': {
839                               # FIXME: Enable warnings on other platforms.
840                               'chromium_code': 1,
841                             },
842                         }],
843                     ],
844                 }],
845                 ['inside_chromium_build==1 and OS=="win" and component!="shared_library"', {
846                     'configurations': {
847                         'Debug_Base': {
848                             'msvs_settings': {
849                                 'VCLinkerTool': {
850                                     'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
851                                 },
852                             },
853                         },
854                     },
855                 }],
856             ],
857         },
858         {
859             'target_name': 'ImageDiff',
860             'type': 'executable',
861             'dependencies': [
862                 'webkit',
863                 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
864                 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
865             ],
866             'include_dirs': [
867                 '../../JavaScriptCore',
868                 '<(DEPTH)',
869             ],
870             'sources': [
871                 '../../WebKitTools/DumpRenderTree/chromium/ImageDiff.cpp',
872             ],
873         },
874         {
875             'target_name': 'DumpRenderTree',
876             'type': 'executable',
877             'mac_bundle': 1,
878             'dependencies': [
879                 'ImageDiff',
880                 'inspector_resources',
881                 'TestNetscapePlugIn',
882                 'copy_TestNetscapePlugIn',
883                 'webkit',
884                 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config',
885                 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
886                 '<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa',
887                 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:blob',
888                 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
889             ],
890             'include_dirs': [
891                 '<(chromium_src_dir)',
892                 'public',
893                 '../../JavaScriptCore',
894                 '../../JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/.
895                 '<(DEPTH)',
896             ],
897             'defines': [
898                 # Technically not a unit test but require functions available only to
899                 # unit tests.
900                 'UNIT_TEST',
901             ],
902             'sources': [
903                 '<@(drt_files)',
904             ],
905             'conditions': [
906                 ['OS=="win"', {
907                     'dependencies': ['LayoutTestHelper'],
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                                 '../../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                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher100.ttf',
980                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher200.ttf',
981                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher300.ttf',
982                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher400.ttf',
983                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher500.ttf',
984                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher600.ttf',
985                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher700.ttf',
986                         '../../WebKitTools/DumpRenderTree/fonts/WebKitWeightWatcher800.ttf',
987                         '../../WebKitTools/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                             '../../WebKitTools/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                 '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn',
1038                 '../../WebKitTools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders',
1039             ],
1040             'conditions': [
1041                 ['OS=="mac"', {
1042                     'mac_bundle': 1,
1043                     # It would be nice to name this
1044                     # TestNetscapePlugIn, but that name is already
1045                     # used by the fork of this plugin in Chromium.
1046                     'product_name': 'WebKitTestNetscapePlugIn',
1047                     'product_extension': 'plugin',
1048                     'link_settings': {
1049                         'libraries': [
1050                             '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
1051                             '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
1052                             '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
1053                         ]
1054                     },
1055                     'xcode_settings': {
1056                         'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
1057                         # This is a temporary fork of
1058                         # DRT/TestNetscapePlugIn/mac/Info.plist.  Once
1059                         # we get rid of our forked plugin in the
1060                         # chromium repo, we can share the same
1061                         # Info.plist.
1062                         'INFOPLIST_FILE': '../../WebKitTools/DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist',
1063                     },
1064                 }],
1065                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
1066                     'cflags': [
1067                         '-fvisibility=default',
1068                     ],
1069                 }],
1070                 ['OS=="win"', {
1071                     'defines': [
1072                         # This seems like a hack, but this is what Safari Win does.
1073                         'snprintf=_snprintf',
1074                     ],
1075                     'sources': [
1076                         '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def',
1077                         '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc',
1078                     ],
1079                     # The .rc file requires that the name of the dll is npTestNetscapePlugin.dll.
1080                     # This adds the 'np' to the dll name.
1081                     'product_prefix': 'np',
1082                 }],
1083             ],
1084         },
1085         {
1086             'target_name': 'copy_TestNetscapePlugIn',
1087             'type': 'none',
1088             'dependencies': [
1089                 'TestNetscapePlugIn',
1090             ],
1091             'conditions': [
1092                 ['OS=="win"', {
1093                     'copies': [{
1094                         'destination': '<(PRODUCT_DIR)/plugins',
1095                         'files': ['<(PRODUCT_DIR)/npTestNetscapePlugIn.dll'],
1096                     }],
1097                 }],
1098                 ['OS=="mac"', {
1099                     'copies': [{
1100                         'destination': '<(PRODUCT_DIR)/plugins/',
1101                         'files': ['<(PRODUCT_DIR)/WebKitTestNetscapePlugIn.plugin/'],
1102                     }],
1103                 }],
1104                 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
1105                     'copies': [{
1106                         'destination': '<(PRODUCT_DIR)/plugins',
1107                         'files': ['<(PRODUCT_DIR)/libTestNetscapePlugIn.so'],
1108                     }],
1109                 }],
1110             ],
1111         },
1112     ], # targets
1113     'conditions': [
1114         ['OS=="win"', {
1115             'targets': [{
1116                 'target_name': 'LayoutTestHelper',
1117                 'type': 'executable',
1118                 'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'],
1119             }],
1120         }],
1121         ['OS=="mac"', {
1122             'targets': [
1123                 {
1124                     'target_name': 'LayoutTestHelper',
1125                     'type': 'executable',
1126                     'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelper.mm'],
1127                     'link_settings': {
1128                         'libraries': [
1129                             '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
1130                         ],
1131                     },
1132                 },
1133                 {
1134                     'target_name': 'copy_mesa',
1135                     'type': 'none',
1136                     'dependencies': ['<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa'],
1137                     'copies': [{
1138                         'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/MacOS/',
1139                         'files': ['<(PRODUCT_DIR)/osmesa.so'],
1140                     }],
1141                 },
1142             ],
1143         }],
1144     ], # conditions
1145 }
1146
1147 # Local Variables:
1148 # tab-width:2
1149 # indent-tabs-mode:nil
1150 # End:
1151 # vim: set expandtab tabstop=2 shiftwidth=2: