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 '../../../Tools/DumpRenderTree/DumpRenderTree.gypi', 35 'WebKit.gypi', 36 'features.gypi', 37 ], 38 'variables': { 39 'conditions': [ 40 # Location of the chromium src directory and target type is different 41 # if webkit is built inside chromium or as standalone project. 42 ['inside_chromium_build==0', { 43 # Webkit is being built outside of the full chromium project. 44 # e.g. via build-webkit --chromium 45 'chromium_src_dir': '../../WebKit/chromium', 46 'webkit_target_type': 'static_library', 47 },{ 48 # WebKit is checked out in src/chromium/third_party/WebKit 49 'chromium_src_dir': '../../../../..', 50 'webkit_target_type': '<(library)', 51 }], 52 ], 53 'ahem_path': '../../../Tools/DumpRenderTree/qt/fonts/AHEM____.TTF', 54 55 # If debug_devtools is set to 1, JavaScript files for DevTools are 56 # stored as is. Otherwise, a concatenated file is stored. 57 'debug_devtools%': 0, 58 59 # List of DevTools source files, ordered by dependencies. It is used both 60 # for copying them to resource dir, and for generating 'devtools.html' file. 61 'devtools_files': [ 62 '<@(devtools_css_files)', 63 '<@(devtools_js_files)', 64 ], 65 }, 66 'targets': [ 67 { 68 'target_name': 'webkit', 69 'msvs_guid': '5ECEC9E5-8F23-47B6-93E0-C3B328B3BE65', 70 'dependencies': [ 71 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore', 72 '<(chromium_src_dir)/app/app.gyp:app_base', # For GLContext 73 '<(chromium_src_dir)/skia/skia.gyp:skia', 74 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi', 75 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:translator_glsl', 76 ], 77 'export_dependent_settings': [ 78 '<(chromium_src_dir)/skia/skia.gyp:skia', 79 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi', 80 ], 81 'include_dirs': [ 82 'public', 83 'src', 84 '<(chromium_src_dir)/third_party/angle/include', 85 ], 86 'defines': [ 87 'WEBKIT_IMPLEMENTATION=1', 88 ], 89 'sources': [ 90 'public/gtk/WebInputEventFactory.h', 91 'public/linux/WebFontRendering.h', 92 'public/linux/WebFontRenderStyle.h', 93 'public/linux/WebRenderTheme.h', 94 'public/linux/WebThemeEngine.h', 95 'public/x11/WebScreenInfoFactory.h', 96 'public/mac/WebInputEventFactory.h', 97 'public/mac/WebSandboxSupport.h', 98 'public/mac/WebScreenInfoFactory.h', 99 'public/mac/WebThemeEngine.h', 100 'public/WebAccessibilityCache.h', 101 'public/WebAccessibilityNotification.h', 102 'public/WebAccessibilityObject.h', 103 'public/WebAccessibilityRole.h', 104 'public/WebAnimationController.h', 105 'public/WebApplicationCacheHost.h', 106 'public/WebApplicationCacheHostClient.h', 107 'public/WebAttribute.h', 108 'public/WebAudioBus.h', 109 'public/WebAudioDevice.h', 110 'public/WebAutoFillClient.h', 111 'public/WebBindings.h', 112 'public/WebBlobData.h', 113 'public/WebBlobRegistry.h', 114 'public/WebCache.h', 115 'public/WebCanvas.h', 116 'public/WebClipboard.h', 117 'public/WebColor.h', 118 'public/WebColorName.h', 119 'public/WebCommon.h', 120 'public/WebCommonWorkerClient.h', 121 'public/WebCompositionUnderline.h', 122 'public/WebConsoleMessage.h', 123 'public/WebContextMenuData.h', 124 'public/WebCookie.h', 125 'public/WebCookieJar.h', 126 'public/WebCrossOriginPreflightResultCache.h', 127 'public/WebCString.h', 128 'public/WebCursorInfo.h', 129 'public/WebDOMEvent.h', 130 'public/WebDOMEventListener.h', 131 'public/WebDOMMouseEvent.h', 132 'public/WebDOMMutationEvent.h', 133 'public/WebDOMStringList.h', 134 'public/WebData.h', 135 'public/WebDatabase.h', 136 'public/WebDatabaseObserver.h', 137 'public/WebDataSource.h', 138 'public/WebDevToolsAgent.h', 139 'public/WebDevToolsAgentClient.h', 140 'public/WebDevToolsFrontend.h', 141 'public/WebDevToolsFrontendClient.h', 142 'public/WebDeviceOrientation.h', 143 'public/WebDeviceOrientationClient.h', 144 'public/WebDeviceOrientationClientMock.h', 145 'public/WebDeviceOrientationController.h', 146 'public/WebDocument.h', 147 'public/WebDocumentType.h', 148 'public/WebDragData.h', 149 'public/WebEditingAction.h', 150 'public/WebElement.h', 151 'public/WebExceptionCode.h', 152 'public/WebExternalPopupMenu.h', 153 'public/WebExternalPopupMenuClient.h', 154 'public/WebFileChooserCompletion.h', 155 'public/WebFileChooserParams.h', 156 'public/WebFileError.h', 157 'public/WebFileInfo.h', 158 'public/WebFileSystem.h', 159 'public/WebFileSystemCallbacks.h', 160 'public/WebFileSystemEntry.h', 161 'public/WebFileUtilities.h', 162 'public/WebFileWriter.h', 163 'public/WebFileWriterClient.h', 164 'public/WebFindOptions.h', 165 'public/WebFloatPoint.h', 166 'public/WebFloatRect.h', 167 'public/WebFont.h', 168 'public/WebFontDescription.h', 169 'public/WebFrame.h', 170 'public/WebFrameClient.h', 171 'public/WebFontCache.h', 172 'public/WebFormControlElement.h', 173 'public/WebFormElement.h', 174 'public/WebGeolocationClient.h', 175 'public/WebGeolocationClientMock.h', 176 'public/WebGeolocationController.h', 177 'public/WebGeolocationError.h', 178 'public/WebGeolocationPermissionRequest.h', 179 'public/WebGeolocationPermissionRequestManager.h', 180 'public/WebGeolocationPosition.h', 181 'public/WebGlyphCache.h', 182 'public/WebGraphicsContext3D.h', 183 'public/WebHistoryItem.h', 184 'public/WebHTTPBody.h', 185 'public/WebHTTPLoadInfo.h', 186 'public/WebIconLoadingCompletion.h', 187 'public/WebImage.h', 188 'public/WebImageDecoder.h', 189 'public/WebIDBCallbacks.h', 190 'public/WebIDBCursor.h', 191 'public/WebIDBDatabase.h', 192 'public/WebIDBDatabaseCallbacks.h', 193 'public/WebIDBDatabaseError.h', 194 'public/WebIDBFactory.h', 195 'public/WebIDBKeyRange.h', 196 'public/WebIDBIndex.h', 197 'public/WebIDBKey.h', 198 'public/WebIDBKeyPath.h', 199 'public/WebIDBObjectStore.h', 200 'public/WebIDBTransaction.h', 201 'public/WebIDBTransactionCallbacks.h', 202 'public/WebInputElement.h', 203 'public/WebInputEvent.h', 204 'public/WebKit.h', 205 'public/WebKitClient.h', 206 'public/WebLabelElement.h', 207 'public/WebLocalizedString.h', 208 'public/WebMediaElement.h', 209 'public/WebMediaPlayer.h', 210 'public/WebMediaPlayerAction.h', 211 'public/WebMediaPlayerClient.h', 212 'public/WebMenuItemInfo.h', 213 'public/WebMessagePortChannel.h', 214 'public/WebMessagePortChannelClient.h', 215 'public/WebMimeRegistry.h', 216 'public/WebNamedNodeMap.h', 217 'public/WebNavigationType.h', 218 'public/WebNetworkStateNotifier.h', 219 'public/WebNode.h', 220 'public/WebNodeCollection.h', 221 'public/WebNodeList.h', 222 'public/WebNonCopyable.h', 223 'public/WebNotification.h', 224 'public/WebNotificationPresenter.h', 225 'public/WebNotificationPermissionCallback.h', 226 'public/WebOptionElement.h', 227 'public/WebPageSerializer.h', 228 'public/WebPageSerializerClient.h', 229 'public/WebPasswordAutocompleteListener.h', 230 'public/WebPasswordFormData.h', 231 'public/WebPerformance.h', 232 'public/WebPlugin.h', 233 'public/WebPluginContainer.h', 234 'public/WebPluginDocument.h', 235 'public/WebPluginListBuilder.h', 236 'public/WebPoint.h', 237 'public/WebPopupMenu.h', 238 'public/WebPopupMenuInfo.h', 239 'public/WebPopupType.h', 240 'public/WebPrivatePtr.h', 241 'public/WebPrivateOwnPtr.h', 242 'public/WebRange.h', 243 'public/WebRect.h', 244 'public/WebRegularExpression.h', 245 'public/WebRuntimeFeatures.h', 246 'public/WebScrollbar.h', 247 'public/WebScrollbarClient.h', 248 'public/WebScreenInfo.h', 249 'public/WebScriptController.h', 250 'public/WebScriptSource.h', 251 'public/WebSearchableFormData.h', 252 'public/WebSecurityOrigin.h', 253 'public/WebSecurityPolicy.h', 254 'public/WebSelectElement.h', 255 'public/WebSerializedScriptValue.h', 256 'public/WebSettings.h', 257 'public/WebSharedWorker.h', 258 'public/WebSharedWorkerRepository.h', 259 'public/WebSize.h', 260 'public/WebSocketStreamError.h', 261 'public/WebSocketStreamHandle.h', 262 'public/WebSocketStreamHandleClient.h', 263 'public/WebSpeechInputController.h', 264 'public/WebSpeechInputControllerMock.h', 265 'public/WebSpeechInputListener.h', 266 'public/WebSpeechInputResult.h', 267 'public/WebStorageArea.h', 268 'public/WebStorageEventDispatcher.h', 269 'public/WebStorageQuotaCallbacks.h', 270 'public/WebStorageQuotaType.h', 271 'public/WebStorageNamespace.h', 272 'public/WebString.h', 273 'public/WebTextAffinity.h', 274 'public/WebTextCaseSensitivity.h', 275 'public/WebTextCheckingResult.h', 276 'public/WebTextCheckingCompletion.h', 277 'public/WebTextDirection.h', 278 'public/WebTextInputType.h', 279 'public/WebTextRun.h', 280 'public/WebThreadSafeData.h', 281 'public/WebURL.h', 282 'public/WebURLError.h', 283 'public/WebURLLoader.h', 284 'public/WebURLLoaderOptions.h', 285 'public/WebURLLoadTiming.h', 286 'public/WebURLLoaderClient.h', 287 'public/WebURLRequest.h', 288 'public/WebURLResponse.h', 289 'public/WebVector.h', 290 'public/WebView.h', 291 'public/WebViewClient.h', 292 'public/WebWidget.h', 293 'public/WebWidgetClient.h', 294 'public/WebWorker.h', 295 'public/WebWorkerClient.h', 296 'public/win/WebInputEventFactory.h', 297 'public/win/WebSandboxSupport.h', 298 'public/win/WebScreenInfoFactory.h', 299 'public/win/WebThemeEngine.h', 300 'src/ApplicationCacheHost.cpp', 301 'src/ApplicationCacheHostInternal.h', 302 'src/AssertMatchingEnums.cpp', 303 'src/AssociatedURLLoader.cpp', 304 'src/AssociatedURLLoader.h', 305 'src/AsyncFileSystemChromium.cpp', 306 'src/AsyncFileSystemChromium.h', 307 'src/AsyncFileWriterChromium.cpp', 308 'src/AsyncFileWriterChromium.h', 309 'src/AudioDestinationChromium.cpp', 310 'src/AudioDestinationChromium.h', 311 'src/AutoFillPopupMenuClient.cpp', 312 'src/AutoFillPopupMenuClient.h', 313 'src/BackForwardListChromium.cpp', 314 'src/BackForwardListChromium.h', 315 'src/BlobRegistryProxy.cpp', 316 'src/BlobRegistryProxy.h', 317 'src/BoundObject.cpp', 318 'src/BoundObject.h', 319 'src/ChromeClientImpl.cpp', 320 'src/ChromeClientImpl.h', 321 'src/ChromiumCurrentTime.cpp', 322 'src/ChromiumOSRandomSource.cpp', 323 'src/ChromiumThreading.cpp', 324 'src/CompositionUnderlineBuilder.h', 325 'src/CompositionUnderlineVectorBuilder.cpp', 326 'src/CompositionUnderlineVectorBuilder.h', 327 'src/ContextMenuClientImpl.cpp', 328 'src/ContextMenuClientImpl.h', 329 'src/DatabaseObserver.cpp', 330 'src/DebuggerAgentImpl.cpp', 331 'src/DebuggerAgentImpl.h', 332 'src/DebuggerAgentManager.cpp', 333 'src/DebuggerAgentManager.h', 334 'src/DeviceOrientationClientProxy.cpp', 335 'src/DeviceOrientationClientProxy.h', 336 'src/DOMUtilitiesPrivate.cpp', 337 'src/DOMUtilitiesPrivate.h', 338 'src/DragClientImpl.cpp', 339 'src/DragClientImpl.h', 340 'src/DragScrollTimer.cpp', 341 'src/DragScrollTimer.h', 342 'src/EditorClientImpl.cpp', 343 'src/EditorClientImpl.h', 344 'src/EventListenerWrapper.cpp', 345 'src/EventListenerWrapper.h', 346 'src/Extensions3DChromium.cpp', 347 'src/ExternalPopupMenu.cpp', 348 'src/ExternalPopupMenu.h', 349 'src/FrameLoaderClientImpl.cpp', 350 'src/FrameLoaderClientImpl.h', 351 'src/FrameNetworkingContextImpl.h', 352 'src/GeolocationClientProxy.cpp', 353 'src/GeolocationClientProxy.h', 354 'src/GraphicsContext3DChromium.cpp', 355 'src/GraphicsContext3DInternal.h', 356 'src/gtk/WebFontInfo.cpp', 357 'src/gtk/WebFontInfo.h', 358 'src/gtk/WebInputEventFactory.cpp', 359 'src/IDBCallbacksProxy.cpp', 360 'src/IDBCallbacksProxy.h', 361 'src/IDBCursorBackendProxy.cpp', 362 'src/IDBCursorBackendProxy.h', 363 'src/IDBDatabaseCallbacksProxy.cpp', 364 'src/IDBDatabaseCallbacksProxy.h', 365 'src/IDBDatabaseBackendProxy.cpp', 366 'src/IDBDatabaseBackendProxy.h', 367 'src/IDBFactoryBackendProxy.cpp', 368 'src/IDBFactoryBackendProxy.h', 369 'src/IDBIndexBackendProxy.cpp', 370 'src/IDBIndexBackendProxy.h', 371 'src/IDBObjectStoreBackendProxy.cpp', 372 'src/IDBObjectStoreBackendProxy.h', 373 'src/IDBTransactionBackendProxy.cpp', 374 'src/IDBTransactionBackendProxy.h', 375 'src/IDBTransactionCallbacksProxy.cpp', 376 'src/IDBTransactionCallbacksProxy.h', 377 'src/InspectorClientImpl.cpp', 378 'src/InspectorClientImpl.h', 379 'src/InspectorFrontendClientImpl.cpp', 380 'src/InspectorFrontendClientImpl.h', 381 'src/linux/WebFontRendering.cpp', 382 'src/linux/WebFontRenderStyle.cpp', 383 'src/linux/WebRenderTheme.cpp', 384 'src/x11/WebScreenInfoFactory.cpp', 385 'src/mac/WebInputEventFactory.mm', 386 'src/mac/WebScreenInfoFactory.mm', 387 'src/LocalFileSystemChromium.cpp', 388 'src/LocalizedStrings.cpp', 389 'src/MediaPlayerPrivateChromium.cpp', 390 'src/NotificationPresenterImpl.h', 391 'src/NotificationPresenterImpl.cpp', 392 'src/painting/GraphicsContextBuilder.h', 393 'src/PlatformBridge.cpp', 394 'src/PlatformMessagePortChannel.cpp', 395 'src/PlatformMessagePortChannel.h', 396 'src/ResourceHandle.cpp', 397 'src/SharedWorkerRepository.cpp', 398 'src/SocketStreamHandle.cpp', 399 'src/SpeechInputClientImpl.cpp', 400 'src/SpeechInputClientImpl.h', 401 'src/StorageAreaProxy.cpp', 402 'src/StorageAreaProxy.h', 403 'src/StorageEventDispatcherChromium.cpp', 404 'src/StorageEventDispatcherImpl.cpp', 405 'src/StorageEventDispatcherImpl.h', 406 'src/StorageInfoChromium.cpp', 407 'src/StorageNamespaceProxy.cpp', 408 'src/StorageNamespaceProxy.h', 409 'src/TemporaryGlue.h', 410 'src/WebTextCheckingCompletionImpl.h', 411 'src/WebTextCheckingCompletionImpl.cpp', 412 'src/VideoFrameChromiumImpl.cpp', 413 'src/VideoFrameChromiumImpl.h', 414 'src/WebAccessibilityCache.cpp', 415 'src/WebAccessibilityCacheImpl.cpp', 416 'src/WebAccessibilityCacheImpl.h', 417 'src/WebAccessibilityObject.cpp', 418 'src/WebAnimationControllerImpl.cpp', 419 'src/WebAnimationControllerImpl.h', 420 'src/WebAttribute.cpp', 421 'src/WebAudioBus.cpp', 422 'src/WebBindings.cpp', 423 'src/WebBlobData.cpp', 424 'src/WebCache.cpp', 425 'src/WebColor.cpp', 426 'src/WebCommon.cpp', 427 'src/WebCrossOriginPreflightResultCache.cpp', 428 'src/WebCString.cpp', 429 'src/WebCursorInfo.cpp', 430 'src/WebDOMEvent.cpp', 431 'src/WebDOMEventListener.cpp', 432 'src/WebDOMEventListenerPrivate.cpp', 433 'src/WebDOMEventListenerPrivate.h', 434 'src/WebDOMMouseEvent.cpp', 435 'src/WebDOMMutationEvent.cpp', 436 'src/WebDOMStringList.cpp', 437 'src/WebData.cpp', 438 'src/WebDatabase.cpp', 439 'src/WebDataSourceImpl.cpp', 440 'src/WebDataSourceImpl.h', 441 'src/WebDevToolsAgentImpl.cpp', 442 'src/WebDevToolsAgentImpl.h', 443 'src/WebDevToolsFrontendImpl.cpp', 444 'src/WebDevToolsFrontendImpl.h', 445 'src/WebDeviceOrientation.cpp', 446 'src/WebDeviceOrientationClientMock.cpp', 447 'src/WebDeviceOrientationController.cpp', 448 'src/WebDocument.cpp', 449 'src/WebDocumentType.cpp', 450 'src/WebDragData.cpp', 451 'src/WebElement.cpp', 452 'src/WebEntities.cpp', 453 'src/WebEntities.h', 454 'src/WebFileChooserCompletionImpl.cpp', 455 'src/WebFileChooserCompletionImpl.h', 456 'src/WebFileSystemCallbacksImpl.cpp', 457 'src/WebFileSystemCallbacksImpl.h', 458 'src/WebFontCache.cpp', 459 'src/WebFontDescription.cpp', 460 'src/WebFontImpl.cpp', 461 'src/WebFontImpl.h', 462 'src/WebFormControlElement.cpp', 463 'src/WebFormElement.cpp', 464 'src/WebFrameImpl.cpp', 465 'src/WebFrameImpl.h', 466 'src/WebGeolocationController.cpp', 467 'src/WebGeolocationClientMock.cpp', 468 'src/WebGeolocationError.cpp', 469 'src/WebGeolocationPermissionRequest.cpp', 470 'src/WebGeolocationPermissionRequestManager.cpp', 471 'src/WebGeolocationPosition.cpp', 472 'src/WebGlyphCache.cpp', 473 'src/WebHistoryItem.cpp', 474 'src/WebHTTPBody.cpp', 475 'src/WebHTTPLoadInfo.cpp', 476 'src/WebIconLoadingCompletionImpl.cpp', 477 'src/WebIconLoadingCompletionImpl.h', 478 'src/WebIDBCallbacksImpl.cpp', 479 'src/WebIDBCallbacksImpl.h', 480 'src/WebIDBCursorImpl.cpp', 481 'src/WebIDBCursorImpl.h', 482 'src/WebIDBDatabaseCallbacksImpl.cpp', 483 'src/WebIDBDatabaseCallbacksImpl.h', 484 'src/WebIDBDatabaseError.cpp', 485 'src/WebIDBDatabaseImpl.cpp', 486 'src/WebIDBDatabaseImpl.h', 487 'src/WebIDBFactoryImpl.cpp', 488 'src/WebIDBFactoryImpl.h', 489 'src/WebIDBIndexImpl.cpp', 490 'src/WebIDBIndexImpl.h', 491 'src/WebIDBKey.cpp', 492 'src/WebIDBKeyPath.cpp', 493 'src/WebIDBKeyRange.cpp', 494 'src/WebIDBObjectStoreImpl.cpp', 495 'src/WebIDBObjectStoreImpl.h', 496 'src/WebIDBTransactionImpl.cpp', 497 'src/WebIDBTransactionImpl.h', 498 'src/WebIDBTransactionCallbacksImpl.cpp', 499 'src/WebIDBTransactionCallbacksImpl.h', 500 'src/WebImageCG.cpp', 501 'src/WebImageDecoder.cpp', 502 'src/WebImageSkia.cpp', 503 'src/WebInputElement.cpp', 504 'src/WebInputEvent.cpp', 505 'src/WebInputEventConversion.cpp', 506 'src/WebInputEventConversion.h', 507 'src/WebKit.cpp', 508 'src/WebLabelElement.cpp', 509 'src/WebMediaElement.cpp', 510 'src/WebMediaPlayerClientImpl.cpp', 511 'src/WebMediaPlayerClientImpl.h', 512 'src/WebNamedNodeMap.cpp', 513 'src/WebNetworkStateNotifier.cpp', 514 'src/WebNode.cpp', 515 'src/WebNodeCollection.cpp', 516 'src/WebNodeList.cpp', 517 'src/WebNotification.cpp', 518 'src/WebOptionElement.cpp', 519 'src/WebPageSerializer.cpp', 520 'src/WebPageSerializerImpl.cpp', 521 'src/WebPageSerializerImpl.h', 522 'src/WebPasswordFormData.cpp', 523 'src/WebPasswordFormUtils.cpp', 524 'src/WebPasswordFormUtils.h', 525 'src/WebPerformance.cpp', 526 'src/WebPluginContainerImpl.h', 527 'src/WebPluginContainerImpl.cpp', 528 'src/WebPluginDocument.cpp', 529 'src/WebPluginListBuilderImpl.cpp', 530 'src/WebPluginListBuilderImpl.h', 531 'src/WebPluginLoadObserver.cpp', 532 'src/WebPluginLoadObserver.h', 533 'src/WebPopupMenuImpl.cpp', 534 'src/WebPopupMenuImpl.h', 535 'src/WebRange.cpp', 536 'src/WebRegularExpression.cpp', 537 'src/WebRuntimeFeatures.cpp', 538 'src/WebScriptController.cpp', 539 'src/WebScrollbarImpl.cpp', 540 'src/WebScrollbarImpl.h', 541 'src/WebSearchableFormData.cpp', 542 'src/WebSecurityOrigin.cpp', 543 'src/WebSecurityPolicy.cpp', 544 'src/WebSelectElement.cpp', 545 'src/WebSerializedScriptValue.cpp', 546 'src/WebSettingsImpl.cpp', 547 'src/WebSettingsImpl.h', 548 'src/WebSharedWorkerImpl.cpp', 549 'src/WebSharedWorkerImpl.h', 550 'src/WebSpeechInputControllerMockImpl.cpp', 551 'src/WebSpeechInputControllerMockImpl.h', 552 'src/WebSpeechInputResult.cpp', 553 'src/WebStorageAreaImpl.cpp', 554 'src/WebStorageAreaImpl.h', 555 'src/WebStorageEventDispatcherImpl.cpp', 556 'src/WebStorageEventDispatcherImpl.h', 557 'src/WebStorageNamespaceImpl.cpp', 558 'src/WebStorageNamespaceImpl.h', 559 'src/WebStorageQuotaCallbacksImpl.cpp', 560 'src/WebStorageQuotaCallbacksImpl.h', 561 'src/WebString.cpp', 562 'src/WebTextRun.cpp', 563 'src/WebThreadSafeData.cpp', 564 'src/WebURL.cpp', 565 'src/WebURLLoadTiming.cpp', 566 'src/WebURLRequest.cpp', 567 'src/WebURLRequestPrivate.h', 568 'src/WebURLResponse.cpp', 569 'src/WebURLResponsePrivate.h', 570 'src/WebURLError.cpp', 571 'src/WebViewImpl.cpp', 572 'src/WebViewImpl.h', 573 'src/WebWorkerBase.cpp', 574 'src/WebWorkerBase.h', 575 'src/WebWorkerClientImpl.cpp', 576 'src/WebWorkerClientImpl.h', 577 'src/WebWorkerImpl.cpp', 578 'src/WebWorkerImpl.h', 579 'src/WorkerAsyncFileSystemChromium.cpp', 580 'src/WorkerAsyncFileSystemChromium.h', 581 'src/WorkerAsyncFileWriterChromium.cpp', 582 'src/WorkerAsyncFileWriterChromium.h', 583 'src/WorkerFileSystemCallbacksBridge.cpp', 584 'src/WorkerFileSystemCallbacksBridge.h', 585 'src/WorkerFileWriterCallbacksBridge.cpp', 586 'src/WorkerFileWriterCallbacksBridge.h', 587 'src/WrappedResourceRequest.h', 588 'src/WrappedResourceResponse.h', 589 'src/win/WebInputEventFactory.cpp', 590 'src/win/WebScreenInfoFactory.cpp', 591 ], 592 'conditions': [ 593 ['inside_chromium_build==1 and OS=="win"', { 594 'type': '<(component)', 595 596 'conditions': [ 597 ['component=="shared_library"', { 598 'defines': [ 599 'WEBKIT_DLL', 600 ], 601 'dependencies': [ 602 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings', 603 '<(chromium_src_dir)/base/base.gyp:test_support_base', 604 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl', 605 '<(chromium_src_dir)/testing/gtest.gyp:gtest', 606 '<(chromium_src_dir)/testing/gmock.gyp:gmock', 607 '<(chromium_src_dir)/third_party/icu/icu.gyp:*', 608 '<(chromium_src_dir)/third_party/libjpeg/libjpeg.gyp:libjpeg', 609 '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng', 610 '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml', 611 '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt', 612 '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64', 613 '<(chromium_src_dir)/third_party/nss/nss.gyp:*', 614 '<(chromium_src_dir)/third_party/ots/ots.gyp:ots', 615 '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib', 616 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8', 617 # We must not add webkit_support here because of cyclic dependency. 618 ], 619 'direct_dependent_settings': { 620 'defines': [ 621 'WEBKIT_DLL', 622 ], 623 }, 624 'export_dependent_settings': [ 625 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl', 626 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8', 627 ], 628 'sources': [ 629 '<@(webkit_unittest_files)', 630 'tests/PopupMenuTest.cpp', 631 'tests/TransparencyWinTest.cpp', 632 'tests/UniscribeHelperTest.cpp', 633 'tests/WebUnitTests.cpp' 634 ], 635 'sources!' : [ 636 # We should not include files dpending on webkit_support. 637 'tests/CCThreadTest.cpp', 638 # WebFrameTest.cpp depends on webkit_support and 639 # functions defined only in !WEBKIT_IMPLEMENTATION. 640 'tests/WebFrameTest.cpp', 641 ] 642 }], 643 ], 644 }, { 645 'type': '<(webkit_target_type)' 646 }], 647 ['OS=="linux" or OS=="freebsd"', { 648 'dependencies': [ 649 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig', 650 '<(chromium_src_dir)/build/linux/system.gyp:gtk', 651 '<(chromium_src_dir)/build/linux/system.gyp:x11', 652 ], 653 'include_dirs': [ 654 'public/x11', 655 'public/gtk', 656 'public/linux', 657 ], 658 }, { # else: OS!="linux" and OS!="freebsd" 659 'sources/': [ 660 ['exclude', '/gtk/'], 661 ['exclude', '/x11/'], 662 ['exclude', '/linux/'], 663 ], 664 }], 665 ['OS=="mac"', { 666 'include_dirs': [ 667 'public/mac', 668 ], 669 'sources/': [ 670 ['exclude', 'Skia\\.cpp$'], 671 ], 672 }, { # else: OS!="mac" 673 'sources/': [ 674 ['exclude', '/mac/'], 675 ['exclude', 'CG\\.cpp$'], 676 ], 677 }], 678 ['OS=="win"', { 679 'include_dirs': [ 680 'public/win', 681 ], 682 }, { # else: OS!="win" 683 'sources/': [['exclude', '/win/']], 684 'variables': { 685 # FIXME: Turn on warnings on Windows. 686 'chromium_code': 1, 687 } 688 }], 689 ['"ENABLE_WEBGL=1" in feature_defines', { 690 'conditions': [ 691 ['OS=="mac"', { 692 'link_settings': { 693 'libraries': [ 694 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 695 ], 696 }, 697 }], 698 ], 699 }], 700 ], 701 }, 702 703 { 704 'target_name': 'inspector_resources', 705 'type': 'none', 706 'dependencies': [ 707 'devtools_html', 708 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources', 709 ], 710 'conditions': [ 711 ['debug_devtools==0', { 712 'dependencies': ['concatenated_devtools_js', 713 'concatenated_script_formatter_worker_js', 714 'concatenated_devtools_css'], 715 }], 716 ], 717 'copies': [ 718 { 719 'destination': '<(PRODUCT_DIR)/resources/inspector', 720 'files': [ 721 '<@(devtools_files)', 722 '<@(webinspector_files)', 723 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js', 724 ], 725 'conditions': [ 726 ['debug_devtools==0', { 727 'files/': [['exclude', '\\.(js|css|html)$']], 728 }], 729 ], 730 }, 731 { 732 'destination': '<(PRODUCT_DIR)/resources/inspector/UglifyJS', 733 'files': [ 734 '<@(webinspector_uglifyjs_files)', 735 ], 736 'conditions': [ 737 ['debug_devtools==0', { 738 'files/': [['exclude', '\\.(js|css|html)$']], 739 }], 740 ], 741 }, 742 { 743 'destination': '<(PRODUCT_DIR)/resources/inspector/Images', 744 'files': [ 745 '<@(webinspector_image_files)', 746 '<@(devtools_image_files)', 747 ], 748 }, 749 ], 750 }, 751 { 752 'target_name': 'devtools_html', 753 'type': 'none', 754 'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'], 755 'actions': [{ 756 'action_name': 'devtools_html', 757 'script_name': 'scripts/generate_devtools_html.py', 758 'input_page': '../../WebCore/inspector/front-end/inspector.html', 759 'inputs': [ 760 '<@(_script_name)', 761 '<@(_input_page)', 762 '<@(devtools_files)', 763 ], 764 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'], 765 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_outputs)', '<@(debug_devtools)', '<@(devtools_files)'], 766 }], 767 }, 768 { 769 'target_name': 'generate_devtools_grd', 770 'type': 'none', 771 'dependencies': [ 772 'devtools_html', 773 ], 774 'conditions': [ 775 ['debug_devtools==0', { 776 'dependencies': ['concatenated_devtools_js', 777 'concatenated_script_formatter_worker_js', 778 'concatenated_devtools_css'], 779 },{ 780 # If we're not concatenating devtools files, we want to 781 # run after the original files have been copied to 782 # <(PRODUCT_DIR)/resources/inspector. 783 'dependencies': ['inspector_resources'], 784 }], 785 ], 786 'actions': [{ 787 'action_name': 'generate_devtools_grd', 788 'script_name': 'scripts/generate_devtools_grd.py', 789 'input_pages': [ 790 '<(PRODUCT_DIR)/resources/inspector/devtools.html', 791 '<(PRODUCT_DIR)/resources/inspector/DevTools.js', 792 '<(PRODUCT_DIR)/resources/inspector/ScriptFormatterWorker.js', 793 '<(PRODUCT_DIR)/resources/inspector/devTools.css', 794 ], 795 'images': [ 796 '<@(webinspector_image_files)', 797 '<@(devtools_image_files)', 798 ], 799 'inputs': [ 800 '<@(_script_name)', 801 '<@(_input_pages)', 802 '<@(_images)', 803 ], 804 'search_path': [ 805 '../../WebCore/inspector/front-end/Images', 806 'src/js/Images', 807 ], 808 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd'], 809 'action': ['python', '<@(_script_name)', '<@(_input_pages)', '--images', '<@(_search_path)', '--output', '<@(_outputs)'], 810 }], 811 }, 812 { 813 'target_name': 'webkit_unit_tests', 814 'type': 'executable', 815 'msvs_guid': '7CEFE800-8403-418A-AD6A-2D52C6FC3EAD', 816 'dependencies': [ 817 'webkit', 818 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore', 819 '<(chromium_src_dir)/testing/gtest.gyp:gtest', 820 '<(chromium_src_dir)/testing/gmock.gyp:gmock', 821 '<(chromium_src_dir)/base/base.gyp:base', 822 '<(chromium_src_dir)/base/base.gyp:base_i18n', 823 '<(chromium_src_dir)/base/base.gyp:test_support_base', 824 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support', 825 ], 826 'sources': [ 827 'tests/RunAllTests.cpp', 828 ], 829 'include_dirs': [ 830 'public', 831 'src', 832 ], 833 'conditions': [ 834 ['inside_chromium_build==1 and OS=="win" and component=="shared_library"', { 835 'defines': [ 836 'WEBKIT_DLL_UNITTEST', 837 ], 838 }, { 839 'sources': [ 840 '<@(webkit_unittest_files)', 841 ], 842 'conditions': [ 843 ['OS=="win"', { 844 'sources': [ 845 # FIXME: Port PopupMenuTest to Linux and Mac. 846 'tests/PopupMenuTest.cpp', 847 'tests/TransparencyWinTest.cpp', 848 'tests/UniscribeHelperTest.cpp', 849 'tests/WebPageSerializerTest.cpp', 850 ], 851 }], 852 ['OS=="mac"', { 853 'sources!': [ 854 # FIXME: Port DragImageTest to Mac. 855 'tests/DragImageTest.cpp', 856 ], 857 }], 858 ['OS=="linux" or OS=="freebsd"', { 859 'sources': [ 860 'tests/WebInputEventFactoryTestGtk.cpp', 861 ], 862 'include_dirs': [ 863 'public/gtk', 864 ], 865 'variables': { 866 # FIXME: Enable warnings on other platforms. 867 'chromium_code': 1, 868 }, 869 }], 870 ], 871 }], 872 ['inside_chromium_build==1 and OS=="win" and component!="shared_library"', { 873 'configurations': { 874 'Debug_Base': { 875 'msvs_settings': { 876 'VCLinkerTool': { 877 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 878 }, 879 }, 880 }, 881 }, 882 }], 883 ], 884 }, 885 { 886 'target_name': 'ImageDiff', 887 'type': 'executable', 888 'dependencies': [ 889 'webkit', 890 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf', 891 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support', 892 ], 893 'include_dirs': [ 894 '../../JavaScriptCore', 895 '<(DEPTH)', 896 ], 897 'sources': [ 898 '../../../Tools/DumpRenderTree/chromium/ImageDiff.cpp', 899 ], 900 }, 901 { 902 'target_name': 'DumpRenderTree', 903 'type': 'executable', 904 'mac_bundle': 1, 905 'dependencies': [ 906 'ImageDiff', 907 'inspector_resources', 908 'TestNetscapePlugIn', 909 'copy_TestNetscapePlugIn', 910 'webkit', 911 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config', 912 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc', 913 '<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa', 914 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:blob', 915 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support', 916 ], 917 'include_dirs': [ 918 '<(chromium_src_dir)', 919 'public', 920 '../../JavaScriptCore', 921 '../../JavaScriptCore/wtf', # wtf/text/*.h refers headers in wtf/ without wtf/. 922 '<(DEPTH)', 923 ], 924 'defines': [ 925 # Technically not a unit test but require functions available only to 926 # unit tests. 927 'UNIT_TEST', 928 ], 929 'sources': [ 930 '<@(drt_files)', 931 ], 932 'conditions': [ 933 ['OS=="win"', { 934 'dependencies': [ 935 'LayoutTestHelper', 936 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libEGL', 937 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:libGLESv2', 938 ], 939 940 'resource_include_dirs': ['<(SHARED_INTERMEDIATE_DIR)/webkit'], 941 'sources': [ 942 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', 943 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', 944 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', 945 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', 946 ], 947 'conditions': [ 948 ['inside_chromium_build==1 and component=="shared_library"', { 949 'sources': [ 950 'src/ChromiumCurrentTime.cpp', 951 'src/ChromiumThreading.cpp', 952 ], 953 'include_dirs': [ 954 'public', 955 ], 956 'dependencies': [ 957 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf', 958 ], 959 }], 960 ['inside_chromium_build==1', { 961 'configurations': { 962 'Debug_Base': { 963 'msvs_settings': { 964 'VCLinkerTool': { 965 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 966 }, 967 }, 968 }, 969 }, 970 }], 971 ], 972 'copies': [{ 973 'destination': '<(PRODUCT_DIR)', 974 'files': ['<(ahem_path)'], 975 }], 976 },{ # OS!="win" 977 'sources/': [ 978 ['exclude', 'Win\\.cpp$'], 979 ], 980 'actions': [ 981 { 982 'action_name': 'repack_locale', 983 'variables': { 984 'repack_path': '<(chromium_src_dir)/tools/data_pack/repack.py', 985 'pak_inputs': [ 986 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', 987 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.pak', 988 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', 989 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak', 990 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', 991 ]}, 992 'inputs': [ 993 '<(repack_path)', 994 '<@(pak_inputs)', 995 ], 996 'outputs': [ 997 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak', 998 ], 999 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], 1000 'process_outputs_as_mac_bundle_resources': 1, 1001 }, 1002 ], # actions 1003 }], 1004 ['OS=="mac"', { 1005 'dependencies': [ 1006 'copy_mesa', 1007 'LayoutTestHelper', 1008 ], 1009 'mac_bundle_resources': [ 1010 '<(ahem_path)', 1011 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher100.ttf', 1012 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher200.ttf', 1013 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher300.ttf', 1014 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher400.ttf', 1015 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher500.ttf', 1016 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher600.ttf', 1017 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher700.ttf', 1018 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher800.ttf', 1019 '../../../Tools/DumpRenderTree/fonts/WebKitWeightWatcher900.ttf', 1020 '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png', 1021 ], 1022 },{ # OS!="mac" 1023 'sources/': [ 1024 # .mm is already excluded by common.gypi 1025 ['exclude', 'Mac\\.cpp$'], 1026 ], 1027 }], 1028 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 1029 'dependencies': [ 1030 '<(chromium_src_dir)/build/linux/system.gyp:fontconfig', 1031 '<(chromium_src_dir)/build/linux/system.gyp:gtk', 1032 ], 1033 'include_dirs': [ 1034 'public/gtk', 1035 ], 1036 'copies': [{ 1037 'destination': '<(PRODUCT_DIR)', 1038 'files': [ 1039 '<(ahem_path)', 1040 '../../../Tools/DumpRenderTree/chromium/fonts.conf', 1041 '<(INTERMEDIATE_DIR)/repack/DumpRenderTree.pak', 1042 ] 1043 }], 1044 'variables': { 1045 # FIXME: Enable warnings on other platforms. 1046 'chromium_code': 1, 1047 }, 1048 },{ # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="solaris" 1049 'sources/': [ 1050 ['exclude', '(Gtk|Linux)\\.cpp$'] 1051 ] 1052 }], 1053 ['inside_chromium_build==0', { 1054 'dependencies': [ 1055 '<(chromium_src_dir)/webkit/support/setup_third_party.gyp:third_party_headers', 1056 ] 1057 }], 1058 ], 1059 }, 1060 { 1061 'target_name': 'TestNetscapePlugIn', 1062 'type': 'loadable_module', 1063 'sources': [ '<@(test_plugin_files)' ], 1064 'dependencies': [ 1065 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi', 1066 ], 1067 'include_dirs': [ 1068 '<(chromium_src_dir)', 1069 '../../../Tools/DumpRenderTree/TestNetscapePlugIn', 1070 '../../../Tools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders', 1071 ], 1072 'conditions': [ 1073 ['OS=="mac"', { 1074 'mac_bundle': 1, 1075 'product_name': 'TestNetscapePlugIn', 1076 'product_extension': 'plugin', 1077 'link_settings': { 1078 'libraries': [ 1079 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', 1080 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', 1081 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 1082 ] 1083 }, 1084 'xcode_settings': { 1085 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', 1086 'INFOPLIST_FILE': '../../../Tools/DumpRenderTree/TestNetscapePlugIn/mac/Info.plist', 1087 }, 1088 }], 1089 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 1090 'cflags': [ 1091 '-fvisibility=default', 1092 ], 1093 }], 1094 ['OS=="win"', { 1095 'defines': [ 1096 # This seems like a hack, but this is what Safari Win does. 1097 'snprintf=_snprintf', 1098 ], 1099 'sources': [ 1100 '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def', 1101 '../../../Tools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc', 1102 ], 1103 # The .rc file requires that the name of the dll is npTestNetscapePlugin.dll. 1104 # This adds the 'np' to the dll name. 1105 'product_prefix': 'np', 1106 }], 1107 ], 1108 }, 1109 { 1110 'target_name': 'copy_TestNetscapePlugIn', 1111 'type': 'none', 1112 'dependencies': [ 1113 'TestNetscapePlugIn', 1114 ], 1115 'conditions': [ 1116 ['OS=="win"', { 1117 'copies': [{ 1118 'destination': '<(PRODUCT_DIR)/plugins', 1119 'files': ['<(PRODUCT_DIR)/npTestNetscapePlugIn.dll'], 1120 }], 1121 }], 1122 ['OS=="mac"', { 1123 'dependencies': ['TestNetscapePlugIn'], 1124 'copies': [{ 1125 'destination': '<(PRODUCT_DIR)/plugins/', 1126 'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'], 1127 }], 1128 }], 1129 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 1130 'copies': [{ 1131 'destination': '<(PRODUCT_DIR)/plugins', 1132 'files': ['<(PRODUCT_DIR)/libTestNetscapePlugIn.so'], 1133 }], 1134 }], 1135 ], 1136 }, 1137 ], # targets 1138 'conditions': [ 1139 ['OS=="win"', { 1140 'targets': [{ 1141 'target_name': 'LayoutTestHelper', 1142 'type': 'executable', 1143 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'], 1144 }], 1145 }], 1146 ['OS=="mac"', { 1147 'targets': [ 1148 { 1149 'target_name': 'LayoutTestHelper', 1150 'type': 'executable', 1151 'sources': ['../../../Tools/DumpRenderTree/chromium/LayoutTestHelper.mm'], 1152 'link_settings': { 1153 'libraries': [ 1154 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 1155 ], 1156 }, 1157 }, 1158 { 1159 'target_name': 'copy_mesa', 1160 'type': 'none', 1161 'dependencies': ['<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa'], 1162 'copies': [{ 1163 'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/MacOS/', 1164 'files': ['<(PRODUCT_DIR)/osmesa.so'], 1165 }], 1166 }, 1167 ], 1168 }], 1169 ['debug_devtools==0', { 1170 'targets': [ 1171 { 1172 'target_name': 'concatenated_devtools_js', 1173 'type': 'none', 1174 'dependencies': [ 1175 'devtools_html', 1176 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources' 1177 ], 1178 'actions': [{ 1179 'action_name': 'concatenate_devtools_js', 1180 'script_name': 'scripts/concatenate_js_files.py', 1181 'input_page': '../../WebCore/inspector/front-end/inspector.html', 1182 'inputs': [ 1183 '<@(_script_name)', 1184 '<@(_input_page)', 1185 '<@(webinspector_files)', 1186 '<@(devtools_files)', 1187 '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendStub.js' 1188 ], 1189 'search_path': [ 1190 '../../WebCore/inspector/front-end', 1191 'src/js', 1192 '<(SHARED_INTERMEDIATE_DIR)/webcore', 1193 ], 1194 'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'], 1195 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'], 1196 }], 1197 }, 1198 { 1199 'target_name': 'concatenated_script_formatter_worker_js', 1200 'type': 'none', 1201 'actions': [{ 1202 'action_name': 'concatenate_script_formatter_worker_js', 1203 'script_name': 'scripts/inline_js_imports.py', 1204 'input_file': '../../WebCore/inspector/front-end/ScriptFormatterWorker.js', 1205 'inputs': [ 1206 '<@(_script_name)', 1207 '<@(webinspector_uglifyjs_files)' 1208 ], 1209 'search_path': '../../WebCore/inspector/front-end', 1210 'outputs': ['<(PRODUCT_DIR)/resources/inspector/ScriptFormatterWorker.js'], 1211 'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'], 1212 }], 1213 }, 1214 { 1215 'target_name': 'concatenated_devtools_css', 1216 'type': 'none', 1217 'dependencies': [ 1218 'devtools_html' 1219 ], 1220 'actions': [{ 1221 'action_name': 'concatenate_devtools_css', 1222 'script_name': 'scripts/concatenate_css_files.py', 1223 'input_page': '../../WebCore/inspector/front-end/inspector.html', 1224 'inputs': [ 1225 '<@(_script_name)', 1226 '<@(_input_page)', 1227 '<@(webinspector_files)', 1228 '<@(devtools_files)' 1229 ], 1230 'search_path': [ 1231 '../../WebCore/inspector/front-end', 1232 'src/js', 1233 ], 1234 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'], 1235 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'], 1236 }], 1237 }, 1238 ], 1239 }], 1240 ], # conditions 1241 } 1242 1243 # Local Variables: 1244 # tab-width:2 1245 # indent-tabs-mode:nil 1246 # End: 1247 # vim: set expandtab tabstop=2 shiftwidth=2: 1248