[chromium] Remove unused WebRegularExpression API
[WebKit-https.git] / Source / WebKit / chromium / WebKit.gyp
1 #
2 # Copyright (C) 2011 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         'WinPrecompile.gypi',
34         '../../WebCore/WebCore.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             },{
47                 # WebKit is checked out in src/chromium/third_party/WebKit
48                 'chromium_src_dir': '../../../../..',
49             }],
50         ],
51
52         # If debug_devtools is set to 1, JavaScript files for DevTools are
53         # stored as is. Otherwise, a concatenated file is stored.
54         'debug_devtools%': 0,
55
56         # List of DevTools source files, ordered by dependencies. It is used both
57         # for copying them to resource dir, and for generating 'devtools.html' file.
58         'devtools_files': [
59             '<@(devtools_css_files)',
60             '<@(devtools_js_files)',
61         ],
62     },
63     'targets': [
64         {
65             'target_name': 'webkit',
66             'type': 'static_library',
67             'variables': { 'enable_wexit_time_destructors': 1, },
68             'dependencies': [
69                 '../../Platform/Platform.gyp/Platform.gyp:webkit_platform',
70                 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore',
71                 '<(chromium_src_dir)/skia/skia.gyp:skia',
72                 '<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:translator_glsl',
73                 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
74                 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
75                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
76                 'webkit_wtf_support',
77             ],
78             'export_dependent_settings': [
79                 '../../Platform/Platform.gyp/Platform.gyp:webkit_platform',
80                 '<(chromium_src_dir)/skia/skia.gyp:skia',
81                 '<(chromium_src_dir)/third_party/icu/icu.gyp:icuuc',
82                 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
83                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
84             ],
85             'include_dirs': [
86                 'public',
87                 'src',
88                 '<(chromium_src_dir)/third_party/angle/include',
89                 '<(chromium_src_dir)/third_party/skia/include/utils',
90             ],
91             'defines': [
92                 'WEBKIT_IMPLEMENTATION=1',
93             ],
94             'sources': [
95                 '<@(webcore_platform_support_files)',
96                 'public/WebAccessibilityNotification.h',
97                 'public/WebAccessibilityObject.h',
98                 'public/WebAccessibilityRole.h',
99                 'public/WebApplicationCacheHostClient.h',
100                 'public/WebArrayBuffer.h',
101                 'public/WebArrayBufferView.h',
102                 'public/WebAudioSourceProvider.h',
103                 'public/WebAudioSourceProviderClient.h',
104                 'public/WebAutofillClient.h',
105                 'public/WebBatteryStatus.h',
106                 'public/WebBatteryStatusClient.h',
107                 'public/WebBindings.h',
108                 'public/WebBlob.h',
109                 'public/WebCache.h',
110                 'public/WebCachedURLRequest.h',
111                 'public/WebColorChooser.h',
112                 'public/WebColorChooserClient.h',
113                 'public/WebColorName.h',
114                 'public/WebCommonWorkerClient.h',
115                 'public/WebCompositionUnderline.h',
116                 'public/WebCompositorInputHandler.h',
117                 'public/WebCompositorInputHandlerClient.h',
118                 'public/WebConsoleMessage.h',
119                 'public/WebContentDetectionResult.h',
120                 'public/WebContextMenuData.h',
121                 'public/WebCrossOriginPreflightResultCache.h',
122                 'public/WebCursorInfo.h',
123                 'public/WebDOMActivityLogger.h',
124                 'public/WebDOMCustomEvent.h',
125                 'public/WebDOMEvent.h',
126                 'public/WebDOMEventListener.h',
127                 'public/WebDOMMessageEvent.h',
128                 'public/WebDOMMouseEvent.h',
129                 'public/WebDOMMutationEvent.h',
130                 'public/WebDOMStringList.h',
131                 'public/WebDataSource.h',
132                 'public/WebDatabase.h',
133                 'public/WebDatabaseObserver.h',
134                 'public/WebDateTimeInputType.h',
135                 'public/WebDateTimeChooserCompletion.h',
136                 'public/WebDateTimeChooserParams.h',
137                 'public/WebDevToolsAgent.h',
138                 'public/WebDevToolsAgentClient.h',
139                 'public/WebDevToolsFrontend.h',
140                 'public/WebDevToolsFrontendClient.h',
141                 'public/WebDeviceOrientation.h',
142                 'public/WebDeviceOrientationClient.h',
143                 'public/WebDeviceOrientationClientMock.h',
144                 'public/WebDeviceOrientationController.h',
145                 'public/WebDocument.h',
146                 'public/WebDocumentType.h',
147                 'public/WebEditingAction.h',
148                 'public/WebElement.h',
149                 'public/WebExceptionCode.h',
150                 'public/WebExternalPopupMenu.h',
151                 'public/WebExternalPopupMenuClient.h',
152                 'public/WebFileChooserCompletion.h',
153                 'public/WebFileChooserParams.h',
154                 'public/WebFileWriter.h',
155                 'public/WebFileWriterClient.h',
156                 'public/WebFindOptions.h',
157                 'public/WebFont.h',
158                 'public/WebFontCache.h',
159                 'public/WebFontDescription.h',
160                 'public/WebFormControlElement.h',
161                 'public/WebFormElement.h',
162                 'public/WebFrame.h',
163                 'public/WebFrameClient.h',
164                 'public/WebGeolocationClient.h',
165                 'public/WebGeolocationClientMock.h',
166                 'public/WebGeolocationController.h',
167                 'public/WebGeolocationError.h',
168                 'public/WebGeolocationPermissionRequest.h',
169                 'public/WebGeolocationPermissionRequestManager.h',
170                 'public/WebGeolocationPosition.h',
171                 'public/WebGlyphCache.h',
172                 'public/WebHelperPlugin.h',
173                 'public/WebHistoryItem.h',
174                 'public/WebHitTestResult.h',
175                 'public/WebIDBCallbacks.h',
176                 'public/WebIDBCursor.h',
177                 'public/WebIDBDatabase.h',
178                 'public/WebIDBDatabaseCallbacks.h',
179                 'public/WebIDBDatabaseError.h',
180                 'public/WebIDBDatabaseException.h',
181                 'public/WebIDBFactory.h',
182                 'public/WebIDBKey.h',
183                 'public/WebIDBKeyPath.h',
184                 'public/WebIDBKeyRange.h',
185                 'public/WebIDBMetadata.h',
186                 'public/WebIconLoadingCompletion.h',
187                 'public/WebIconURL.h',
188                 'public/WebImageDecoder.h',
189                 'public/WebInputElement.h',
190                 'public/WebInputEvent.h',
191                 'public/WebKit.h',
192                 'public/WebLabelElement.h',
193                 'public/WebMediaPlayer.h',
194                 'public/WebMediaPlayerAction.h',
195                 'public/WebMediaPlayerClient.h',
196                 'public/WebMediaSource.h',
197                 'public/WebMediaSourceClient.h',
198                 'public/WebMediaStreamRegistry.h',
199                 'public/WebMemoryUsageInfo.h',
200                 'public/WebMenuItemInfo.h',
201                 'public/WebNavigationType.h',
202                 'public/WebNetworkStateNotifier.h',
203                 'public/WebNode.h',
204                 'public/WebNodeCollection.h',
205                 'public/WebNodeList.h',
206                 'public/WebNotification.h',
207                 'public/WebNotificationPermissionCallback.h',
208                 'public/WebNotificationPresenter.h',
209                 'public/WebOptionElement.h',
210                 'public/WebPageOverlay.h',
211                 'public/WebPagePopup.h',
212                 'public/WebPageSerializer.h',
213                 'public/WebPageSerializerClient.h',
214                 'public/WebPageVisibilityState.h',
215                 'public/WebPasswordFormData.h',
216                 'public/WebPerformance.h',
217                 'public/WebPermissionClient.h',
218                 'public/WebPlugin.h',
219                 'public/WebPluginAction.h',
220                 'public/WebPluginContainer.h',
221                 'public/WebPluginDocument.h',
222                 'public/WebPluginListBuilder.h',
223                 'public/WebPluginScrollbar.h',
224                 'public/WebPluginScrollbarClient.h',
225                 'public/WebPrintParams.h',
226                 'public/WebPrintScalingOption.h',
227                 'public/WebPopupMenu.h',
228                 'public/WebPopupMenuInfo.h',
229                 'public/WebPopupType.h',
230                 'public/WebPrerendererClient.h',
231                 'public/WebRange.h',
232                 'public/WebRuntimeFeatures.h',
233                 'public/WebScopedMicrotaskSuppression.h',
234                 'public/WebScopedUserGesture.h',
235                 'public/WebScreenInfo.h',
236                 'public/WebScriptController.h',
237                 'public/WebScriptSource.h',
238                 'public/WebSearchableFormData.h',
239                 'public/WebSecurityOrigin.h',
240                 'public/WebSecurityPolicy.h',
241                 'public/WebSelectElement.h',
242                 'public/WebSerializedScriptValue.h',
243                 'public/WebSettings.h',
244                 'public/WebSharedWorkerClient.h',
245                 'public/WebSharedWorker.h',
246                 'public/WebSharedWorkerRepository.h',
247                 'public/WebSocket.h',
248                 'public/WebSocketClient.h',
249                 'public/WebSpeechGrammar.h',
250                 'public/WebSpeechInputController.h',
251                 'public/WebSpeechInputListener.h',
252                 'public/WebSpeechInputResult.h',
253                 'public/WebSpeechRecognitionHandle.h',
254                 'public/WebSpeechRecognitionParams.h',
255                 'public/WebSpeechRecognitionResult.h',
256                 'public/WebSpeechRecognizerClient.h',
257                 'public/WebSpeechRecognizer.h',
258                 'public/WebSpellCheckClient.h',
259                 'public/WebStorageEventDispatcher.h',
260                 'public/WebStorageQuotaCallbacks.h',
261                 'public/WebStorageQuotaType.h',
262                 'public/WebStorageQuotaError.h',
263                 'public/WebSurroundingText.h',
264                 'public/WebTextAffinity.h',
265                 'public/WebTextCheckingCompletion.h',
266                 'public/WebTextCheckingResult.h',
267                 'public/WebTextDirection.h',
268                 'public/WebTextFieldDecoratorClient.h',
269                 'public/WebTextInputInfo.h',
270                 'public/WebTextInputType.h',
271                 'public/WebTextRun.h',
272                 'public/WebTimeRange.h',
273                 'public/WebURLLoaderOptions.h',
274                 'public/WebUserGestureIndicator.h',
275                 'public/WebUserGestureToken.h',
276                 'public/WebUserMediaClient.h',
277                 'public/WebUserMediaRequest.h',
278                 'public/WebView.h',
279                 'public/WebViewBenchmarkSupport.h',
280                 'public/WebViewClient.h',
281                 'public/WebWidget.h',
282                 'public/WebWidgetClient.h',
283                 'public/WebWorkerInfo.h',
284                 'public/android/WebInputEventFactory.h',
285                 'public/android/WebSandboxSupport.h',
286                 'public/default/WebRenderTheme.h',
287                 'public/gtk/WebInputEventFactory.h',
288                 'public/linux/WebFontRenderStyle.h',
289                 'public/linux/WebFontRendering.h',
290                 'public/mac/WebInputEventFactory.h',
291                 'public/mac/WebSandboxSupport.h',
292                 'public/mac/WebScreenInfoFactory.h',
293                 'public/mac/WebSubstringUtil.h',
294                 'public/win/WebInputEventFactory.h',
295                 'public/win/WebSandboxSupport.h',
296                 'public/win/WebScreenInfoFactory.h',
297                 'public/x11/WebScreenInfoFactory.h',
298                 'src/ApplicationCacheHost.cpp',
299                 'src/ApplicationCacheHostInternal.h',
300                 'src/AssertMatchingEnums.cpp',
301                 'src/AssociatedURLLoader.cpp',
302                 'src/AssociatedURLLoader.h',
303                 'src/AsyncFileSystemChromium.cpp',
304                 'src/AsyncFileSystemChromium.h',
305                 'src/AsyncFileWriterChromium.cpp',
306                 'src/AsyncFileWriterChromium.h',
307                 'src/AutofillPopupMenuClient.cpp',
308                 'src/AutofillPopupMenuClient.h',
309                 'src/BackForwardListChromium.cpp',
310                 'src/BackForwardListChromium.h',
311                 'src/BatteryClientImpl.cpp',
312                 'src/BatteryClientImpl.h',
313                 'src/DateTimeChooserImpl.cpp',
314                 'src/DateTimeChooserImpl.h',
315                 'src/ChromeClientImpl.cpp',
316                 'src/ChromeClientImpl.h',
317                 'src/ColorChooserPopupUIController.cpp',
318                 'src/ColorChooserPopupUIController.h',
319                 'src/ColorChooserUIController.cpp',
320                 'src/ColorChooserUIController.h',
321                 'src/CompositionUnderlineBuilder.h',
322                 'src/CompositionUnderlineVectorBuilder.cpp',
323                 'src/CompositionUnderlineVectorBuilder.h',
324                 'src/ContextFeaturesClientImpl.cpp',
325                 'src/ContextFeaturesClientImpl.h',
326                 'src/ContextMenuClientImpl.cpp',
327                 'src/ContextMenuClientImpl.h',
328                 'src/DatabaseObserver.cpp',
329                 'src/DeviceOrientationClientProxy.cpp',
330                 'src/DeviceOrientationClientProxy.h',
331                 'src/DOMUtilitiesPrivate.cpp',
332                 'src/DOMUtilitiesPrivate.h',
333                 'src/DragClientImpl.cpp',
334                 'src/DragClientImpl.h',
335                 'src/DragScrollTimer.cpp',
336                 'src/DragScrollTimer.h',
337                 'src/EditorClientImpl.cpp',
338                 'src/EditorClientImpl.h',
339                 'src/EventListenerWrapper.cpp',
340                 'src/EventListenerWrapper.h',
341                 'src/ExternalDateTimeChooser.cpp',
342                 'src/ExternalDateTimeChooser.h',
343                 'src/ExternalPopupMenu.cpp',
344                 'src/ExternalPopupMenu.h',
345                 'src/FindInPageCoordinates.cpp',
346                 'src/FindInPageCoordinates.h',
347                 'src/FrameLoaderClientImpl.cpp',
348                 'src/FrameLoaderClientImpl.h',
349                 'src/FrameNetworkingContextImpl.cpp',
350                 'src/FrameNetworkingContextImpl.h',
351                 'src/GeolocationClientProxy.cpp',
352                 'src/GeolocationClientProxy.h',
353                 'src/GraphicsLayerFactoryChromium.cpp',
354                 'src/GraphicsLayerFactoryChromium.h',
355                 'src/gtk/WebInputEventFactory.cpp',
356                 'src/WebHelperPluginImpl.cpp',
357                 'src/WebHelperPluginImpl.h',
358                 'src/IDBCallbacksProxy.cpp',
359                 'src/IDBCallbacksProxy.h',
360                 'src/IDBCursorBackendProxy.cpp',
361                 'src/IDBCursorBackendProxy.h',
362                 'src/IDBDatabaseCallbacksProxy.cpp',
363                 'src/IDBDatabaseCallbacksProxy.h',
364                 'src/IDBDatabaseBackendProxy.cpp',
365                 'src/IDBDatabaseBackendProxy.h',
366                 'src/IDBFactoryBackendProxy.cpp',
367                 'src/IDBFactoryBackendProxy.h',
368                 'src/InspectorClientImpl.cpp',
369                 'src/InspectorClientImpl.h',
370                 'src/InspectorFrontendClientImpl.cpp',
371                 'src/InspectorFrontendClientImpl.h',
372                 'src/LinkHighlight.cpp',
373                 'src/LinkHighlight.h',
374                 'src/NonCompositedContentHost.cpp',
375                 'src/NonCompositedContentHost.h',
376                 'src/PrerendererClientImpl.h',
377                 'src/PrerendererClientImpl.cpp',
378                 'src/android/WebInputEventFactory.cpp',
379                 'src/default/WebRenderTheme.cpp',
380                 'src/linux/WebFontInfo.cpp',
381                 'src/linux/WebFontRendering.cpp',
382                 'src/linux/WebFontRenderStyle.cpp',
383                 'src/x11/WebScreenInfoFactory.cpp',
384                 'src/mac/WebInputEventFactory.mm',
385                 'src/mac/WebScreenInfoFactory.mm',
386                 'src/mac/WebSubstringUtil.mm',
387                 'src/LocalFileSystemChromium.cpp',
388                 'src/MediaSourcePrivateImpl.cpp',
389                 'src/MediaSourcePrivateImpl.h',
390                 'src/NotificationPresenterImpl.h',
391                 'src/NotificationPresenterImpl.cpp',
392                 'src/painting/ContinuousPainter.h',
393                 'src/painting/ContinuousPainter.cpp',
394                 'src/painting/GraphicsContextBuilder.h',
395                 'src/painting/PaintAggregator.h',
396                 'src/painting/PaintAggregator.cpp',
397                 'src/PageOverlay.cpp',
398                 'src/PageOverlay.h',
399                 'src/PageOverlayList.cpp',
400                 'src/PageOverlayList.h',
401                 'src/PageWidgetDelegate.cpp',
402                 'src/PageWidgetDelegate.h',
403                 'src/ScrollbarGroup.cpp',
404                 'src/ScrollbarGroup.h',
405                 'src/SharedWorkerRepository.cpp',
406                 'src/SourceBufferPrivateImpl.cpp',
407                 'src/SourceBufferPrivateImpl.h',
408                 'src/SpeechInputClientImpl.cpp',
409                 'src/SpeechInputClientImpl.h',
410                 'src/SpeechRecognitionClientProxy.cpp',
411                 'src/SpeechRecognitionClientProxy.h',
412                 'src/StorageAreaProxy.cpp',
413                 'src/StorageAreaProxy.h',
414                 'src/StorageQuotaChromium.cpp',
415                 'src/StorageNamespaceProxy.cpp',
416                 'src/StorageNamespaceProxy.h',
417                 'src/TextFieldDecoratorImpl.h',
418                 'src/TextFieldDecoratorImpl.cpp',
419                 'src/UserMediaClientImpl.h',
420                 'src/UserMediaClientImpl.cpp',
421                 'src/ValidationMessageClientImpl.cpp',
422                 'src/ValidationMessageClientImpl.h',
423                 'src/WebTextCheckingCompletionImpl.h',
424                 'src/WebTextCheckingCompletionImpl.cpp',
425                 'src/WebTextCheckingResult.cpp',
426                 'src/WebAccessibilityObject.cpp',
427                 'src/WebArrayBuffer.cpp',
428                 'src/WebArrayBufferView.cpp',
429                 'src/WebBindings.cpp',
430                 'src/WebBlob.cpp',
431                 'src/WebBlobData.cpp',
432                 'src/WebCache.cpp',
433                 'src/WebCachedURLRequest.cpp',
434                 'src/WebColorName.cpp',
435                 'src/WebCommon.cpp',
436                 'src/WebCompositorInputHandlerImpl.cpp',
437                 'src/WebCompositorInputHandlerImpl.h',
438                 'src/WebCrossOriginPreflightResultCache.cpp',
439                 'src/WebCursorInfo.cpp',
440                 'src/WebDOMActivityLogger.cpp',
441                 'src/WebDOMCustomEvent.cpp',
442                 'src/WebDOMEvent.cpp',
443                 'src/WebDOMEventListener.cpp',
444                 'src/WebDOMEventListenerPrivate.cpp',
445                 'src/WebDOMEventListenerPrivate.h',
446                 'src/WebDOMMessageEvent.cpp',
447                 'src/WebDOMMouseEvent.cpp',
448                 'src/WebDOMMutationEvent.cpp',
449                 'src/WebDOMStringList.cpp',
450                 'src/WebDatabase.cpp',
451                 'src/WebDataSourceImpl.cpp',
452                 'src/WebDataSourceImpl.h',
453                 'src/WebDevToolsAgentImpl.cpp',
454                 'src/WebDevToolsAgentImpl.h',
455                 'src/WebDevToolsFrontendImpl.cpp',
456                 'src/WebDevToolsFrontendImpl.h',
457                 'src/WebDeviceOrientation.cpp',
458                 'src/WebDeviceOrientationClientMock.cpp',
459                 'src/WebDeviceOrientationController.cpp',
460                 'src/WebDocument.cpp',
461                 'src/WebDocumentType.cpp',
462                 'src/WebDragData.cpp',
463                 'src/WebElement.cpp',
464                 'src/WebEntities.cpp',
465                 'src/WebEntities.h',
466                 'src/WebFileChooserCompletionImpl.cpp',
467                 'src/WebFileChooserCompletionImpl.h',
468                 'src/WebFileSystemCallbacksImpl.cpp',
469                 'src/WebFileSystemCallbacksImpl.h',
470                 'src/WebFontCache.cpp',
471                 'src/WebFontDescription.cpp',
472                 'src/WebFontImpl.cpp',
473                 'src/WebFontImpl.h',
474                 'src/WebFormControlElement.cpp',
475                 'src/WebFormElement.cpp',
476                 'src/WebFrameImpl.cpp',
477                 'src/WebFrameImpl.h',
478                 'src/WebGeolocationController.cpp',
479                 'src/WebGeolocationClientMock.cpp',
480                 'src/WebGeolocationError.cpp',
481                 'src/WebGeolocationPermissionRequest.cpp',
482                 'src/WebGeolocationPermissionRequestManager.cpp',
483                 'src/WebGeolocationPosition.cpp',
484                 'src/WebGlyphCache.cpp',
485                 'src/WebHistoryItem.cpp',
486                 'src/WebHitTestResult.cpp',
487                 'src/WebIconLoadingCompletionImpl.cpp',
488                 'src/WebIconLoadingCompletionImpl.h',
489                 'src/WebIDBCallbacksImpl.cpp',
490                 'src/WebIDBCallbacksImpl.h',
491                 'src/WebIDBCursorImpl.cpp',
492                 'src/WebIDBCursorImpl.h',
493                 'src/WebIDBDatabaseCallbacksImpl.cpp',
494                 'src/WebIDBDatabaseCallbacksImpl.h',
495                 'src/WebIDBDatabaseError.cpp',
496                 'src/WebIDBDatabaseImpl.cpp',
497                 'src/WebIDBDatabaseImpl.h',
498                 'src/WebIDBFactoryImpl.cpp',
499                 'src/WebIDBFactoryImpl.h',
500                 'src/WebIDBKey.cpp',
501                 'src/WebIDBKeyPath.cpp',
502                 'src/WebIDBKeyRange.cpp',
503                 'src/WebIDBMetadata.cpp',
504                 'src/WebImageDecoder.cpp',
505                 'src/WebImageSkia.cpp',
506                 'src/WebInputElement.cpp',
507                 'src/WebInputEvent.cpp',
508                 'src/WebInputEventConversion.cpp',
509                 'src/WebInputEventConversion.h',
510                 'src/WebKit.cpp',
511                 'src/WebLabelElement.cpp',
512                 'src/WebMediaPlayerClientImpl.cpp',
513                 'src/WebMediaPlayerClientImpl.h',
514                 'src/WebMediaSourceImpl.cpp',
515                 'src/WebMediaSourceImpl.h',
516                 'src/WebMediaStreamRegistry.cpp',
517                 'src/WebNetworkStateNotifier.cpp',
518                 'src/WebNode.cpp',
519                 'src/WebNodeCollection.cpp',
520                 'src/WebNodeList.cpp',
521                 'src/WebNotification.cpp',
522                 'src/WebOptionElement.cpp',
523                 'src/WebPagePopupImpl.cpp',
524                 'src/WebPagePopupImpl.h',
525                 'src/WebPageSerializer.cpp',
526                 'src/WebPageSerializerImpl.cpp',
527                 'src/WebPageSerializerImpl.h',
528                 'src/WebPasswordFormData.cpp',
529                 'src/WebPasswordFormUtils.cpp',
530                 'src/WebPasswordFormUtils.h',
531                 'src/WebPerformance.cpp',
532                 'src/WebPluginContainerImpl.cpp',
533                 'src/WebPluginContainerImpl.h',
534                 'src/WebPluginDocument.cpp',
535                 'src/WebPluginLoadObserver.cpp',
536                 'src/WebPluginLoadObserver.h',
537                 'src/WebPluginScrollbarImpl.cpp',
538                 'src/WebPluginScrollbarImpl.h',
539                 'src/WebPopupMenuImpl.cpp',
540                 'src/WebPopupMenuImpl.h',
541                 'src/WebRange.cpp',
542                 'src/WebRuntimeFeatures.cpp',
543                 'src/WebScopedMicrotaskSuppression.cpp',
544                 'src/WebScopedUserGesture.cpp',
545                 'src/WebScriptController.cpp',
546                 'src/WebScrollbarThemeClientImpl.cpp',
547                 'src/WebScrollbarThemeClientImpl.h',
548                 'src/WebScrollbarThemePainter.cpp',
549                 'src/WebSearchableFormData.cpp',
550                 'src/WebSecurityOrigin.cpp',
551                 'src/WebSecurityPolicy.cpp',
552                 'src/WebSelectElement.cpp',
553                 'src/WebSerializedScriptValue.cpp',
554                 'src/WebSettingsImpl.cpp',
555                 'src/WebSettingsImpl.h',
556                 'src/WebSharedWorkerImpl.cpp',
557                 'src/WebSharedWorkerImpl.h',
558                 'src/WebSocket.cpp',
559                 'src/WebSocketImpl.cpp',
560                 'src/WebSocketImpl.h',
561                 'src/WebSpeechGrammar.cpp',
562                 'src/WebSpeechInputResult.cpp',
563                 'src/WebSpeechRecognitionHandle.cpp',
564                 'src/WebSpeechRecognitionResult.cpp',
565                 'src/WebStorageEventDispatcherImpl.cpp',
566                 'src/WebStorageQuotaCallbacksImpl.cpp',
567                 'src/WebStorageQuotaCallbacksImpl.h',
568                 'src/WebSurroundingText.cpp',
569                 'src/WebTextInputInfo.cpp',
570                 'src/WebTextRun.cpp',
571                 'src/WebURLLoadTiming.cpp',
572                 'src/WebScopedUserGesture.cpp',
573                 'src/WebTextFieldDecoratorClient.cpp',
574                 'src/WebUserGestureIndicator.cpp',
575                 'src/WebUserGestureToken.cpp',
576                 'src/WebUserMediaRequest.cpp',
577                 'src/WebViewBenchmarkSupportImpl.cpp',
578                 'src/WebViewBenchmarkSupportImpl.h',
579                 'src/WebViewImpl.cpp',
580                 'src/WebViewImpl.h',
581                 'src/WebWorkerBase.cpp',
582                 'src/WebWorkerBase.h',
583                 'src/WebWorkerClientImpl.cpp',
584                 'src/WebWorkerClientImpl.h',
585                 'src/WebWorkerInfo.cpp',
586                 'src/WebWorkerRunLoop.cpp',
587                 'src/WorkerAsyncFileSystemChromium.cpp',
588                 'src/WorkerAsyncFileSystemChromium.h',
589                 'src/WorkerAsyncFileWriterChromium.cpp',
590                 'src/WorkerAsyncFileWriterChromium.h',
591                 'src/WorkerFileSystemCallbacksBridge.cpp',
592                 'src/WorkerFileSystemCallbacksBridge.h',
593                 'src/WorkerFileWriterCallbacksBridge.cpp',
594                 'src/WorkerFileWriterCallbacksBridge.h',
595                 'src/WorkerStorageQuotaCallbacksBridge.cpp',
596                 'src/WorkerStorageQuotaCallbacksBridge.h',
597                 'src/win/WebInputEventFactory.cpp',
598                 'src/win/WebScreenInfoFactory.cpp',
599             ],
600             'conditions': [
601                 ['inside_chromium_build==1', {
602                     'type': '<(component)',
603
604                     'conditions': [
605                         ['component=="shared_library"', {
606                             'defines': [
607                                 'WEBKIT_DLL',
608                                 'WEBKIT_IMPLEMENTATION=1',
609                             ],
610                             'dependencies': [
611                                 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_bindings',
612                                 '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_test_support',
613                                 '<(chromium_src_dir)/base/base.gyp:test_support_base',
614                                 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
615                                 '<(chromium_src_dir)/testing/gtest.gyp:gtest',
616                                 '<(chromium_src_dir)/testing/gmock.gyp:gmock',
617                                 '<(chromium_src_dir)/third_party/icu/icu.gyp:*',
618                                 '<(chromium_src_dir)/third_party/libjpeg_turbo/libjpeg.gyp:libjpeg',
619                                 '<(chromium_src_dir)/third_party/libpng/libpng.gyp:libpng',
620                                 '<(chromium_src_dir)/third_party/libxml/libxml.gyp:libxml',
621                                 '<(chromium_src_dir)/third_party/libxslt/libxslt.gyp:libxslt',
622                                 '<(chromium_src_dir)/third_party/modp_b64/modp_b64.gyp:modp_b64',
623                                 '<(chromium_src_dir)/third_party/ots/ots.gyp:ots',
624                                 '<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
625                                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
626                                 # We must not add webkit_support here because of cyclic dependency.
627                             ],
628                             'direct_dependent_settings': {
629                                 'defines': [
630                                     'WEBKIT_DLL',
631                                 ],
632                             },
633                             'export_dependent_settings': [
634                                 '<(chromium_src_dir)/build/temp_gyp/googleurl.gyp:googleurl',
635                                 '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
636                             ],
637                             'include_dirs': [
638                                 # WARNING: Do not view this particular case as a precedent for
639                                 # including WebCore headers in DumpRenderTree project.
640                                 '../../WebCore/testing/v8', # for WebCoreTestSupport.h, needed to link in window.internals code.
641                             ],
642                             'sources': [
643                                 '<@(webkit_unittest_files)',
644                                 'src/WebTestingSupport.cpp',
645                                 'public/WebTestingSupport.h',
646                                 'tests/WebUnitTests.cpp',   # Components test runner support.
647                             ],
648                             'sources!': [
649                                 # We should not include files depending on webkit_support.
650                                 # These tests depend on webkit_support and
651                                 # functions defined only in !WEBKIT_IMPLEMENTATION.
652                                 'tests/IDBBackingStoreTest.cpp',
653                                 'tests/IDBCleanupOnIOErrorTest.cpp',
654                                 'tests/LevelDBTest.cpp',
655                             ],
656                             'conditions': [
657                                 ['OS=="win" or OS=="mac"', {
658                                     'dependencies': [
659                                         '<(chromium_src_dir)/third_party/nss/nss.gyp:*',
660                                     ],
661                                 }],
662                                 ['clang==1', {
663                                     # FIXME: It would be nice to enable this in shared builds too,
664                                     # but the test files have global constructors from the GTEST macro
665                                     # and we pull in the test files into the webkit target in the
666                                     # shared build.
667                                     'cflags!': ['-Wglobal-constructors'],
668                                     'xcode_settings': {
669                                       'WARNING_CFLAGS!': ['-Wglobal-constructors'],
670                                     },
671                                 }],
672                             ],
673                             'msvs_settings': {
674                               'VCLinkerTool': {
675                                 'conditions': [
676                                   ['incremental_chrome_dll==1', {
677                                     'UseLibraryDependencyInputs': "true",
678                                   }],
679                                 ],
680                               },
681                             },
682                         }],
683                     ],
684                 }, { # else: inside_chromium_build==0
685                     'direct_dependent_settings': {
686                         'include_dirs': [
687                             '<(SHARED_INTERMEDIATE_DIR)/webkit', # in a chromium-inside-WebKit build, headers in the public WebKit API are copied beneath this directory so includes referencing third_party/WebKit work.
688                         ],
689                     },
690                 }],
691                 ['use_x11 == 1', {
692                     'dependencies': [
693                         '<(chromium_src_dir)/build/linux/system.gyp:fontconfig',
694                         '<(chromium_src_dir)/build/linux/system.gyp:x11',
695                     ],
696                     'include_dirs': [
697                         'public/x11',
698                         'public/linux',
699                     ],
700                 }, { # else: use_x11 != 1
701                     'sources/': [
702                         ['exclude', '/x11/'],
703                         ['exclude', '/linux/'],
704                     ],
705                 }],
706                 ['toolkit_uses_gtk == 1', {
707                     'dependencies': [
708                         '<(chromium_src_dir)/build/linux/system.gyp:gtk',
709                     ],
710                     'include_dirs': [
711                         'public/gtk',
712                     ],
713                 }, { # else: toolkit_uses_gtk != 1
714                     'sources/': [
715                         ['exclude', '/gtk/'],
716                     ],
717                 }],
718                 ['OS=="android"', {
719                     'include_dirs': [
720                         'public/android',
721                         'public/linux', # We need linux/WebFontRendering.h on Android.
722                     ],
723                 }, { # else: OS!="android"
724                     'sources/': [
725                         ['exclude', '/android/'],
726                     ],
727                 }],
728                 ['OS=="mac"', {
729                     'include_dirs': [
730                         'public/mac',
731                     ],
732                 }, { # else: OS!="mac"
733                     'sources/': [
734                         ['exclude', '/mac/'],
735                     ],
736                 }],
737                 ['OS=="win"', {
738                     'include_dirs': [
739                         'public/win',
740                     ],
741                 }, { # else: OS!="win"
742                     'sources/': [['exclude', '/win/']],
743                     'variables': {
744                         # FIXME: Turn on warnings on Windows.
745                         'chromium_code': 1,
746                     }
747                 }],
748                 ['"ENABLE_WEBGL=1" in feature_defines', {
749                     'conditions': [
750                         ['OS=="mac"', {
751                             'link_settings': {
752                                 'libraries': [
753                                     '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
754                                     '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
755                                 ],
756                             },
757                         }],
758                     ],
759                 }],
760                 ['use_default_render_theme==1', {
761                     'include_dirs': [
762                         'public/default',
763                     ],
764                 }, { # else use_default_render_theme==0
765                     'sources/': [
766                         ['exclude', 'src/default/WebRenderTheme.cpp'],
767                         ['exclude', 'public/default/WebRenderTheme.h'],
768                     ],
769                 }],
770             ],
771             'direct_dependent_settings': {
772                 'include_dirs': [
773                     '../../Platform/chromium/',
774                 ],
775             },
776             'target_conditions': [
777                 ['OS=="android"', {
778                     'sources/': [
779                         ['include', '^src/linux/WebFontRendering\\.cpp$'],
780                         ['include', '^src/linux/WebFontRenderStyle\\.cpp$'],
781                     ],
782                 }],
783             ],
784         },
785         {
786             'target_name': 'webkit_wtf_support',
787             'type': 'static_library',
788             'dependencies': [
789                 '../../WTF/WTF.gyp/WTF.gyp:wtf',
790             ],
791             'defines': [
792                 'WEBKIT_IMPLEMENTATION=1',
793             ],
794             'include_dirs': [
795                 '../../Platform/chromium',
796             ],
797             'sources': [
798                 'src/ChromiumCurrentTime.cpp',
799                 'src/ChromiumOSRandomSource.cpp',
800                 'src/ChromiumThreading.cpp',
801             ],
802             'conditions': [
803                 ['component=="shared_library"', {
804                     'defines': [
805                         'WEBKIT_DLL',
806                     ],
807                 }],
808             ],
809         },
810         {
811             'target_name': 'webkit_test_support',
812             'conditions': [
813                 ['inside_chromium_build==1 and component=="shared_library"', {
814                     'type': 'none',
815                 }, { # else: inside_chromium_build==0 or component!="shared_library"
816                     'type': 'static_library',
817                     'dependencies': [
818                         '../../WTF/WTF.gyp/WTF.gyp:wtf',
819                         '../../WebCore/WebCore.gyp/WebCore.gyp:webcore_test_support',
820                     ],
821                     'include_dirs': [
822                         'public',
823                         '../../WebCore/testing/v8', # for WebCoreTestSupport.h, needed to link in window.internals code.
824                         '../../Platform/chromium/',
825                     ],
826                     'sources': [
827                         'src/WebTestingSupport.cpp',
828                         'public/WebTestingSupport.h',
829                     ],
830                 }],
831             ],
832         },
833         {
834             'target_name': 'inspector_resources',
835             'type': 'none',
836             'dependencies': [
837                 'devtools_html',
838                 '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources',
839             ],
840             'conditions': [
841                 ['debug_devtools==0', {
842                     'dependencies': ['concatenated_devtools_js',
843                                      'concatenated_devtools_elements_js',
844                                      'concatenated_devtools_resources_js',
845                                      'concatenated_devtools_network_js',
846                                      'concatenated_devtools_scripts_js',
847                                      'concatenated_devtools_timeline_js',
848                                      'concatenated_devtools_profiles_js',
849                                      'concatenated_devtools_audits_js',
850                                      'concatenated_devtools_codemirror_js',
851                                      'concatenated_devtools_ace_editor_js',
852                                      'concatenated_heap_snapshot_worker_js',
853                                      'concatenated_script_formatter_worker_js',
854                                      'concatenated_devtools_css'],
855                 }],
856             ],
857             'copies': [
858                 {
859                     'destination': '<(PRODUCT_DIR)/resources/inspector',
860                     'files': [
861                         '<@(devtools_files)',
862                         '<@(webinspector_files)',
863                         '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendCommands.js',
864                     ],
865                     'conditions': [
866                         ['debug_devtools==0', {
867                             'files/': [['exclude', '\\.(js|css|html)$']],
868                         }],
869                     ],
870                 },
871                 {
872                     'destination': '<(PRODUCT_DIR)/resources/inspector/UglifyJS',
873                     'files': [
874                         '<@(webinspector_uglifyjs_files)',
875                     ],
876                     'conditions': [
877                         ['debug_devtools==0', {
878                             'files/': [['exclude', '\\.(js|css|html)$']],
879                         }],
880                     ],
881                 },
882                 {
883                     'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
884                     'files': [
885                         '<@(webinspector_image_files)',
886                         '<@(devtools_image_files)',
887                     ],
888                 },
889             ],
890         },
891         {
892             'target_name': 'devtools_html',
893             'type': 'none',
894             'sources': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
895             'actions': [{
896                 'action_name': 'devtools_html',
897                 'script_name': 'scripts/generate_devtools_html.py',
898                 'input_page': '../../WebCore/inspector/front-end/inspector.html',
899                 'inputs': [
900                     '<@(_script_name)',
901                     '<@(_input_page)',
902                     '<@(devtools_files)',
903                 ],
904                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools.html'],
905                 'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_outputs)', '<@(debug_devtools)', '<@(devtools_files)'],
906             }],
907         },
908         {
909             'target_name': 'devtools_extension_api',
910             'type': 'none',
911             'actions': [{
912                 'action_name': 'devtools_html',
913                 'script_name': 'scripts/generate_devtools_extension_api.py',
914                 'inputs': [
915                     '<@(_script_name)',
916                     '<@(devtools_extension_api_files)',
917                 ],
918                 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools_extension_api.js'],
919                 'action': ['python', '<@(_script_name)', '<@(_outputs)', '<@(devtools_extension_api_files)'],
920             }],
921         },
922         {
923             'target_name': 'generate_devtools_grd',
924             'type': 'none',
925             'dependencies': [
926                 'devtools_html',
927                 'devtools_extension_api'
928             ],
929             'conditions': [
930                 ['debug_devtools==0', {
931                     'dependencies': ['concatenated_devtools_js',
932                                      'concatenated_devtools_elements_js',
933                                      'concatenated_devtools_resources_js',
934                                      'concatenated_devtools_network_js',
935                                      'concatenated_devtools_scripts_js',
936                                      'concatenated_devtools_timeline_js',
937                                      'concatenated_devtools_profiles_js',
938                                      'concatenated_devtools_audits_js',
939                                      'concatenated_devtools_codemirror_js',
940                                      'concatenated_devtools_ace_editor_js',
941                                      'concatenated_heap_snapshot_worker_js',
942                                      'concatenated_script_formatter_worker_js',
943                                      'concatenated_devtools_css'],
944                     'actions': [{
945                         'action_name': 'generate_devtools_grd',
946                         'script_name': 'scripts/generate_devtools_grd.py',
947                         'input_pages': [
948                             '<(PRODUCT_DIR)/resources/inspector/devtools.html',
949                             '<(PRODUCT_DIR)/resources/inspector/DevTools.js',
950                             '<(PRODUCT_DIR)/resources/inspector/ElementsPanel.js',
951                             '<(PRODUCT_DIR)/resources/inspector/ResourcesPanel.js',
952                             '<(PRODUCT_DIR)/resources/inspector/NetworkPanel.js',
953                             '<(PRODUCT_DIR)/resources/inspector/ScriptsPanel.js',
954                             '<(PRODUCT_DIR)/resources/inspector/TimelinePanel.js',
955                             '<(PRODUCT_DIR)/resources/inspector/ProfilesPanel.js',
956                             '<(PRODUCT_DIR)/resources/inspector/AuditsPanel.js',
957                             '<(PRODUCT_DIR)/resources/inspector/CodeMirrorTextEditor.js',
958                             '<(PRODUCT_DIR)/resources/inspector/AceTextEditor.js',
959                             '<(PRODUCT_DIR)/resources/inspector/HeapSnapshotWorker.js',
960                             '<(PRODUCT_DIR)/resources/inspector/ScriptFormatterWorker.js',
961                             '<(PRODUCT_DIR)/resources/inspector/devTools.css',
962                             '<(PRODUCT_DIR)/resources/inspector/devtools_extension_api.js',
963                             '<@(webinspector_standalone_files)',
964                         ],
965                         'images': [
966                             '<@(webinspector_image_files)',
967                             '<@(devtools_image_files)',
968                         ],
969                         'inputs': [
970                             '<@(_script_name)',
971                             '<@(_input_pages)',
972                             '<@(_images)',
973                         ],
974                         'search_path': [
975                             '../../WebCore/inspector/front-end/Images',
976                             'src/js/Images',
977                         ],
978                         'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd'],
979                         'action': ['python', '<@(_script_name)', '<@(_input_pages)', '--images', '<@(_search_path)', '--output', '<@(_outputs)'],
980                     }],
981                 },
982                 {
983                     # If we're not concatenating devtools files, we want to
984                     # run after the original files have been copied to
985                     # <(PRODUCT_DIR)/resources/inspector.
986                     'dependencies': ['inspector_resources'],
987                     'actions': [{
988                         'action_name': 'generate_devtools_grd',
989                         'script_name': 'scripts/generate_devtools_grd.py',
990                         'input_pages': [
991                             '<@(webinspector_files)',
992                             '<@(devtools_files)',
993                             '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendCommands.js',
994                             '<(PRODUCT_DIR)/resources/inspector/devtools.html',
995                         ],
996                         'images': [
997                             '<@(webinspector_image_files)',
998                             '<@(devtools_image_files)',
999                         ],
1000                         'inputs': [
1001                             '<@(_script_name)',
1002                             '<@(_input_pages)',
1003                             '<@(_images)',
1004                         ],
1005                         'search_path': [
1006                             '../../WebCore/inspector/front-end/Images',
1007                             'src/js/Images',
1008                         ],
1009                         'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd'],
1010                         'action': ['python', '<@(_script_name)', '<@(_input_pages)', '--images', '<@(_search_path)', '--output', '<@(_outputs)'],
1011                     }],
1012                 }],
1013             ],
1014         },
1015     ], # targets
1016     'conditions': [
1017         ['os_posix==1 and OS!="mac" and OS!="ios" and gcc_version>=46', {
1018             'target_defaults': {
1019                 # Disable warnings about c++0x compatibility, as some names (such
1020                 # as nullptr) conflict with upcoming c++0x types.
1021                 'cflags_cc': ['-Wno-c++0x-compat'],
1022             },
1023         }],
1024         ['OS=="mac"', {
1025             'targets': [
1026                 {
1027                     'target_name': 'copy_mesa',
1028                     'type': 'none',
1029                     'dependencies': ['<(chromium_src_dir)/third_party/mesa/mesa.gyp:osmesa'],
1030                     'copies': [{
1031                         'destination': '<(PRODUCT_DIR)/DumpRenderTree.app/Contents/MacOS/',
1032                         'files': ['<(PRODUCT_DIR)/osmesa.so'],
1033                     }],
1034                 },
1035             ],
1036         }],
1037         ['debug_devtools==0', {
1038             'targets': [
1039                 {
1040                     'target_name': 'concatenated_devtools_js',
1041                     'type': 'none',
1042                     'dependencies': [
1043                         'devtools_html',
1044                         '../../WebCore/WebCore.gyp/WebCore.gyp:inspector_protocol_sources'
1045                     ],
1046                     'actions': [{
1047                         'action_name': 'concatenate_devtools_js',
1048                         'script_name': 'scripts/concatenate_js_files.py',
1049                         'input_page': '../../WebCore/inspector/front-end/inspector.html',
1050                         'inputs': [
1051                             '<@(_script_name)',
1052                             '<@(_input_page)',
1053                             '<@(webinspector_files)',
1054                             '<@(devtools_files)',
1055                             '<(SHARED_INTERMEDIATE_DIR)/webcore/InspectorBackendCommands.js'
1056                         ],
1057                         'search_path': [
1058                             '../../WebCore/inspector/front-end',
1059                             'src/js',
1060                             '<(SHARED_INTERMEDIATE_DIR)/webcore',
1061                         ],
1062                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/DevTools.js'],
1063                         'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
1064                     }],
1065                 },
1066                 {
1067                     'target_name': 'concatenated_devtools_elements_js',
1068                     'type': 'none',
1069                     'actions': [{
1070                         'action_name': 'concatenate_devtools_elements_js',
1071                         'script_name': 'scripts/inline_js_imports.py',
1072                         'input_file': '../../WebCore/inspector/front-end/ElementsPanel.js',
1073                         'inputs': [
1074                             '<@(_script_name)',
1075                             '<@(webinspector_elements_js_files)',
1076                         ],
1077                         'search_path': '../../WebCore/inspector/front-end',
1078                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/ElementsPanel.js'],
1079                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1080                     }],
1081                 },
1082                 {
1083                     'target_name': 'concatenated_devtools_resources_js',
1084                     'type': 'none',
1085                     'actions': [{
1086                         'action_name': 'concatenate_devtools_resources_js',
1087                         'script_name': 'scripts/inline_js_imports.py',
1088                         'input_file': '../../WebCore/inspector/front-end/ResourcesPanel.js',
1089                         'inputs': [
1090                             '<@(_script_name)',
1091                             '<@(webinspector_resources_js_files)',
1092                         ],
1093                         'search_path': '../../WebCore/inspector/front-end',
1094                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/ResourcesPanel.js'],
1095                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1096                     }],
1097                 },
1098                 {
1099                     'target_name': 'concatenated_devtools_network_js',
1100                     'type': 'none',
1101                     'actions': [{
1102                         'action_name': 'concatenate_devtools_network_js',
1103                         'script_name': 'scripts/inline_js_imports.py',
1104                         'input_file': '../../WebCore/inspector/front-end/NetworkPanel.js',
1105                         'inputs': [
1106                             '<@(_script_name)',
1107                             '<@(webinspector_network_js_files)',
1108                         ],
1109                         'search_path': '../../WebCore/inspector/front-end',
1110                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/NetworkPanel.js'],
1111                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1112                     }],
1113                 },
1114                 {
1115                     'target_name': 'concatenated_devtools_scripts_js',
1116                     'type': 'none',
1117                     'actions': [{
1118                         'action_name': 'concatenate_devtools_scripts_js',
1119                         'script_name': 'scripts/inline_js_imports.py',
1120                         'input_file': '../../WebCore/inspector/front-end/ScriptsPanel.js',
1121                         'inputs': [
1122                             '<@(_script_name)',
1123                             '<@(webinspector_scripts_js_files)',
1124                         ],
1125                         'search_path': '../../WebCore/inspector/front-end',
1126                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/ScriptsPanel.js'],
1127                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1128                     }],
1129                 },
1130                 {
1131                     'target_name': 'concatenated_devtools_timeline_js',
1132                     'type': 'none',
1133                     'actions': [{
1134                         'action_name': 'concatenate_devtools_timeline_js',
1135                         'script_name': 'scripts/inline_js_imports.py',
1136                         'input_file': '../../WebCore/inspector/front-end/TimelinePanel.js',
1137                         'inputs': [
1138                             '<@(_script_name)',
1139                             '<@(webinspector_timeline_js_files)',
1140                         ],
1141                         'search_path': '../../WebCore/inspector/front-end',
1142                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/TimelinePanel.js'],
1143                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1144                     }],
1145                 },
1146                 {
1147                     'target_name': 'concatenated_devtools_profiles_js',
1148                     'type': 'none',
1149                     'actions': [{
1150                         'action_name': 'concatenate_devtools_profiles_js',
1151                         'script_name': 'scripts/inline_js_imports.py',
1152                         'input_file': '../../WebCore/inspector/front-end/ProfilesPanel.js',
1153                         'inputs': [
1154                             '<@(_script_name)',
1155                             '<@(webinspector_profiles_js_files)',
1156                         ],
1157                         'search_path': '../../WebCore/inspector/front-end',
1158                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/ProfilesPanel.js'],
1159                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1160                     }],
1161                 },
1162                 {
1163                     'target_name': 'concatenated_devtools_audits_js',
1164                     'type': 'none',
1165                     'actions': [{
1166                         'action_name': 'concatenate_devtools_audits_js',
1167                         'script_name': 'scripts/inline_js_imports.py',
1168                         'input_file': '../../WebCore/inspector/front-end/AuditsPanel.js',
1169                         'inputs': [
1170                             '<@(_script_name)',
1171                             '<@(webinspector_audits_js_files)',
1172                         ],
1173                         'search_path': '../../WebCore/inspector/front-end',
1174                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/AuditsPanel.js'],
1175                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1176                     }],
1177                 },
1178                 {
1179                     'target_name': 'concatenated_devtools_codemirror_js',
1180                     'type': 'none',
1181                     'actions': [{
1182                         'action_name': 'concatenate_devtools_codemirror_js',
1183                         'script_name': 'scripts/inline_js_imports.py',
1184                         'input_file': '../../WebCore/inspector/front-end/CodeMirrorTextEditor.js',
1185                         'inputs': [
1186                             '<@(_script_name)',
1187                             '<@(webinspector_codemirror_js_files)',
1188                         ],
1189                         'search_path': '../../WebCore/inspector/front-end',
1190                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/CodeMirrorTextEditor.js'],
1191                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)', 'true'],
1192                     }],
1193                 },
1194                 {
1195                     'target_name': 'concatenated_devtools_ace_editor_js',
1196                     'type': 'none',
1197                     'actions': [{
1198                         'action_name': 'concatenate_devtools_ace_editor_js',
1199                         'script_name': 'scripts/inline_js_imports.py',
1200                         'input_file': '../../WebCore/inspector/front-end/AceTextEditor.js',
1201                         'inputs': [
1202                             '<@(_script_name)',
1203                             '<@(webinspector_ace_editor_js_files)',
1204                         ],
1205                         'search_path': '../../WebCore/inspector/front-end',
1206                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/AceTextEditor.js'],
1207                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)', 'true'],
1208                     }],
1209                 },
1210                 {
1211                     'target_name': 'concatenated_heap_snapshot_worker_js',
1212                     'type': 'none',
1213                     'actions': [{
1214                         'action_name': 'concatenate_heap_snapshot_worker_js',
1215                         'script_name': 'scripts/inline_js_imports.py',
1216                         'input_file': '../../WebCore/inspector/front-end/HeapSnapshotWorker.js',
1217                         'inputs': [
1218                             '<@(_script_name)',
1219                             '<@(_input_file)',
1220                             '../../WebCore/inspector/front-end/HeapSnapshot.js',
1221                             '../../WebCore/inspector/front-end/HeapSnapshotLoader.js',
1222                             '../../WebCore/inspector/front-end/HeapSnapshotWorkerDispatcher.js',
1223                             '../../WebCore/inspector/front-end/JSHeapSnapshot.js',
1224                             '../../WebCore/inspector/front-end/utilities.js',
1225                         ],
1226                         'search_path': '../../WebCore/inspector/front-end',
1227                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/HeapSnapshotWorker.js'],
1228                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1229                     }],
1230                 },
1231                 {
1232                     'target_name': 'concatenated_script_formatter_worker_js',
1233                     'type': 'none',
1234                     'actions': [{
1235                         'action_name': 'concatenate_script_formatter_worker_js',
1236                         'script_name': 'scripts/inline_js_imports.py',
1237                         'input_file': '../../WebCore/inspector/front-end/ScriptFormatterWorker.js',
1238                         'inputs': [
1239                             '<@(_script_name)',
1240                             '<@(_input_file)',
1241                             '<@(webinspector_uglifyjs_files)'
1242                         ],
1243                         'search_path': '../../WebCore/inspector/front-end',
1244                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/ScriptFormatterWorker.js'],
1245                         'action': ['python', '<@(_script_name)', '<@(_input_file)', '<@(_search_path)', '<@(_outputs)'],
1246                     }],
1247                 },
1248                 {
1249                     'target_name': 'concatenated_devtools_css',
1250                     'type': 'none',
1251                     'dependencies': [
1252                         'devtools_html'
1253                     ],
1254                     'actions': [{
1255                         'action_name': 'concatenate_devtools_css',
1256                         'script_name': 'scripts/concatenate_css_files.py',
1257                         'input_page': '../../WebCore/inspector/front-end/inspector.html',
1258                         'inputs': [
1259                             '<@(_script_name)',
1260                             '<@(_input_page)',
1261                             '<@(webinspector_files)',
1262                             '<@(devtools_files)'
1263                         ],
1264                         'search_path': [
1265                             '../../WebCore/inspector/front-end',
1266                             'src/js',
1267                         ],
1268                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/devTools.css'],
1269                         'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
1270                     }],
1271                     'copies': [{
1272                         'destination': '<(PRODUCT_DIR)/resources/inspector',
1273                         'files': [
1274                             '<@(webinspector_standalone_files)',
1275                         ],
1276                     }],
1277                 },
1278             ],
1279         }],
1280         ['clang==1', {
1281             'target_defaults': {
1282                 'cflags': ['-Wglobal-constructors'],
1283                 'xcode_settings': {
1284                     'WARNING_CFLAGS': ['-Wglobal-constructors'],
1285                 },
1286             },
1287         }],
1288     ], # conditions
1289 }