Home | History | Annotate | Download | only in devtools
      1 #
      2 # Copyright (C) 2013 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     'variables': {
     33         # If debug_devtools is set to 1, JavaScript files for DevTools are
     34         # stored as is. Otherwise, a concatenated file is stored.
     35         'debug_devtools%': 0,
     36         'devtools_files': [
     37             'front_end/inspector.html',
     38             'front_end/AdvancedSearchController.js',
     39             'front_end/ApplicationCacheModel.js',
     40             'front_end/BreakpointManager.js',
     41             'front_end/Checkbox.js',
     42             'front_end/Color.js',
     43             'front_end/CompilerScriptMapping.js',
     44             'front_end/CompletionDictionary.js',
     45             'front_end/ConsoleMessage.js',
     46             'front_end/ConsoleModel.js',
     47             'front_end/ConsolePanel.js',
     48             'front_end/ConsoleView.js',
     49             'front_end/ContentProvider.js',
     50             'front_end/ContentProviderBasedProjectDelegate.js',
     51             'front_end/ContentProviders.js',
     52             'front_end/ContextMenu.js',
     53             'front_end/CookieItemsView.js',
     54             'front_end/CookieParser.js',
     55             'front_end/CookiesTable.js',
     56             'front_end/CSSFormatter.js',
     57             'front_end/CSSMetadata.js',
     58             'front_end/CSSStyleModel.js',
     59             'front_end/CSSStyleSheetMapping.js',
     60             'front_end/Database.js',
     61             'front_end/DataGrid.js',
     62             'front_end/DebuggerModel.js',
     63             'front_end/DebuggerScriptMapping.js',
     64             'front_end/DevToolsExtensionAPI.js',
     65             'front_end/Tests.js',
     66             'front_end/Dialog.js',
     67             'front_end/DOMAgent.js',
     68             'front_end/DOMBreakpointsSidebarPane.js',
     69             'front_end/DOMCountersGraph.js',
     70             'front_end/DOMExtension.js',
     71             'front_end/DOMPresentationUtils.js',
     72             'front_end/DOMStorage.js',
     73             'front_end/DOMSyntaxHighlighter.js',
     74             'front_end/DefaultScriptMapping.js',
     75             'front_end/DockController.js',
     76             'front_end/Drawer.js',
     77             'front_end/EditFileSystemDialog.js',
     78             'front_end/ElementsPanelDescriptor.js',
     79             'front_end/ElementsTreeOutline.js',
     80             'front_end/EmptyView.js',
     81             'front_end/ExtensionAPI.js',
     82             'front_end/ExtensionAuditCategory.js',
     83             'front_end/ExtensionPanel.js',
     84             'front_end/ExtensionRegistryStub.js',
     85             'front_end/ExtensionServer.js',
     86             'front_end/ExtensionView.js',
     87             'front_end/FileManager.js',
     88             'front_end/FileSystemMapping.js',
     89             'front_end/FileSystemModel.js',
     90             'front_end/FileSystemProjectDelegate.js',
     91             'front_end/FileUtils.js',
     92             'front_end/FilterBar.js',
     93             'front_end/FlameChart.js',
     94             'front_end/FontView.js',
     95             'front_end/Geometry.js',
     96             'front_end/GoToLineDialog.js',
     97             'front_end/HAREntry.js',
     98             'front_end/HandlerRegistry.js',
     99             'front_end/HeapSnapshotWorker.js',
    100             'front_end/HelpScreen.js',
    101             'front_end/ImageView.js',
    102             'front_end/IndexedDBModel.js',
    103             'front_end/InspectorBackend.js',
    104             'front_end/InspectorFrontendAPI.js',
    105             'front_end/InspectorFrontendHostStub.js',
    106             'front_end/InspectorView.js',
    107             'front_end/inspector.js',
    108             'front_end/IsolatedFileSystem.js',
    109             'front_end/IsolatedFileSystemManager.js',
    110             'front_end/JavaScriptFormatter.js',
    111             'front_end/jsdifflib.js',
    112             'front_end/KeyboardShortcut.js',
    113             'front_end/LayersPanelDescriptor.js',
    114             'front_end/Linkifier.js',
    115             'front_end/LiveEditSupport.js',
    116             'front_end/NativeBreakpointsSidebarPane.js',
    117             'front_end/NetworkManager.js',
    118             'front_end/NetworkLog.js',
    119             'front_end/NetworkPanelDescriptor.js',
    120             'front_end/NetworkRequest.js',
    121             'front_end/NetworkUISourceCodeProvider.js',
    122             'front_end/InspectElementModeController.js',
    123             'front_end/Object.js',
    124             'front_end/ObjectPopoverHelper.js',
    125             'front_end/ObjectPropertiesSection.js',
    126             'front_end/OverridesSupport.js',
    127             'front_end/OverviewGrid.js',
    128             'front_end/Panel.js',
    129             'front_end/ParsedURL.js',
    130             'front_end/Placard.js',
    131             'front_end/Popover.js',
    132             'front_end/PresentationConsoleMessageHelper.js',
    133             'front_end/ProfilesPanelDescriptor.js',
    134             'front_end/Progress.js',
    135             'front_end/ProgressIndicator.js',
    136             'front_end/PropertiesSection.js',
    137             'front_end/RemoteObject.js',
    138             'front_end/Resource.js',
    139             'front_end/ResourceScriptMapping.js',
    140             'front_end/ResourceTreeModel.js',
    141             'front_end/ResourceType.js',
    142             'front_end/ResourceUtils.js',
    143             'front_end/ResourceView.js',
    144             'front_end/RuntimeModel.js',
    145             'front_end/SASSSourceMapping.js',
    146             'front_end/ScreencastView.js',
    147             'front_end/Script.js',
    148             'front_end/ScriptFormatter.js',
    149             'front_end/ScriptFormatterWorker.js',
    150             'front_end/ScriptSnippetModel.js',
    151             'front_end/SearchableView.js',
    152             'front_end/SettingsScreen.js',
    153             'front_end/Section.js',
    154             'front_end/Settings.js',
    155             'front_end/ShortcutsScreen.js',
    156             'front_end/ShowMoreDataGridNode.js',
    157             'front_end/SidebarOverlay.js',
    158             'front_end/SidebarPane.js',
    159             'front_end/SidebarView.js',
    160             'front_end/SidebarTreeElement.js',
    161             'front_end/SimpleWorkspaceProvider.js',
    162             'front_end/SnippetStorage.js',
    163             'front_end/SoftContextMenu.js',
    164             'front_end/SourceFrame.js',
    165             'front_end/SourceMap.js',
    166             'front_end/SourceMapping.js',
    167             'front_end/SourcesPanelDescriptor.js',
    168             'front_end/Spectrum.js',
    169             'front_end/SplitView.js',
    170             'front_end/StatusBarButton.js',
    171             'front_end/StylesSourceMapping.js',
    172             'front_end/SuggestBox.js',
    173             'front_end/TabbedPane.js',
    174             'front_end/TempFile.js',
    175             'front_end/TestController.js',
    176             'front_end/TextEditor.js',
    177             'front_end/TextRange.js',
    178             'front_end/TextPrompt.js',
    179             'front_end/TextUtils.js',
    180             'front_end/TimelineGrid.js',
    181             'front_end/TimelineManager.js',
    182             'front_end/TimelinePanelDescriptor.js',
    183             'front_end/TracingAgent.js',
    184             'front_end/treeoutline.js',
    185             'front_end/UISourceCode.js',
    186             'front_end/UIString.js',
    187             'front_end/UIUtils.js',
    188             'front_end/UserMetrics.js',
    189             'front_end/utilities.js',
    190             'front_end/View.js',
    191             'front_end/ViewportControl.js',
    192             'front_end/WorkerManager.js',
    193             'front_end/Workspace.js',
    194             'front_end/WorkspaceController.js',
    195             'front_end/dialog.css',
    196             'front_end/inspector.css',
    197             'front_end/tabbedPane.css',
    198             'front_end/inspectorSyntaxHighlight.css',
    199             'front_end/popover.css',
    200             '<@(devtools_modules_js_files)',
    201             '<@(devtools_standalone_files)',
    202         ],
    203         'devtools_standalone_files': [
    204             'front_end/accelerometer.css',
    205             'front_end/auditsPanel.css',
    206             'front_end/breadcrumbList.css',
    207             'front_end/breakpointsList.css',
    208             'front_end/buildSystemOnly.js',
    209             'front_end/cm/cmdevtools.css',
    210             'front_end/cm/codemirror.css',
    211             'front_end/cssNamedFlows.css',
    212             'front_end/dataGrid.css',
    213             'front_end/elementsPanel.css',
    214             'front_end/filter.css',
    215             'front_end/filteredItemSelectionDialog.css',
    216             'front_end/flameChart.css',
    217             'front_end/heapProfiler.css',
    218             'front_end/helpScreen.css',
    219             'front_end/indexedDBViews.css',
    220             'front_end/inspectorCommon.css',
    221             'front_end/navigatorView.css',
    222             'front_end/networkLogView.css',
    223             'front_end/networkPanel.css',
    224             'front_end/overrides.css',
    225             'front_end/panelEnablerView.css',
    226             'front_end/profilesPanel.css',
    227             'front_end/resourceView.css',
    228             'front_end/resourcesPanel.css',
    229             'front_end/revisionHistory.css',
    230             'front_end/screencastView.css',
    231             'front_end/sidebarPane.css',
    232             'front_end/sourcesPanel.css',
    233             'front_end/sourcesView.css',
    234             'front_end/spectrum.css',
    235             'front_end/splitView.css',
    236             'front_end/textPrompt.css',
    237             'front_end/timelinePanel.css',
    238             'front_end/canvasProfiler.css',
    239             'front_end/layersPanel.css',
    240         ],
    241         'devtools_elements_js_files': [
    242             'front_end/CSSNamedFlowCollectionsView.js',
    243             'front_end/CSSNamedFlowView.js',
    244             'front_end/ElementsPanel.js',
    245             'front_end/EventListenersSidebarPane.js',
    246             'front_end/MetricsSidebarPane.js',
    247             'front_end/OverridesView.js', 
    248             'front_end/PlatformFontsSidebarPane.js',
    249             'front_end/PropertiesSidebarPane.js',
    250             'front_end/RenderingOptionsView.js',
    251             'front_end/StylesSidebarPane.js',
    252         ],
    253         'devtools_resources_js_files': [
    254             'front_end/ApplicationCacheItemsView.js',
    255             'front_end/DOMStorageItemsView.js',
    256             'front_end/DatabaseQueryView.js',
    257             'front_end/DatabaseTableView.js',
    258             'front_end/DirectoryContentView.js',
    259             'front_end/FileContentView.js',
    260             'front_end/FileSystemView.js',
    261             'front_end/IndexedDBViews.js',
    262             'front_end/ResourcesPanel.js',
    263         ],
    264         'devtools_network_js_files': [
    265             'front_end/NetworkItemView.js',
    266             'front_end/RequestCookiesView.js',
    267             'front_end/RequestHeadersView.js',
    268             'front_end/RequestHTMLView.js',
    269             'front_end/RequestJSONView.js',
    270             'front_end/RequestPreviewView.js',
    271             'front_end/RequestResponseView.js',
    272             'front_end/RequestTimingView.js',
    273             'front_end/RequestView.js',
    274             'front_end/ResourceWebSocketFrameView.js',
    275             'front_end/NetworkPanel.js',
    276         ],
    277         'devtools_scripts_js_files': [
    278             'front_end/BreakpointsSidebarPane.js',
    279             'front_end/CSSSourceFrame.js',
    280             'front_end/CallStackSidebarPane.js',
    281             'front_end/FilePathScoreFunction.js',
    282             'front_end/FilteredItemSelectionDialog.js',
    283             'front_end/JavaScriptSourceFrame.js',
    284             'front_end/NavigatorOverlayController.js',
    285             'front_end/NavigatorView.js',
    286             'front_end/RevisionHistoryView.js',
    287             'front_end/ScopeChainSidebarPane.js',
    288             'front_end/SourcesNavigator.js',
    289             'front_end/SourcesPanel.js',
    290             'front_end/SourcesSearchScope.js',
    291             'front_end/StyleSheetOutlineDialog.js',
    292             'front_end/TabbedEditorContainer.js',
    293             'front_end/UISourceCodeFrame.js',
    294             'front_end/WatchExpressionsSidebarPane.js',
    295             'front_end/WorkersSidebarPane.js',
    296         ],
    297         'devtools_timeline_js_files': [
    298             'front_end/MemoryStatistics.js',
    299             'front_end/PieChart.js',
    300             'front_end/TimelineFrameController.js',
    301             'front_end/TimelineModel.js',
    302             'front_end/TimelinePresentationModel.js',
    303             'front_end/TimelineOverviewPane.js',
    304             'front_end/TimelineEventOverview.js',
    305             'front_end/TimelineFrameOverview.js',
    306             'front_end/TimelineMemoryOverview.js',
    307             'front_end/TimelinePanel.js',
    308         ],
    309         'devtools_profiles_js_files': [
    310             'front_end/AllocationProfile.js',
    311             'front_end/BottomUpProfileDataGridTree.js',
    312             'front_end/CPUProfileView.js',
    313             'front_end/HeapSnapshot.js',
    314             'front_end/HeapSnapshotDataGrids.js',
    315             'front_end/HeapSnapshotGridNodes.js',
    316             'front_end/HeapSnapshotLoader.js',
    317             'front_end/HeapSnapshotProxy.js',
    318             'front_end/HeapSnapshotView.js',
    319             'front_end/HeapSnapshotWorkerDispatcher.js',
    320             'front_end/JSHeapSnapshot.js',
    321             'front_end/ProfileDataGridTree.js',
    322             'front_end/ProfilesPanel.js',
    323             'front_end/ProfileLauncherView.js',
    324             'front_end/TopDownProfileDataGridTree.js',
    325             'front_end/CanvasProfileView.js',
    326             'front_end/CanvasReplayStateView.js',
    327         ],
    328         'devtools_audits_js_files': [
    329             'front_end/AuditCategories.js',
    330             'front_end/AuditController.js',
    331             'front_end/AuditFormatters.js',
    332             'front_end/AuditLauncherView.js',
    333             'front_end/AuditResultView.js',
    334             'front_end/AuditRules.js',
    335             'front_end/AuditsPanel.js',
    336         ],
    337         'devtools_codemirror_js_files': [
    338             'front_end/CodeMirrorTextEditor.js',
    339             'front_end/CodeMirrorUtils.js',
    340         ],
    341         'devtools_cm_files': [
    342             'front_end/cm/clike.js',
    343             'front_end/cm/closebrackets.js',
    344             'front_end/cm/codemirror.js',
    345             'front_end/cm/coffeescript.js',
    346             'front_end/cm/comment.js',
    347             'front_end/cm/css.js',
    348             'front_end/cm/headlesscodemirror.js',
    349             'front_end/cm/htmlembedded.js',
    350             'front_end/cm/htmlmixed.js',
    351             'front_end/cm/javascript.js',
    352             'front_end/cm/markselection.js',
    353             'front_end/cm/matchbrackets.js',
    354             'front_end/cm/overlay.js',
    355             'front_end/cm/php.js',
    356             'front_end/cm/python.js',
    357             'front_end/cm/shell.js',
    358             'front_end/cm/xml.js',
    359         ],
    360         'devtools_modules_js_files': [
    361             '<@(devtools_elements_js_files)',
    362             '<@(devtools_resources_js_files)',
    363             '<@(devtools_network_js_files)',
    364             '<@(devtools_scripts_js_files)',
    365             '<@(devtools_timeline_js_files)',
    366             '<@(devtools_profiles_js_files)',
    367             '<@(devtools_audits_js_files)',
    368             '<@(devtools_layers_js_files)',
    369             '<@(devtools_codemirror_js_files)',
    370         ],
    371         'devtools_uglify_files': [
    372             'front_end/UglifyJS/parse-js.js',
    373         ],
    374         'devtools_image_files': [
    375             'front_end/Images/addIcon.png',
    376             'front_end/Images/applicationCache.png',
    377             'front_end/Images/back.png',
    378             'front_end/Images/breakpointBorder.png',
    379             'front_end/Images/breakpoint2.png',
    380             'front_end/Images/breakpoint2_2x.png',
    381             'front_end/Images/breakpointConditional2.png',
    382             'front_end/Images/breakpointConditional2_2x.png',
    383             'front_end/Images/breakpointConditionalBorder.png',
    384             'front_end/Images/breakpointConditionalCounterBorder.png',
    385             'front_end/Images/breakpointCounterBorder.png',
    386             'front_end/Images/checker.png',
    387             'front_end/Images/cookie.png',
    388             'front_end/Images/namedFlowOverflow.png',
    389             'front_end/Images/database.png',
    390             'front_end/Images/databaseTable.png',
    391             'front_end/Images/deleteIcon.png',
    392             'front_end/Images/domain.png',
    393             'front_end/Images/forward.png',
    394             'front_end/Images/fileSystem.png',
    395             'front_end/Images/frame.png',
    396             'front_end/Images/glossyHeader.png',
    397             'front_end/Images/glossyHeaderPressed.png',
    398             'front_end/Images/glossyHeaderSelected.png',
    399             'front_end/Images/glossyHeaderSelectedPressed.png',
    400             'front_end/Images/graphLabelCalloutLeft.png',
    401             'front_end/Images/graphLabelCalloutRight.png',
    402             'front_end/Images/indexedDB.png',
    403             'front_end/Images/indexedDBObjectStore.png',
    404             'front_end/Images/indexedDBIndex.png',
    405             'front_end/Images/localStorage.png',
    406             'front_end/Images/navigationControls.png',
    407             'front_end/Images/navigationControls_2x.png',
    408             'front_end/Images/paneAddButtons.png',
    409             'front_end/Images/paneElementStateButtons.png',
    410             'front_end/Images/paneFilterButtons.png',
    411             'front_end/Images/paneRefreshButtons.png',
    412             'front_end/Images/paneSettingsButtons.png',
    413             'front_end/Images/popoverArrows.png',
    414             'front_end/Images/popoverBackground.png',
    415             'front_end/Images/profileGroupIcon.png',
    416             'front_end/Images/profileIcon.png',
    417             'front_end/Images/profileSmallIcon.png',
    418             'front_end/Images/programCounterBorder.png',
    419             'front_end/Images/radioDot.png',
    420             'front_end/Images/regionEmpty.png',
    421             'front_end/Images/regionFit.png',
    422             'front_end/Images/regionOverset.png',
    423             'front_end/Images/resourceCSSIcon.png',
    424             'front_end/Images/resourceDocumentIcon.png',
    425             'front_end/Images/resourceDocumentIconSmall.png',
    426             'front_end/Images/resourceJSIcon.png',
    427             'front_end/Images/resourcePlainIcon.png',
    428             'front_end/Images/resourcePlainIconSmall.png',
    429             'front_end/Images/resourcesTimeGraphIcon.png',
    430             'front_end/Images/searchNext.png',
    431             'front_end/Images/searchPrev.png',
    432             'front_end/Images/sessionStorage.png',
    433             'front_end/Images/settingsListRemove.png',
    434             'front_end/Images/settingsListRemove_2x.png',
    435             'front_end/Images/spinner.gif',
    436             'front_end/Images/spinnerActive.gif',
    437             'front_end/Images/spinnerActiveSelected.gif',
    438             'front_end/Images/spinnerInactive.gif',
    439             'front_end/Images/spinnerInactiveSelected.gif',
    440             'front_end/Images/statusbarButtonGlyphs.png',
    441             'front_end/Images/statusbarButtonGlyphs2x.png',
    442             'front_end/Images/statusbarResizerHorizontal.png',
    443             'front_end/Images/statusbarResizerVertical.png',
    444             'front_end/Images/thumbActiveHoriz.png',
    445             'front_end/Images/thumbActiveVert.png',
    446             'front_end/Images/thumbHoriz.png',
    447             'front_end/Images/thumbVert.png',
    448             'front_end/Images/thumbHoverHoriz.png',
    449             'front_end/Images/thumbHoverVert.png',
    450             'front_end/Images/timelineHollowPillBlue.png',
    451             'front_end/Images/timelineHollowPillGray.png',
    452             'front_end/Images/timelineHollowPillGreen.png',
    453             'front_end/Images/timelineHollowPillOrange.png',
    454             'front_end/Images/timelineHollowPillPurple.png',
    455             'front_end/Images/timelineHollowPillRed.png',
    456             'front_end/Images/timelineHollowPillYellow.png',
    457             'front_end/Images/timelinePillBlue.png',
    458             'front_end/Images/timelinePillGray.png',
    459             'front_end/Images/timelinePillGreen.png',
    460             'front_end/Images/timelinePillOrange.png',
    461             'front_end/Images/timelinePillPurple.png',
    462             'front_end/Images/timelinePillRed.png',
    463             'front_end/Images/timelinePillYellow.png',
    464             'front_end/Images/toolbarItemSelected.png',
    465             'front_end/Images/trackHoriz.png',
    466             'front_end/Images/trackVert.png',
    467         ],
    468         'devtools_layers_js_files': [
    469             'front_end/LayersPanel.js',
    470             'front_end/LayerTreeModel.js',
    471             'front_end/LayerTree.js',
    472             'front_end/Layers3DView.js',
    473             'front_end/LayerDetailsView.js',
    474             'front_end/PaintProfilerView.js',
    475         ],
    476         'devtools_extension_api_files': [
    477             'front_end/ExtensionAPI.js',
    478             'front_end/DevToolsExtensionAPI.js'
    479         ],
    480     },
    481 }
    482