summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/WebKit.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/WebKit.gyp')
-rw-r--r--Source/WebKit/chromium/WebKit.gyp1247
1 files changed, 1247 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/WebKit.gyp b/Source/WebKit/chromium/WebKit.gyp
new file mode 100644
index 0000000..0ee5dd6
--- /dev/null
+++ b/Source/WebKit/chromium/WebKit.gyp
@@ -0,0 +1,1247 @@
+#
+# Copyright (C) 2010 Google Inc. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following disclaimer
+# in the documentation and/or other materials provided with the
+# distribution.
+# * Neither the name of Google Inc. nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+{
+ 'includes': [
+ '../../WebCore/WebCore.gypi',
+ '../../../Tools/DumpRenderTree/DumpRenderTree.gypi',
+ 'WebKit.gypi',
+ 'features.gypi',
+ ],
+ 'variables': {
+ 'conditions': [
+ # Location of the chromium src directory and target type is different
+ # if webkit is built inside chromium or as standalone project.
+ ['inside_chromium_build==0', {
+ # Webkit is being built outside of the full chromium project.
+ # e.g. via build-webkit --chromium
+ 'chromium_src_dir': '../../WebKit/chromium',
+ 'webkit_target_type': 'static_library',
+ },{
+ # WebKit is checked out in src/chromium/third_party/WebKit
+ 'chromium_src_dir': '../../../../..',
+ 'webkit_target_type': '<(library)',
+ }],
+ ],
+ 'ahem_path': '../../../Tools/DumpRenderTree/qt/fonts/AHEM____.TTF',
+
+ # If debug_devtools is set to 1, JavaScript files for DevTools are
+ # stored as is. Otherwise, a concatenated file is stored.
+ 'debug_devtools%': 0,
+
+ # List of DevTools source files, ordered by dependencies. It is used both
+ # for copying them to resource dir, and for generating 'devtools.html' file.
+ 'devtools_files': [
+ '<@(devtools_css_files)',
+ '<@(devtools_js_files)',
+ ],
+ },
+ 'targets': [
+ {
+ 'target_name': 'webkit',
+ 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65',
+ 'dependencies': [
+ '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
+ '<(chromium_src_dir)/app/app.gyp:app_base', # For GLContext
+ '<(chromium_src_dir)/skia/skia.gyp:skia',
+ '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
+ '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:translator_glsl',
+ ],
+ 'export_dependent_settings': [
+ '<(chromium_src_dir)/skia/skia.gyp:skia',
+ '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
+ ],
+ 'include_dirs': [
+ 'public',
+ 'src',
+ '<(chromium_src_dir)/third_party/angle/include',
+ ],
+ 'defines': [
+ 'WEBKIT_IMPLEMENTATION=1',
+ ],
+ 'sources': [
+ 'public/gtk/WebInputEventFactory.h',
+ 'public/linux/WebFontRendering.h',
+ 'public/linux/WebFontRenderStyle.h',
+ 'public/linux/WebRenderTheme.h',
+ 'public/linux/WebThemeEngine.h',
+ 'public/x11/WebScreenInfoFactory.h',
+ 'public/mac/WebInputEventFactory.h',
+ 'public/mac/WebSandboxSupport.h',
+ 'public/mac/WebScreenInfoFactory.h',
+ 'public/mac/WebThemeEngine.h',
+ 'public/WebAccessibilityCache.h',
+ 'public/WebAccessibilityNotification.h',
+ 'public/WebAccessibilityObject.h',
+ 'public/WebAccessibilityRole.h',
+ 'public/WebAnimationController.h',
+ 'public/WebApplicationCacheHost.h',
+ 'public/WebApplicationCacheHostClient.h',
+ 'public/WebAttribute.h',
+ 'public/WebAudioBus.h',
+ 'public/WebAudioDevice.h',
+ 'public/WebAutoFillClient.h',
+ 'public/WebBindings.h',
+ 'public/WebBlobData.h',
+ 'public/WebBlobRegistry.h',
+ 'public/WebCache.h',
+ 'public/WebCanvas.h',
+ 'public/WebClipboard.h',
+ 'public/WebColor.h',
+ 'public/WebColorName.h',
+ 'public/WebCommon.h',
+ 'public/WebCommonWorkerClient.h',
+ 'public/WebCompositionUnderline.h',
+ 'public/WebConsoleMessage.h',
+ 'public/WebContextMenuData.h',
+ 'public/WebCookie.h',
+ 'public/WebCookieJar.h',
+ 'public/WebCrossOriginPreflightResultCache.h',
+ 'public/WebCString.h',
+ 'public/WebCursorInfo.h',
+ 'public/WebDOMEvent.h',
+ 'public/WebDOMEventListener.h',
+ 'public/WebDOMMouseEvent.h',
+ 'public/WebDOMMutationEvent.h',
+ 'public/WebDOMStringList.h',
+ 'public/WebData.h',
+ 'public/WebDatabase.h',
+ 'public/WebDatabaseObserver.h',
+ 'public/WebDataSource.h',
+ 'public/WebDevToolsAgent.h',
+ 'public/WebDevToolsAgentClient.h',
+ 'public/WebDevToolsFrontend.h',
+ 'public/WebDevToolsFrontendClient.h',
+ 'public/WebDeviceOrientation.h',
+ 'public/WebDeviceOrientationClient.h',
+ 'public/WebDeviceOrientationClientMock.h',
+ 'public/WebDeviceOrientationController.h',
+ 'public/WebDocument.h',
+ 'public/WebDocumentType.h',
+ 'public/WebDragData.h',
+ 'public/WebEditingAction.h',
+ 'public/WebElement.h',
+ 'public/WebExceptionCode.h',
+ 'public/WebExternalPopupMenu.h',
+ 'public/WebExternalPopupMenuClient.h',
+ 'public/WebFileChooserCompletion.h',
+ 'public/WebFileChooserParams.h',
+ 'public/WebFileError.h',
+ 'public/WebFileInfo.h',
+ 'public/WebFileSystem.h',
+ 'public/WebFileSystemCallbacks.h',
+ 'public/WebFileSystemEntry.h',
+ 'public/WebFileUtilities.h',
+ 'public/WebFileWriter.h',
+ 'public/WebFileWriterClient.h',
+ 'public/WebFindOptions.h',
+ 'public/WebFloatPoint.h',
+ 'public/WebFloatRect.h',
+ 'public/WebFont.h',
+ 'public/WebFontDescription.h',
+ 'public/WebFrame.h',
+ 'public/WebFrameClient.h',
+ 'public/WebFontCache.h',
+ 'public/WebFormControlElement.h',
+ 'public/WebFormElement.h',
+ 'public/WebGeolocationClient.h',
+ 'public/WebGeolocationClientMock.h',
+ 'public/WebGeolocationController.h',
+ 'public/WebGeolocationError.h',
+ 'public/WebGeolocationPermissionRequest.h',
+ 'public/WebGeolocationPermissionRequestManager.h',
+ 'public/WebGeolocationPosition.h',
+ 'public/WebGlyphCache.h',
+ 'public/WebGraphicsContext3D.h',
+ 'public/WebHistoryItem.h',
+ 'public/WebHTTPBody.h',
+ 'public/WebHTTPLoadInfo.h',
+ 'public/WebIconLoadingCompletion.h',
+ 'public/WebImage.h',
+ 'public/WebImageDecoder.h',
+ 'public/WebIDBCallbacks.h',
+ 'public/WebIDBCursor.h',
+ 'public/WebIDBDatabase.h',
+ 'public/WebIDBDatabaseCallbacks.h',
+ 'public/WebIDBDatabaseError.h',
+ 'public/WebIDBFactory.h',
+ 'public/WebIDBKeyRange.h',
+ 'public/WebIDBIndex.h',
+ 'public/WebIDBKey.h',
+ 'public/WebIDBKeyPath.h',
+ 'public/WebIDBObjectStore.h',
+ 'public/WebIDBTransaction.h',
+ 'public/WebIDBTransactionCallbacks.h',
+ 'public/WebInputElement.h',
+ 'public/WebInputEvent.h',
+ 'public/WebKit.h',
+ 'public/WebKitClient.h',
+ 'public/WebLabelElement.h',
+ 'public/WebLocalizedString.h',
+ 'public/WebMediaElement.h',
+ 'public/WebMediaPlayer.h',
+ 'public/WebMediaPlayerAction.h',
+ 'public/WebMediaPlayerClient.h',
+ 'public/WebMenuItemInfo.h',
+ 'public/WebMessagePortChannel.h',
+ 'public/WebMessagePortChannelClient.h',
+ 'public/WebMimeRegistry.h',
+ 'public/WebNamedNodeMap.h',
+ 'public/WebNavigationType.h',
+ 'public/WebNetworkStateNotifier.h',
+ 'public/WebNode.h',
+ 'public/WebNodeCollection.h',
+ 'public/WebNodeList.h',
+ 'public/WebNonCopyable.h',
+ 'public/WebNotification.h',
+ 'public/WebNotificationPresenter.h',
+ 'public/WebNotificationPermissionCallback.h',
+ 'public/WebOptionElement.h',
+ 'public/WebPageSerializer.h',
+ 'public/WebPageSerializerClient.h',
+ 'public/WebPasswordAutocompleteListener.h',
+ 'public/WebPasswordFormData.h',
+ 'public/WebPerformance.h',
+ 'public/WebPlugin.h',
+ 'public/WebPluginContainer.h',
+ 'public/WebPluginDocument.h',
+ 'public/WebPluginListBuilder.h',
+ 'public/WebPoint.h',
+ 'public/WebPopupMenu.h',
+ 'public/WebPopupMenuInfo.h',
+ 'public/WebPopupType.h',
+ 'public/WebPrivatePtr.h',
+ 'public/WebPrivateOwnPtr.h',
+ 'public/WebRange.h',
+ 'public/WebRect.h',
+ 'public/WebRegularExpression.h',
+ 'public/WebRuntimeFeatures.h',
+ 'public/WebScrollbar.h',
+ 'public/WebScrollbarClient.h',
+ 'public/WebScreenInfo.h',
+ 'public/WebScriptController.h',
+ 'public/WebScriptSource.h',
+ 'public/WebSearchableFormData.h',
+ 'public/WebSecurityOrigin.h',
+ 'public/WebSecurityPolicy.h',
+ 'public/WebSelectElement.h',
+ 'public/WebSerializedScriptValue.h',
+ 'public/WebSettings.h',
+ 'public/WebSharedWorker.h',
+ 'public/WebSharedWorkerRepository.h',
+ 'public/WebSize.h',
+ 'public/WebSocketStreamError.h',
+ 'public/WebSocketStreamHandle.h',
+ 'public/WebSocketStreamHandleClient.h',
+ 'public/WebSpeechInputController.h',
+ 'public/WebSpeechInputControllerMock.h',
+ 'public/WebSpeechInputListener.h',
+ 'public/WebSpeechInputResult.h',
+ 'public/WebStorageArea.h',
+ 'public/WebStorageEventDispatcher.h',
+ 'public/WebStorageQuotaCallbacks.h',
+ 'public/WebStorageQuotaType.h',
+ 'public/WebStorageNamespace.h',
+ 'public/WebString.h',
+ 'public/WebTextAffinity.h',
+ 'public/WebTextCaseSensitivity.h',
+ 'public/WebTextCheckingResult.h',
+ 'public/WebTextCheckingCompletion.h',
+ 'public/WebTextDirection.h',
+ 'public/WebTextInputType.h',
+ 'public/WebTextRun.h',
+ 'public/WebThreadSafeData.h',
+ 'public/WebURL.h',
+ 'public/WebURLError.h',
+ 'public/WebURLLoader.h',
+ 'public/WebURLLoaderOptions.h',
+ 'public/WebURLLoadTiming.h',
+ 'public/WebURLLoaderClient.h',
+ 'public/WebURLRequest.h',
+ 'public/WebURLResponse.h',
+ 'public/WebVector.h',
+ 'public/WebView.h',
+ 'public/WebViewClient.h',
+ 'public/WebWidget.h',
+ 'public/WebWidgetClient.h',
+ 'public/WebWorker.h',
+ 'public/WebWorkerClient.h',
+ 'public/win/WebInputEventFactory.h',
+ 'public/win/WebSandboxSupport.h',
+ 'public/win/WebScreenInfoFactory.h',
+ 'public/win/WebThemeEngine.h',
+ 'src/ApplicationCacheHost.cpp',
+ 'src/ApplicationCacheHostInternal.h',
+ 'src/AssertMatchingEnums.cpp',
+ 'src/AssociatedURLLoader.cpp',
+ 'src/AssociatedURLLoader.h',
+ 'src/AsyncFileSystemChromium.cpp',
+ 'src/AsyncFileSystemChromium.h',
+ 'src/AsyncFileWriterChromium.cpp',
+ 'src/AsyncFileWriterChromium.h',
+ 'src/AudioDestinationChromium.cpp',
+ 'src/AudioDestinationChromium.h',
+ 'src/AutoFillPopupMenuClient.cpp',
+ 'src/AutoFillPopupMenuClient.h',
+ 'src/BackForwardListChromium.cpp',
+ 'src/BackForwardListChromium.h',
+ 'src/BlobRegistryProxy.cpp',
+ 'src/BlobRegistryProxy.h',
+ 'src/BoundObject.cpp',
+ 'src/BoundObject.h',
+ 'src/ChromeClientImpl.cpp',
+ 'src/ChromeClientImpl.h',
+ 'src/ChromiumCurrentTime.cpp',
+ 'src/ChromiumOSRandomSource.cpp',
+ 'src/ChromiumThreading.cpp',
+ 'src/CompositionUnderlineBuilder.h',
+ 'src/CompositionUnderlineVectorBuilder.cpp',
+ 'src/CompositionUnderlineVectorBuilder.h',
+ 'src/ContextMenuClientImpl.cpp',
+ 'src/ContextMenuClientImpl.h',
+ 'src/DatabaseObserver.cpp',
+ 'src/DebuggerAgentImpl.cpp',
+ 'src/DebuggerAgentImpl.h',
+ 'src/DebuggerAgentManager.cpp',
+ 'src/DebuggerAgentManager.h',
+ 'src/DeviceOrientationClientProxy.cpp',
+ 'src/DeviceOrientationClientProxy.h',
+ 'src/DOMUtilitiesPrivate.cpp',
+ 'src/DOMUtilitiesPrivate.h',
+ 'src/DragClientImpl.cpp',
+ 'src/DragClientImpl.h',
+ 'src/DragScrollTimer.cpp',
+ 'src/DragScrollTimer.h',
+ 'src/EditorClientImpl.cpp',
+ 'src/EditorClientImpl.h',
+ 'src/EventListenerWrapper.cpp',
+ 'src/EventListenerWrapper.h',
+ 'src/Extensions3DChromium.cpp',
+ 'src/ExternalPopupMenu.cpp',
+ 'src/ExternalPopupMenu.h',
+ 'src/FrameLoaderClientImpl.cpp',
+ 'src/FrameLoaderClientImpl.h',
+ 'src/FrameNetworkingContextImpl.h',
+ 'src/GeolocationClientProxy.cpp',
+ 'src/GeolocationClientProxy.h',
+ 'src/GraphicsContext3DChromium.cpp',
+ 'src/GraphicsContext3DInternal.h',
+ 'src/gtk/WebFontInfo.cpp',
+ 'src/gtk/WebFontInfo.h',
+ 'src/gtk/WebInputEventFactory.cpp',
+ 'src/IDBCallbacksProxy.cpp',
+ 'src/IDBCallbacksProxy.h',
+ 'src/IDBCursorBackendProxy.cpp',
+ 'src/IDBCursorBackendProxy.h',
+ 'src/IDBDatabaseCallbacksProxy.cpp',
+ 'src/IDBDatabaseCallbacksProxy.h',
+ 'src/IDBDatabaseBackendProxy.cpp',
+ 'src/IDBDatabaseBackendProxy.h',
+ 'src/IDBFactoryBackendProxy.cpp',
+ 'src/IDBFactoryBackendProxy.h',
+ 'src/IDBIndexBackendProxy.cpp',
+ 'src/IDBIndexBackendProxy.h',
+ 'src/IDBObjectStoreBackendProxy.cpp',
+ 'src/IDBObjectStoreBackendProxy.h',
+ 'src/IDBTransactionBackendProxy.cpp',
+ 'src/IDBTransactionBackendProxy.h',
+ 'src/IDBTransactionCallbacksProxy.cpp',
+ 'src/IDBTransactionCallbacksProxy.h',
+ 'src/InspectorClientImpl.cpp',
+ 'src/InspectorClientImpl.h',
+ 'src/InspectorFrontendClientImpl.cpp',
+ 'src/InspectorFrontendClientImpl.h',
+ 'src/linux/WebFontRendering.cpp',
+ 'src/linux/WebFontRenderStyle.cpp',
+ 'src/linux/WebRenderTheme.cpp',
+ 'src/x11/WebScreenInfoFactory.cpp',
+ 'src/mac/WebInputEventFactory.mm',
+ 'src/mac/WebScreenInfoFactory.mm',
+ 'src/LocalFileSystemChromium.cpp',
+ 'src/LocalizedStrings.cpp',
+ 'src/MediaPlayerPrivateChromium.cpp',
+ 'src/NotificationPresenterImpl.h',
+ 'src/NotificationPresenterImpl.cpp',
+ 'src/painting/GraphicsContextBuilder.h',
+ 'src/PlatformBridge.cpp',
+ 'src/PlatformMessagePortChannel.cpp',
+ 'src/PlatformMessagePortChannel.h',
+ 'src/ResourceHandle.cpp',
+ 'src/SharedWorkerRepository.cpp',
+ 'src/SocketStreamHandle.cpp',
+ 'src/SpeechInputClientImpl.cpp',
+ 'src/SpeechInputClientImpl.h',
+ 'src/StorageAreaProxy.cpp',
+ 'src/StorageAreaProxy.h',
+ 'src/StorageEventDispatcherChromium.cpp',
+ 'src/StorageEventDispatcherImpl.cpp',
+ 'src/StorageEventDispatcherImpl.h',
+ 'src/StorageInfoChromium.cpp',
+ 'src/StorageNamespaceProxy.cpp',
+ 'src/StorageNamespaceProxy.h',
+ 'src/TemporaryGlue.h',
+ 'src/WebTextCheckingCompletionImpl.h',
+ 'src/WebTextCheckingCompletionImpl.cpp',
+ 'src/VideoFrameChromiumImpl.cpp',
+ 'src/VideoFrameChromiumImpl.h',
+ 'src/WebAccessibilityCache.cpp',
+ 'src/WebAccessibilityCacheImpl.cpp',
+ 'src/WebAccessibilityCacheImpl.h',
+ 'src/WebAccessibilityObject.cpp',
+ 'src/WebAnimationControllerImpl.cpp',
+ 'src/WebAnimationControllerImpl.h',
+ 'src/WebAttribute.cpp',
+ 'src/WebAudioBus.cpp',
+ 'src/WebBindings.cpp',
+ 'src/WebBlobData.cpp',
+ 'src/WebCache.cpp',
+ 'src/WebColor.cpp',
+ 'src/WebCommon.cpp',
+ 'src/WebCrossOriginPreflightResultCache.cpp',
+ 'src/WebCString.cpp',
+ 'src/WebCursorInfo.cpp',
+ 'src/WebDOMEvent.cpp',
+ 'src/WebDOMEventListener.cpp',
+ 'src/WebDOMEventListenerPrivate.cpp',
+ 'src/WebDOMEventListenerPrivate.h',
+ 'src/WebDOMMouseEvent.cpp',
+ 'src/WebDOMMutationEvent.cpp',
+ 'src/WebDOMStringList.cpp',
+ 'src/WebData.cpp',
+ 'src/WebDatabase.cpp',
+ 'src/WebDataSourceImpl.cpp',
+ 'src/WebDataSourceImpl.h',
+ 'src/WebDevToolsAgentImpl.cpp',
+ 'src/WebDevToolsAgentImpl.h',
+ 'src/WebDevToolsFrontendImpl.cpp',
+ 'src/WebDevToolsFrontendImpl.h',
+ 'src/WebDeviceOrientation.cpp',
+ 'src/WebDeviceOrientationClientMock.cpp',
+ 'src/WebDeviceOrientationController.cpp',
+ 'src/WebDocument.cpp',
+ 'src/WebDocumentType.cpp',
+ 'src/WebDragData.cpp',
+ 'src/WebElement.cpp',
+ 'src/WebEntities.cpp',
+ 'src/WebEntities.h',
+ 'src/WebFileChooserCompletionImpl.cpp',
+ 'src/WebFileChooserCompletionImpl.h',
+ 'src/WebFileSystemCallbacksImpl.cpp',
+ 'src/WebFileSystemCallbacksImpl.h',
+ 'src/WebFontCache.cpp',
+ 'src/WebFontDescription.cpp',
+ 'src/WebFontImpl.cpp',
+ 'src/WebFontImpl.h',
+ 'src/WebFormControlElement.cpp',
+ 'src/WebFormElement.cpp',
+ 'src/WebFrameImpl.cpp',
+ 'src/WebFrameImpl.h',
+ 'src/WebGeolocationController.cpp',
+ 'src/WebGeolocationClientMock.cpp',
+ 'src/WebGeolocationError.cpp',
+ 'src/WebGeolocationPermissionRequest.cpp',
+ 'src/WebGeolocationPermissionRequestManager.cpp',
+ 'src/WebGeolocationPosition.cpp',
+ 'src/WebGlyphCache.cpp',
+ 'src/WebHistoryItem.cpp',
+ 'src/WebHTTPBody.cpp',
+ 'src/WebHTTPLoadInfo.cpp',
+ 'src/WebIconLoadingCompletionImpl.cpp',
+ 'src/WebIconLoadingCompletionImpl.h',
+ 'src/WebIDBCallbacksImpl.cpp',
+ 'src/WebIDBCallbacksImpl.h',
+ 'src/WebIDBCursorImpl.cpp',
+ 'src/WebIDBCursorImpl.h',
+ 'src/WebIDBDatabaseCallbacksImpl.cpp',
+ 'src/WebIDBDatabaseCallbacksImpl.h',
+ 'src/WebIDBDatabaseError.cpp',
+ 'src/WebIDBDatabaseImpl.cpp',
+ 'src/WebIDBDatabaseImpl.h',
+ 'src/WebIDBFactoryImpl.cpp',
+ 'src/WebIDBFactoryImpl.h',
+ 'src/WebIDBIndexImpl.cpp',
+ 'src/WebIDBIndexImpl.h',
+ 'src/WebIDBKey.cpp',
+ 'src/WebIDBKeyPath.cpp',
+ 'src/WebIDBKeyRange.cpp',
+ 'src/WebIDBObjectStoreImpl.cpp',
+ 'src/WebIDBObjectStoreImpl.h',
+ 'src/WebIDBTransactionImpl.cpp',
+ 'src/WebIDBTransactionImpl.h',
+ 'src/WebIDBTransactionCallbacksImpl.cpp',
+ 'src/WebIDBTransactionCallbacksImpl.h',
+ 'src/WebImageCG.cpp',
+ 'src/WebImageDecoder.cpp',
+ 'src/WebImageSkia.cpp',
+ 'src/WebInputElement.cpp',
+ 'src/WebInputEvent.cpp',
+ 'src/WebInputEventConversion.cpp',
+ 'src/WebInputEventConversion.h',
+ 'src/WebKit.cpp',
+ 'src/WebLabelElement.cpp',
+ 'src/WebMediaElement.cpp',
+ 'src/WebMediaPlayerClientImpl.cpp',
+ 'src/WebMediaPlayerClientImpl.h',
+ 'src/WebNamedNodeMap.cpp',
+ 'src/WebNetworkStateNotifier.cpp',
+ 'src/WebNode.cpp',
+ 'src/WebNodeCollection.cpp',
+ 'src/WebNodeList.cpp',
+ 'src/WebNotification.cpp',
+ 'src/WebOptionElement.cpp',
+ 'src/WebPageSerializer.cpp',
+ 'src/WebPageSerializerImpl.cpp',
+ 'src/WebPageSerializerImpl.h',
+ 'src/WebPasswordFormData.cpp',
+ 'src/WebPasswordFormUtils.cpp',
+ 'src/WebPasswordFormUtils.h',
+ 'src/WebPerformance.cpp',
+ 'src/WebPluginContainerImpl.h',
+ 'src/WebPluginContainerImpl.cpp',
+ 'src/WebPluginDocument.cpp',
+ 'src/WebPluginListBuilderImpl.cpp',
+ 'src/WebPluginListBuilderImpl.h',
+ 'src/WebPluginLoadObserver.cpp',
+ 'src/WebPluginLoadObserver.h',
+ 'src/WebPopupMenuImpl.cpp',
+ 'src/WebPopupMenuImpl.h',
+ 'src/WebRange.cpp',
+ 'src/WebRegularExpression.cpp',
+ 'src/WebRuntimeFeatures.cpp',
+ 'src/WebScriptController.cpp',
+ 'src/WebScrollbarImpl.cpp',
+ 'src/WebScrollbarImpl.h',
+ 'src/WebSearchableFormData.cpp',
+ 'src/WebSecurityOrigin.cpp',
+ 'src/WebSecurityPolicy.cpp',
+ 'src/WebSelectElement.cpp',
+ 'src/WebSerializedScriptValue.cpp',
+ 'src/WebSettingsImpl.cpp',
+ 'src/WebSettingsImpl.h',
+ 'src/WebSharedWorkerImpl.cpp',
+ 'src/WebSharedWorkerImpl.h',
+ 'src/WebSpeechInputControllerMockImpl.cpp',
+ 'src/WebSpeechInputControllerMockImpl.h',
+ 'src/WebSpeechInputResult.cpp',
+ 'src/WebStorageAreaImpl.cpp',
+ 'src/WebStorageAreaImpl.h',
+ 'src/WebStorageEventDispatcherImpl.cpp',
+ 'src/WebStorageEventDispatcherImpl.h',
+ 'src/WebStorageNamespaceImpl.cpp',
+ 'src/WebStorageNamespaceImpl.h',
+ 'src/WebStorageQuotaCallbacksImpl.cpp',
+ 'src/WebStorageQuotaCallbacksImpl.h',
+ 'src/WebString.cpp',
+ 'src/WebTextRun.cpp',
+ 'src/WebThreadSafeData.cpp',
+ 'src/WebURL.cpp',
+ 'src/WebURLLoadTiming.cpp',
+ 'src/WebURLRequest.cpp',
+ 'src/WebURLRequestPrivate.h',
+ 'src/WebURLResponse.cpp',
+ 'src/WebURLResponsePrivate.h',
+ 'src/WebURLError.cpp',
+ 'src/WebViewImpl.cpp',
+ 'src/WebViewImpl.h',
+ 'src/WebWorkerBase.cpp',
+ 'src/WebWorkerBase.h',
+ 'src/WebWorkerClientImpl.cpp',
+ 'src/WebWorkerClientImpl.h',
+ 'src/WebWorkerImpl.cpp',
+ 'src/WebWorkerImpl.h',
+ 'src/WorkerAsyncFileSystemChromium.cpp',
+ 'src/WorkerAsyncFileSystemChromium.h',
+ 'src/WorkerAsyncFileWriterChromium.cpp',
+ 'src/WorkerAsyncFileWriterChromium.h',
+ 'src/WorkerFileSystemCallbacksBridge.cpp',
+ 'src/WorkerFileSystemCallbacksBridge.h',
+ 'src/WorkerFileWriterCallbacksBridge.cpp',
+ 'src/WorkerFileWriterCallbacksBridge.h',
+ 'src/WrappedResourceRequest.h',
+ 'src/WrappedResourceResponse.h',
+ 'src/win/WebInputEventFactory.cpp',
+ 'src/win/WebScreenInfoFactory.cpp',
+ ],
+ 'conditions': [
+ ['inside_chromium_build==1 and OS=="win"', {
+ 'type': '<(component)',
+
+ 'conditions': [
+ ['component=="shared_library"', {
+ 'defines': [
+ 'WEBKIT_DLL',
+ ],
+ 'dependencies': [
+ '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings',
+ '<(chromium_src_dir)/base/base.gyp:test_support_base',
+ '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
+ '<(chromium_src_dir)/testing/gtest.gyp:gtest',
+ '<(chromium_src_dir)/testing/gmock.gyp:gmock',
+ '<(chromium_src_dir)/third_party/icu/icu.gyp:*',
+ '<(chromium_src_dir)/third_party/libjpeg/libjpeg.gyp:libjpeg',
+ '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng',
+ '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml',
+ '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt',
+ '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64',
+ '<(chromium_src_dir)/third_party/nss/nss.gyp:*',
+ '<(chromium_src_dir)/third_party/ots/ots.gyp:ots',
+ '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
+ '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ # We must not add webkit_support here because of cyclic dependency.
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'WEBKIT_DLL',
+ ],
+ },
+ 'export_dependent_settings': [
+ '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
+ '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ ],
+ 'sources': [
+ '<@(webkit_unittest_files)',
+ 'tests/PopupMenuTest.cpp',
+ 'tests/TransparencyWinTest.cpp',
+ 'tests/UniscribeHelperTest.cpp',
+ 'tests/WebUnitTests.cpp'
+ ],
+ 'sources!' : [
+ # We should not include files dpending on webkit_support.
+ 'tests/CCThreadTest.cpp',
+ # WebFrameTest.cpp depends on webkit_support and
+ # functions defined only in !WEBKIT_IMPLEMENTATION.
+ 'tests/WebFrameTest.cpp',
+ ]
+ }],
+ ],
+ }, {
+ 'type': '<(webkit_target_type)'
+ }],
+ ['OS=="linux" or OS=="freebsd"', {
+ 'dependencies': [
+ '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
+ '<(chromium_src_dir)/build/linux/system.gyp:gtk',
+ '<(chromium_src_dir)/build/linux/system.gyp:x11',
+ ],
+ 'include_dirs': [
+ 'public/x11',
+ 'public/gtk',
+ 'public/linux',
+ ],
+ }, { # else: OS!="linux" and OS!="freebsd"
+ 'sources/': [
+ ['exclude', '/gtk/'],
+ ['exclude', '/x11/'],
+ ['exclude', '/linux/'],
+ ],
+ }],
+ ['OS=="mac"', {
+ 'include_dirs': [
+ 'public/mac',
+ ],
+ 'sources/': [
+ ['exclude', 'Skia\\.cpp$'],
+ ],
+ }, { # else: OS!="mac"
+ 'sources/': [
+ ['exclude', '/mac/'],
+ ['exclude', 'CG\\.cpp$'],
+ ],
+ }],
+ ['OS=="win"', {
+ 'include_dirs': [
+ 'public/win',
+ ],
+ }, { # else: OS!="win"
+ 'sources/': [['exclude', '/win/']],
+ 'variables': {
+ # FIXME: Turn on warnings on Windows.
+ 'chromium_code': 1,
+ }
+ }],
+ ['"ENABLE_WEBGL=1" in feature_defines', {
+ 'conditions': [
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
+ ],
+ },
+ }],
+ ],
+ }],
+ ],
+ },
+
+ {
+ 'target_name': 'inspector_resources',
+ 'type': 'none',
+ 'dependencies': [
+ 'devtools_html',
+ '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources',
+ ],
+ 'conditions': [
+ ['debug_devtools==0', {
+ 'dependencies': ['concatenated_devtools_js',
+ 'concatenated_script_formatter_worker_js',
+ 'concatenated_devtools_css'],
+ }],
+ ],
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/inspector',
+ 'files': [
+ '<@(devtools_files)',
+ '<@(webinspector_files)',
+ '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js',
+ ],
+ 'conditions': [
+ ['debug_devtools==0', {
+ 'files/': [['exclude', '\\.(js|css|html)$']],
+ }],
+ ],
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/inspector/UglifyJS',
+ 'files': [
+ '<@(webinspector_uglifyjs_files)',
+ ],
+ 'conditions': [
+ ['debug_devtools==0', {
+ 'files/': [['exclude', '\\.(js|css|html)$']],
+ }],
+ ],
+ },
+ {
+ 'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
+ 'files': [
+ '<@(webinspector_image_files)',
+ '<@(devtools_image_files)',
+ ],
+ },
+ ],
+ },
+ {
+ 'target_name': 'devtools_html',
+ 'type': 'none',
+ 'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
+ 'actions': [{
+ 'action_name': 'devtools_html',
+ 'script_name': 'scripts/generate_devtools_html.py',
+ 'input_page': '../../WebCore/inspector/front-end/inspector.html',
+ 'inputs': [
+ '<@(_script_name)',
+ '<@(_input_page)',
+ '<@(devtools_files)',
+ ],
+ 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
+ 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_outputs)', '<@(debug_devtools)', '<@(devtools_files)'],
+ }],
+ },
+ {
+ 'target_name': 'generate_devtools_grd',
+ 'type': 'none',
+ 'dependencies': [
+ 'devtools_html',
+ ],
+ 'conditions': [
+ ['debug_devtools==0', {
+ 'dependencies': ['concatenated_devtools_js',
+ 'concatenated_script_formatter_worker_js',
+ 'concatenated_devtools_css'],
+ },{
+ # If we're not concatenating devtools files, we want to
+ # run after the original files have been copied to
+ # <(PRODUCT_DIR)/resources/inspector.
+ 'dependencies': ['inspector_resources'],
+ }],
+ ],
+ 'actions': [{
+ 'action_name': 'generate_devtools_grd',
+ 'script_name': 'scripts/generate_devtools_grd.py',
+ 'input_pages': [
+ '<(PRODUCT_DIR)/resources/inspector/devtools.html',
+ '<(PRODUCT_DIR)/resources/inspector/DevTools.js',
+ '<(PRODUCT_DIR)/resources/inspector/ScriptFormatterWorker.js',
+ '<(PRODUCT_DIR)/resources/inspector/devTools.css',
+ ],
+ 'images': [
+ '<@(webinspector_image_files)',
+ '<@(devtools_image_files)',
+ ],
+ 'inputs': [
+ '<@(_script_name)',
+ '<@(_input_pages)',
+ '<@(_images)',
+ ],
+ 'search_path': [
+ '../../WebCore/inspector/front-end/Images',
+ 'src/js/Images',
+ ],
+ 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd'],
+ 'action': ['python', '<@(_script_name)', '<@(_input_pages)', '--images', '<@(_search_path)', '--output', '<@(_outputs)'],
+ }],
+ },
+ {
+ 'target_name': 'webkit_unit_tests',
+ 'type': 'executable',
+ 'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD',
+ 'dependencies': [
+ 'webkit',
+ '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
+ '<(chromium_src_dir)/testing/gtest.gyp:gtest',
+ '<(chromium_src_dir)/testing/gmock.gyp:gmock',
+ '<(chromium_src_dir)/base/base.gyp:base',
+ '<(chromium_src_dir)/base/base.gyp:base_i18n',
+ '<(chromium_src_dir)/base/base.gyp:test_support_base',
+ '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
+ ],
+ 'sources': [
+ 'tests/RunAllTests.cpp',
+ ],
+ 'include_dirs': [
+ 'public',
+ 'src',
+ ],
+ 'conditions': [
+ ['inside_chromium_build==1 and OS=="win" and component=="shared_library"', {
+ 'defines': [
+ 'WEBKIT_DLL_UNITTEST',
+ ],
+ }, {
+ 'sources': [
+ '<@(webkit_unittest_files)',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'sources': [
+ # FIXME: Port PopupMenuTest to Linux and Mac.
+ 'tests/PopupMenuTest.cpp',
+ 'tests/TransparencyWinTest.cpp',
+ 'tests/UniscribeHelperTest.cpp',
+ 'tests/WebPageSerializerTest.cpp',
+ ],
+ }],
+ ['OS=="mac"', {
+ 'sources!': [
+ # FIXME: Port DragImageTest to Mac.
+ 'tests/DragImageTest.cpp',
+ ],
+ }],
+ ['OS=="linux" or OS=="freebsd"', {
+ 'sources': [
+ 'tests/WebInputEventFactoryTestGtk.cpp',
+ ],
+ 'include_dirs': [
+ 'public/gtk',
+ ],
+ 'variables': {
+ # FIXME: Enable warnings on other platforms.
+ 'chromium_code': 1,
+ },
+ }],
+ ],
+ }],
+ ['inside_chromium_build==1 and OS=="win" and component!="shared_library"', {
+ 'configurations': {
+ 'Debug_Base': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
+ },
+ },
+ },
+ },
+ }],
+ ],
+ },
+ {
+ 'target_name': 'ImageDiff',
+ 'type': 'executable',
+ 'dependencies': [
+ 'webkit',
+ '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
+ '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
+ ],
+ 'include_dirs': [
+ '../../JavaScriptCore',
+ '<(DEPTH)',
+ ],
+ 'sources': [
+ '../../../Tools/DumpRenderTree/chromium/ImageDiff.cpp',
+ ],
+ },
+ {
+ 'target_name': 'DumpRenderTree',
+ 'type': 'executable',
+ 'mac_bundle': 1,
+ 'dependencies': [
+ 'ImageDiff',
+ 'inspector_resources',
+ 'TestNetscapePlugIn',
+ 'copy_TestNetscapePlugIn',
+ 'webkit',
+ '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config',
+ '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
+ '<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa',
+ '<(chromium_src_dir)/webkit/support/webkit_support.gyp:blob',
+ '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',
+ ],
+ 'include_dirs': [
+ '<(chromium_src_dir)',
+ 'public',
+ '../../JavaScriptCore',
+ '../../JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/.
+ '<(DEPTH)',
+ ],
+ 'defines': [
+ # Technically not a unit test but require functions available only to
+ # unit tests.
+ 'UNIT_TEST',
+ ],
+ 'sources': [
+ '<@(drt_files)',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'dependencies': [
+ 'LayoutTestHelper',
+ '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libEGL',
+ '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libGLESv2',
+ ],
+
+ 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/webkit'],
+ 'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc',
+ ],
+ 'conditions': [
+ ['inside_chromium_build==1 and component=="shared_library"', {
+ 'sources': [
+ 'src/ChromiumCurrentTime.cpp',
+ 'src/ChromiumThreading.cpp',
+ ],
+ 'include_dirs': [
+ 'public',
+ ],
+ 'dependencies': [
+ '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf',
+ ],
+ }],
+ ['inside_chromium_build==1', {
+ 'configurations': {
+ 'Debug_Base': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
+ },
+ },
+ },
+ },
+ }],
+ ],
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': ['<(ahem_path)'],
+ }],
+ },{ # OS!="win"
+ 'sources/': [
+ ['exclude', 'Win\\.cpp$'],
+ ],
+ 'actions': [
+ {
+ 'action_name': 'repack_locale',
+ 'variables': {
+ 'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py',
+ 'pak_inputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
+ ]},
+ 'inputs': [
+ '<(repack_path)',
+ '<@(pak_inputs)',
+ ],
+ 'outputs': [
+ '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
+ ],
+ 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
+ 'process_outputs_as_mac_bundle_resources': 1,
+ },
+ ], # actions
+ }],
+ ['OS=="mac"', {
+ 'dependencies': [
+ 'copy_mesa',
+ 'LayoutTestHelper',
+ ],
+ 'mac_bundle_resources': [
+ '<(ahem_path)',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher100.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher200.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher300.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher400.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher500.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher600.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher700.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher800.ttf',
+ '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher900.ttf',
+ '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png',
+ ],
+ },{ # OS!="mac"
+ 'sources/': [
+ # .mm is already excluded by common.gypi
+ ['exclude', 'Mac\\.cpp$'],
+ ],
+ }],
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ 'dependencies': [
+ '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
+ '<(chromium_src_dir)/build/linux/system.gyp:gtk',
+ ],
+ 'include_dirs': [
+ 'public/gtk',
+ ],
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [
+ '<(ahem_path)',
+ '../../../Tools/DumpRenderTree/chromium/fonts.conf',
+ '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak',
+ ]
+ }],
+ 'variables': {
+ # FIXME: Enable warnings on other platforms.
+ 'chromium_code': 1,
+ },
+ },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris"
+ 'sources/': [
+ ['exclude', '(Gtk|Linux)\\.cpp$']
+ ]
+ }],
+ ['inside_chromium_build==0', {
+ 'dependencies': [
+ '<(chromium_src_dir)/webkit/support/setup_third_party.gyp:third_party_headers',
+ ]
+ }],
+ ],
+ },
+ {
+ 'target_name': 'TestNetscapePlugIn',
+ 'type': 'loadable_module',
+ 'sources': [ '<@(test_plugin_files)' ],
+ 'dependencies': [
+ '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
+ ],
+ 'include_dirs': [
+ '<(chromium_src_dir)',
+ '../../../Tools/DumpRenderTree/TestNetscapePlugIn',
+ '../../../Tools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders',
+ ],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'mac_bundle': 1,
+ 'product_name': 'TestNetscapePlugIn',
+ 'product_extension': 'plugin',
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
+ '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
+ '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
+ ]
+ },
+ 'xcode_settings': {
+ 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
+ 'INFOPLIST_FILE': '../../../Tools/DumpRenderTree/TestNetscapePlugIn/mac/Info.plist',
+ },
+ }],
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ 'cflags': [
+ '-fvisibility=default',
+ ],
+ }],
+ ['OS=="win"', {
+ 'defines': [
+ # This seems like a hack, but this is what Safari Win does.
+ 'snprintf=_snprintf',
+ ],
+ 'sources': [
+ '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def',
+ '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc',
+ ],
+ # The .rc file requires that the name of the dll is npTestNetscapePlugin.dll.
+ # This adds the 'np' to the dll name.
+ 'product_prefix': 'np',
+ }],
+ ],
+ },
+ {
+ 'target_name': 'copy_TestNetscapePlugIn',
+ 'type': 'none',
+ 'dependencies': [
+ 'TestNetscapePlugIn',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)/plugins',
+ 'files': ['<(PRODUCT_DIR)/npTestNetscapePlugIn.dll'],
+ }],
+ }],
+ ['OS=="mac"', {
+ 'dependencies': ['TestNetscapePlugIn'],
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)/plugins/',
+ 'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'],
+ }],
+ }],
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)/plugins',
+ 'files': ['<(PRODUCT_DIR)/libTestNetscapePlugIn.so'],
+ }],
+ }],
+ ],
+ },
+ ], # targets
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [{
+ 'target_name': 'LayoutTestHelper',
+ 'type': 'executable',
+ 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'],
+ }],
+ }],
+ ['OS=="mac"', {
+ 'targets': [
+ {
+ 'target_name': 'LayoutTestHelper',
+ 'type': 'executable',
+ 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelper.mm'],
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
+ ],
+ },
+ },
+ {
+ 'target_name': 'copy_mesa',
+ 'type': 'none',
+ 'dependencies': ['<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa'],
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/MacOS/',
+ 'files': ['<(PRODUCT_DIR)/osmesa.so'],
+ }],
+ },
+ ],
+ }],
+ ['debug_devtools==0', {
+ 'targets': [
+ {
+ 'target_name': 'concatenated_devtools_js',
+ 'type': 'none',
+ 'dependencies': [
+ 'devtools_html',
+ '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources'
+ ],
+ 'actions': [{
+ 'action_name': 'concatenate_devtools_js',
+ 'script_name': 'scripts/concatenate_js_files.py',
+ 'input_page': '../../WebCore/inspector/front-end/inspector.html',
+ 'inputs': [
+ '<@(_script_name)',
+ '<@(_input_page)',
+ '<@(webinspector_files)',
+ '<@(devtools_files)',
+ '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js'
+ ],
+ 'search_path': [
+ '../../WebCore/inspector/front-end',
+ 'src/js',
+ '<(SHARED_INTERMEDIATE_DIR)/webcore',
+ ],
+ 'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
+ 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
+ }],
+ },
+ {
+ 'target_name': 'concatenated_script_formatter_worker_js',
+ 'type': 'none',
+ 'actions': [{
+ 'action_name': 'concatenate_script_formatter_worker_js',
+ 'script_name': 'scripts/inline_js_imports.py',
+ 'input_file': '../../WebCore/inspector/front-end/ScriptFormatterWorker.js',
+ 'inputs': [
+ '<@(_script_name)',
+ '<@(webinspector_uglifyjs_files)'
+ ],
+ 'search_path': '../../WebCore/inspector/front-end',
+ 'outputs': ['<(PRODUCT_DIR)/resources/inspector/ScriptFormatterWorker.js'],
+ 'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
+ }],
+ },
+ {
+ 'target_name': 'concatenated_devtools_css',
+ 'type': 'none',
+ 'dependencies': [
+ 'devtools_html'
+ ],
+ 'actions': [{
+ 'action_name': 'concatenate_devtools_css',
+ 'script_name': 'scripts/concatenate_css_files.py',
+ 'input_page': '../../WebCore/inspector/front-end/inspector.html',
+ 'inputs': [
+ '<@(_script_name)',
+ '<@(_input_page)',
+ '<@(webinspector_files)',
+ '<@(devtools_files)'
+ ],
+ 'search_path': [
+ '../../WebCore/inspector/front-end',
+ 'src/js',
+ ],
+ 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
+ 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
+ }],
+ },
+ ],
+ }],
+ ], # conditions
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: