| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/features.gni") |
| import("//third_party/WebKit/public/public_features.gni") |
| import("//third_party/WebKit/Source/core/core.gni") |
| |
| all_devtools_files = [ |
| "front_end/accessibility/AccessibilityModel.js", |
| "front_end/accessibility/accessibilityNode.css", |
| "front_end/accessibility/AccessibilityNodeView.js", |
| "front_end/accessibility/AccessibilitySidebarView.js", |
| "front_end/accessibility/AccessibilityStrings.js", |
| "front_end/accessibility/ARIAAttributesView.js", |
| "front_end/accessibility/ARIAConfig.js", |
| "front_end/accessibility/ARIAMetadata.js", |
| "front_end/accessibility/AXTreePane.js", |
| "front_end/accessibility/module.json", |
| "front_end/animation/AnimationGroupPreviewUI.js", |
| "front_end/animation/AnimationModel.js", |
| "front_end/animation/animationScreenshotPopover.css", |
| "front_end/animation/AnimationScreenshotPopover.js", |
| "front_end/animation/animationTimeline.css", |
| "front_end/animation/AnimationTimeline.js", |
| "front_end/animation/AnimationUI.js", |
| "front_end/animation/module.json", |
| "front_end/audits/AuditCategories.js", |
| "front_end/audits/AuditCategory.js", |
| "front_end/audits/AuditController.js", |
| "front_end/audits/AuditExtensionCategory.js", |
| "front_end/audits/AuditFormatters.js", |
| "front_end/audits/AuditLauncherView.js", |
| "front_end/audits/auditResultTree.css", |
| "front_end/audits/AuditResultView.js", |
| "front_end/audits/AuditRules.js", |
| "front_end/audits/auditsPanel.css", |
| "front_end/audits/AuditsPanel.js", |
| "front_end/audits/auditsSidebarTree.css", |
| "front_end/audits/module.json", |
| "front_end/audits2_worker.js", |
| "front_end/audits2_worker.json", |
| "front_end/audits2_worker/Audits2Service.js", |
| "front_end/audits2_worker/lighthouse/lighthouse-background.js", |
| "front_end/audits2_worker/module.json", |
| "front_end/audits2/Audits2Panel.js", |
| "front_end/audits2/audits2Dialog.css", |
| "front_end/audits2/audits2Panel.css", |
| "front_end/audits2/audits2Tree.css", |
| "front_end/audits2/lighthouse/renderer/dom.js", |
| "front_end/audits2/lighthouse/renderer/details-renderer.js", |
| "front_end/audits2/lighthouse/renderer/category-renderer.js", |
| "front_end/audits2/lighthouse/renderer/report-renderer.js", |
| "front_end/audits2/lighthouse/renderer/util.js", |
| "front_end/audits2/module.json", |
| "front_end/bindings/BlackboxManager.js", |
| "front_end/bindings/BreakpointManager.js", |
| "front_end/bindings/CompilerScriptMapping.js", |
| "front_end/bindings/ContentProviderBasedProject.js", |
| "front_end/bindings/CSSWorkspaceBinding.js", |
| "front_end/bindings/DebuggerWorkspaceBinding.js", |
| "front_end/bindings/DefaultScriptMapping.js", |
| "front_end/bindings/FileUtils.js", |
| "front_end/bindings/LiveLocation.js", |
| "front_end/bindings/module.json", |
| "front_end/bindings/NetworkProject.js", |
| "front_end/bindings/PresentationConsoleMessageHelper.js", |
| "front_end/bindings/ResourceScriptMapping.js", |
| "front_end/bindings/ResourceUtils.js", |
| "front_end/bindings/SASSSourceMapping.js", |
| "front_end/bindings/StylesSourceMapping.js", |
| "front_end/bindings/TempFile.js", |
| "front_end/changes/ChangesHighlighter.js", |
| "front_end/changes/changesView.css", |
| "front_end/changes/ChangesView.js", |
| "front_end/changes/changesSidebar.css", |
| "front_end/changes/ChangesSidebar.js", |
| "front_end/changes/module.json", |
| "front_end/cm/activeline.js", |
| "front_end/cm/closebrackets.js", |
| "front_end/cm/codemirror.css", |
| "front_end/cm/codemirror.js", |
| "front_end/cm/comment.js", |
| "front_end/cm/markselection.js", |
| "front_end/cm/matchbrackets.js", |
| "front_end/cm/module.json", |
| "front_end/cm/multiplex.js", |
| "front_end/cm/overlay.js", |
| "front_end/cm_headless/headlesscodemirror.js", |
| "front_end/cm_headless/module.json", |
| "front_end/cm_modes/clike.js", |
| "front_end/cm_modes/clojure.js", |
| "front_end/cm_modes/coffeescript.js", |
| "front_end/cm_modes/DefaultCodeMirrorMimeMode.js", |
| "front_end/cm_modes/livescript.js", |
| "front_end/cm_modes/module.json", |
| "front_end/cm_modes/php.js", |
| "front_end/cm_modes/python.js", |
| "front_end/cm_modes/shell.js", |
| "front_end/cm_web_modes/css.js", |
| "front_end/cm_web_modes/htmlembedded.js", |
| "front_end/cm_web_modes/htmlmixed.js", |
| "front_end/cm_web_modes/javascript.js", |
| "front_end/cm_web_modes/xml.js", |
| "front_end/color_picker/module.json", |
| "front_end/color_picker/spectrum.css", |
| "front_end/color_picker/Spectrum.js", |
| "front_end/common/CharacterIdMap.js", |
| "front_end/common/Color.js", |
| "front_end/common/Console.js", |
| "front_end/common/ContentProvider.js", |
| "front_end/common/FormatterWorkerPool.js", |
| "front_end/common/module.json", |
| "front_end/common/ModuleExtensionInterfaces.js", |
| "front_end/common/Object.js", |
| "front_end/common/OutputStream.js", |
| "front_end/common/ParsedURL.js", |
| "front_end/common/Progress.js", |
| "front_end/common/ResourceType.js", |
| "front_end/common/SegmentedRange.js", |
| "front_end/common/Settings.js", |
| "front_end/common/StaticContentProvider.js", |
| "front_end/common/TextDictionary.js", |
| "front_end/common/Throttler.js", |
| "front_end/common/Trie.js", |
| "front_end/common/UIString.js", |
| "front_end/common/Worker.js", |
| "front_end/components/breakpointsList.css", |
| "front_end/components/BreakpointsSidebarPaneBase.js", |
| "front_end/components/CPUThrottlingManager.js", |
| "front_end/components/DataSaverInfobar.js", |
| "front_end/components/DockController.js", |
| "front_end/components/DOMBreakpointsSidebarPane.js", |
| "front_end/components/DOMPresentationUtils.js", |
| "front_end/components/domUtils.css", |
| "front_end/components/imagePreview.css", |
| "front_end/components/Linkifier.js", |
| "front_end/components/module.json", |
| "front_end/components/Reload.js", |
| "front_end/console/consoleContextSelector.css", |
| "front_end/console/consoleContextSelectorButton.css", |
| "front_end/console/ConsoleContextSelector.js", |
| "front_end/console/ConsolePanel.js", |
| "front_end/console/ConsolePrompt.js", |
| "front_end/console/consoleView.css", |
| "front_end/console/ConsoleView.js", |
| "front_end/console/ConsoleViewMessage.js", |
| "front_end/console/ConsoleViewport.js", |
| "front_end/console/module.json", |
| "front_end/console_model/ConsoleModel.js", |
| "front_end/console_model/module.json", |
| "front_end/cookie_table/CookiesTable.js", |
| "front_end/cookie_table/module.json", |
| "front_end/coverage/coverageListView.css", |
| "front_end/coverage/CoverageDecorationManager.js", |
| "front_end/coverage/CoverageListView.js", |
| "front_end/coverage/CoverageModel.js", |
| "front_end/coverage/coverageView.css", |
| "front_end/coverage/CoverageView.js", |
| "front_end/coverage/module.json", |
| "front_end/data_grid/dataGrid.css", |
| "front_end/data_grid/DataGrid.js", |
| "front_end/data_grid/module.json", |
| "front_end/data_grid/ShowMoreDataGridNode.js", |
| "front_end/data_grid/SortableDataGrid.js", |
| "front_end/data_grid/ViewportDataGrid.js", |
| "front_end/devices/devicesView.css", |
| "front_end/devices/DevicesView.js", |
| "front_end/devices/module.json", |
| "front_end/diff/diff_match_patch.js", |
| "front_end/diff/Diff.js", |
| "front_end/diff/module.json", |
| "front_end/dom_extension/DOMExtension.js", |
| "front_end/dom_extension/module.json", |
| "front_end/elements/breadcrumbs.css", |
| "front_end/elements/ClassesPaneWidget.js", |
| "front_end/elements/ColorSwatchPopoverIcon.js", |
| "front_end/elements/ComputedStyleModel.js", |
| "front_end/elements/computedStyleSidebarPane.css", |
| "front_end/elements/ComputedStyleWidget.js", |
| "front_end/elements/ElementsBreadcrumbs.js", |
| "front_end/elements/elementsPanel.css", |
| "front_end/elements/ElementsPanel.js", |
| "front_end/elements/ElementsSidebarPane.js", |
| "front_end/elements/ElementStatePaneWidget.js", |
| "front_end/elements/ElementsTreeElement.js", |
| "front_end/elements/ElementsTreeElementHighlighter.js", |
| "front_end/elements/elementsTreeOutline.css", |
| "front_end/elements/ElementsTreeOutline.js", |
| "front_end/elements/EventListenersWidget.js", |
| "front_end/elements/InspectElementModeController.js", |
| "front_end/elements/MetricsSidebarPane.js", |
| "front_end/elements/module.json", |
| "front_end/elements/platformFontsWidget.css", |
| "front_end/elements/PlatformFontsWidget.js", |
| "front_end/elements/PropertiesWidget.js", |
| "front_end/elements/StylePropertyHighlighter.js", |
| "front_end/elements/stylesSectionTree.css", |
| "front_end/elements/StylesSidebarPane.js", |
| "front_end/emulated_devices/module.json", |
| "front_end/emulation/AdvancedApp.js", |
| "front_end/emulation/DeviceModeModel.js", |
| "front_end/emulation/deviceModeToolbar.css", |
| "front_end/emulation/DeviceModeToolbar.js", |
| "front_end/emulation/deviceModeView.css", |
| "front_end/emulation/DeviceModeView.js", |
| "front_end/emulation/DeviceModeWrapper.js", |
| "front_end/emulation/devicesSettingsTab.css", |
| "front_end/emulation/DevicesSettingsTab.js", |
| "front_end/emulation/EmulatedDevices.js", |
| "front_end/emulation/inspectedPagePlaceholder.css", |
| "front_end/emulation/InspectedPagePlaceholder.js", |
| "front_end/emulation/mediaQueryInspector.css", |
| "front_end/emulation/MediaQueryInspector.js", |
| "front_end/emulation/module.json", |
| "front_end/emulation/sensors.css", |
| "front_end/emulation/SensorsView.js", |
| "front_end/event_listeners/EventListenersUtils.js", |
| "front_end/event_listeners/eventListenersView.css", |
| "front_end/event_listeners/EventListenersView.js", |
| "front_end/event_listeners/module.json", |
| "front_end/extensions/ExtensionAPI.js", |
| "front_end/extensions/ExtensionAuditCategory.js", |
| "front_end/extensions/ExtensionPanel.js", |
| "front_end/extensions/ExtensionRegistryStub.js", |
| "front_end/extensions/ExtensionServer.js", |
| "front_end/extensions/ExtensionView.js", |
| "front_end/extensions/module.json", |
| "front_end/formatter_worker.js", |
| "front_end/formatter_worker.json", |
| "front_end/formatter_worker/AcornTokenizer.js", |
| "front_end/formatter_worker/CSSFormatter.js", |
| "front_end/formatter_worker/CSSRuleParser.js", |
| "front_end/formatter_worker/ESTreeWalker.js", |
| "front_end/formatter_worker/FormattedContentBuilder.js", |
| "front_end/formatter_worker/FormatterWorker.js", |
| "front_end/formatter_worker/HTMLFormatter.js", |
| "front_end/formatter_worker/IdentityFormatter.js", |
| "front_end/formatter_worker/JavaScriptFormatter.js", |
| "front_end/formatter_worker/JavaScriptOutline.js", |
| "front_end/formatter_worker/RelaxedJSONParser.js", |
| "front_end/formatter_worker/acorn/acorn.js", |
| "front_end/formatter_worker/acorn/acorn_loose.js", |
| "front_end/formatter_worker/module.json", |
| "front_end/gonzales/gonzales-scss.js", |
| "front_end/gonzales/module.json", |
| "front_end/gonzales/SCSSParser.js", |
| "front_end/heap_snapshot_model/HeapSnapshotModel.js", |
| "front_end/heap_snapshot_model/module.json", |
| "front_end/heap_snapshot_worker.js", |
| "front_end/heap_snapshot_worker.json", |
| "front_end/heap_snapshot_worker/AllocationProfile.js", |
| "front_end/heap_snapshot_worker/HeapSnapshot.js", |
| "front_end/heap_snapshot_worker/HeapSnapshotLoader.js", |
| "front_end/heap_snapshot_worker/HeapSnapshotWorker.js", |
| "front_end/heap_snapshot_worker/HeapSnapshotWorkerDispatcher.js", |
| "front_end/heap_snapshot_worker/module.json", |
| "front_end/help/Help.js", |
| "front_end/help/module.json", |
| "front_end/help/releaseNote.css", |
| "front_end/help/ReleaseNoteText.js", |
| "front_end/help/ReleaseNoteView.js", |
| "front_end/host/InspectorFrontendHost.js", |
| "front_end/host/InspectorFrontendHostAPI.js", |
| "front_end/host/module.json", |
| "front_end/host/Platform.js", |
| "front_end/host/ResourceLoader.js", |
| "front_end/host/UserMetrics.js", |
| "front_end/inline_editor/bezierEditor.css", |
| "front_end/inline_editor/BezierEditor.js", |
| "front_end/inline_editor/bezierSwatch.css", |
| "front_end/inline_editor/BezierUI.js", |
| "front_end/inline_editor/colorSwatch.css", |
| "front_end/inline_editor/ColorSwatch.js", |
| "front_end/inline_editor/cssShadowEditor.css", |
| "front_end/inline_editor/CSSShadowEditor.js", |
| "front_end/inline_editor/CSSShadowModel.js", |
| "front_end/inline_editor/cssShadowSwatch.css", |
| "front_end/inline_editor/module.json", |
| "front_end/inline_editor/swatchPopover.css", |
| "front_end/inline_editor/SwatchPopoverHelper.js", |
| "front_end/inspector.js", |
| "front_end/inspector.json", |
| "front_end/layer_viewer/layerDetailsView.css", |
| "front_end/layer_viewer/LayerDetailsView.js", |
| "front_end/layer_viewer/layers3DView.css", |
| "front_end/layer_viewer/Layers3DView.js", |
| "front_end/layer_viewer/LayerTreeOutline.js", |
| "front_end/layer_viewer/LayerViewHost.js", |
| "front_end/layer_viewer/module.json", |
| "front_end/layer_viewer/paintProfiler.css", |
| "front_end/layer_viewer/PaintProfilerView.js", |
| "front_end/layer_viewer/TransformController.js", |
| "front_end/layers/LayerPaintProfilerView.js", |
| "front_end/layers/LayersPanel.js", |
| "front_end/layers/LayerTreeModel.js", |
| "front_end/layers/module.json", |
| "front_end/main/errorWarningCounter.css", |
| "front_end/main/ExecutionContextSelector.js", |
| "front_end/main/GCActionDelegate.js", |
| "front_end/main/Main.js", |
| "front_end/main/module.json", |
| "front_end/main/nodeIcon.css", |
| "front_end/main/remoteDebuggingTerminatedScreen.css", |
| "front_end/main/renderingOptions.css", |
| "front_end/main/RenderingOptions.js", |
| "front_end/main/RequestAppBannerActionDelegate.js", |
| "front_end/main/SimpleApp.js", |
| "front_end/main/targetCrashedScreen.css", |
| "front_end/network/blockedURLsPane.css", |
| "front_end/network/BlockedURLsPane.js", |
| "front_end/network/eventSourceMessagesView.css", |
| "front_end/network/EventSourceMessagesView.js", |
| "front_end/network/FilterSuggestionBuilder.js", |
| "front_end/network/HARWriter.js", |
| "front_end/network/JSONView.js", |
| "front_end/network/module.json", |
| "front_end/network/networkConfigView.css", |
| "front_end/network/NetworkConfigView.js", |
| "front_end/network/NetworkDataGridNode.js", |
| "front_end/network/NetworkItemView.js", |
| "front_end/network/networkLogView.css", |
| "front_end/network/NetworkLogView.js", |
| "front_end/network/NetworkLogViewColumns.js", |
| "front_end/network/NetworkFrameGrouper.js", |
| "front_end/network/networkManageCustomHeadersView.css", |
| "front_end/network/NetworkManageCustomHeadersView.js", |
| "front_end/network/NetworkOverview.js", |
| "front_end/network/networkPanel.css", |
| "front_end/network/NetworkPanel.js", |
| "front_end/network/NetworkTimeCalculator.js", |
| "front_end/network/networkTimingTable.css", |
| "front_end/network/NetworkWaterfallColumn.js", |
| "front_end/network/requestCookiesView.css", |
| "front_end/network/RequestCookiesView.js", |
| "front_end/network/requestHeadersTree.css", |
| "front_end/network/requestHeadersView.css", |
| "front_end/network/RequestHeadersView.js", |
| "front_end/network/RequestHTMLView.js", |
| "front_end/network/RequestPreviewView.js", |
| "front_end/network/RequestResponseView.js", |
| "front_end/network/RequestTimingView.js", |
| "front_end/network/RequestView.js", |
| "front_end/network/ResourceWebSocketFrameView.js", |
| "front_end/network/webSocketFrameView.css", |
| "front_end/network/xmlTree.css", |
| "front_end/network/xmlView.css", |
| "front_end/network/XMLView.js", |
| "front_end/network_conditions/module.json", |
| "front_end/network_conditions/NetworkConditionsSelector.js", |
| "front_end/network_conditions/networkConditionsSettingsTab.css", |
| "front_end/network_log/HAREntry.js", |
| "front_end/network_log/module.json", |
| "front_end/network_log/NetworkLog.js", |
| "front_end/object_ui/customPreviewComponent.css", |
| "front_end/object_ui/CustomPreviewComponent.js", |
| "front_end/object_ui/JavaScriptAutocomplete.js", |
| "front_end/object_ui/module.json", |
| "front_end/object_ui/objectPopover.css", |
| "front_end/object_ui/ObjectPopoverHelper.js", |
| "front_end/object_ui/objectPropertiesSection.css", |
| "front_end/object_ui/ObjectPropertiesSection.js", |
| "front_end/object_ui/objectValue.css", |
| "front_end/object_ui/RemoteObjectPreviewFormatter.js", |
| "front_end/perf_ui/ChartViewport.js", |
| "front_end/perf_ui/filmStripDialog.css", |
| "front_end/perf_ui/filmStripView.css", |
| "front_end/perf_ui/FilmStripView.js", |
| "front_end/perf_ui/flameChart.css", |
| "front_end/perf_ui/FlameChart.js", |
| "front_end/perf_ui/LineLevelProfile.js", |
| "front_end/perf_ui/module.json", |
| "front_end/perf_ui/overviewGrid.css", |
| "front_end/perf_ui/OverviewGrid.js", |
| "front_end/perf_ui/pieChart.css", |
| "front_end/perf_ui/PieChart.js", |
| "front_end/perf_ui/timelineGrid.css", |
| "front_end/perf_ui/TimelineGrid.js", |
| "front_end/perf_ui/timelineOverviewInfo.css", |
| "front_end/perf_ui/TimelineOverviewPane.js", |
| "front_end/persistence/Automapping.js", |
| "front_end/persistence/DefaultMapping.js", |
| "front_end/persistence/editFileSystemView.css", |
| "front_end/persistence/EditFileSystemView.js", |
| "front_end/persistence/FileSystemMapping.js", |
| "front_end/persistence/FileSystemWorkspaceBinding.js", |
| "front_end/persistence/IsolatedFileSystem.js", |
| "front_end/persistence/IsolatedFileSystemManager.js", |
| "front_end/persistence/Persistence.js", |
| "front_end/persistence/PersistenceUtils.js", |
| "front_end/platform/module.json", |
| "front_end/platform/utilities.js", |
| "front_end/product_registry/BadgePool.js", |
| "front_end/product_registry/ProductRegistry.js", |
| "front_end/product_registry/badge.css", |
| "front_end/product_registry/module.json", |
| "front_end/product_registry/popup.css", |
| "front_end/product_registry_impl/module.json", |
| "front_end/product_registry_impl/ProductRegistryImpl.js", |
| "front_end/product_registry_impl/ProductRegistryData.js", |
| "front_end/product_registry_impl/sha1/sha1.js", |
| "front_end/profiler/BottomUpProfileDataGrid.js", |
| "front_end/profiler/CPUProfileFlameChart.js", |
| "front_end/profiler/CPUProfileView.js", |
| "front_end/profiler/heapProfiler.css", |
| "front_end/profiler/HeapProfileView.js", |
| "front_end/profiler/HeapSnapshotDataGrids.js", |
| "front_end/profiler/HeapSnapshotGridNodes.js", |
| "front_end/profiler/HeapSnapshotProxy.js", |
| "front_end/profiler/HeapSnapshotView.js", |
| "front_end/profiler/HeapProfilerPanel.js", |
| "front_end/profiler/module.json", |
| "front_end/profiler/ProfileDataGrid.js", |
| "front_end/profiler/ProfileHeader.js", |
| "front_end/profiler/ProfileLauncherView.js", |
| "front_end/profiler/ProfileType.js", |
| "front_end/profiler/profilesPanel.css", |
| "front_end/profiler/ProfilesPanel.js", |
| "front_end/profiler/profilesSidebarTree.css", |
| "front_end/profiler/ProfileTypeRegistry.js", |
| "front_end/profiler/ProfileView.js", |
| "front_end/profiler/TargetsComboBoxController.js", |
| "front_end/profiler/TopDownProfileDataGrid.js", |
| "front_end/protocol/InspectorBackend.js", |
| "front_end/protocol/module.json", |
| "front_end/quick_open/CommandMenu.js", |
| "front_end/quick_open/filteredListWidget.css", |
| "front_end/quick_open/FilteredListWidget.js", |
| "front_end/quick_open/HelpQuickOpen.js", |
| "front_end/quick_open/QuickOpen.js", |
| "front_end/quick_open/module.json", |
| "front_end/resources/ApplicationCacheModel.js", |
| "front_end/resources/ApplicationCacheItemsView.js", |
| "front_end/resources/ApplicationPanelSidebar.js", |
| "front_end/resources/appManifestView.css", |
| "front_end/resources/AppManifestView.js", |
| "front_end/resources/clearStorageView.css", |
| "front_end/resources/ClearStorageView.js", |
| "front_end/resources/CookieItemsView.js", |
| "front_end/resources/DatabaseModel.js", |
| "front_end/resources/DatabaseQueryView.js", |
| "front_end/resources/DatabaseTableView.js", |
| "front_end/resources/DOMStorageItemsView.js", |
| "front_end/resources/DOMStorageModel.js", |
| "front_end/resources/IndexedDBModel.js", |
| "front_end/resources/indexedDBViews.css", |
| "front_end/resources/IndexedDBViews.js", |
| "front_end/resources/module.json", |
| "front_end/resources/resourcesPanel.css", |
| "front_end/resources/ResourcesPanel.js", |
| "front_end/resources/ResourcesSection.js", |
| "front_end/resources/resourcesSidebar.css", |
| "front_end/resources/serviceWorkerCacheViews.css", |
| "front_end/resources/ServiceWorkerCacheViews.js", |
| "front_end/resources/serviceWorkersView.css", |
| "front_end/resources/ServiceWorkersView.js", |
| "front_end/resources/StorageItemsView.js", |
| "front_end/Runtime.js", |
| "front_end/sass/ASTService.js", |
| "front_end/sass/ASTSourceMap.js", |
| "front_end/sass/module.json", |
| "front_end/sass/SASSProcessor.js", |
| "front_end/sass/SASSSourceMapFactory.js", |
| "front_end/sass/SASSSupport.js", |
| "front_end/screencast/InputModel.js", |
| "front_end/screencast/module.json", |
| "front_end/screencast/ScreencastApp.js", |
| "front_end/screencast/screencastView.css", |
| "front_end/screencast/ScreencastView.js", |
| "front_end/sdk/Connections.js", |
| "front_end/sdk/ContentProviders.js", |
| "front_end/sdk/CookieModel.js", |
| "front_end/sdk/CookieParser.js", |
| "front_end/sdk/CPUProfileDataModel.js", |
| "front_end/sdk/CPUProfilerModel.js", |
| "front_end/sdk/CSSMatchedStyles.js", |
| "front_end/sdk/CSSMedia.js", |
| "front_end/sdk/CSSMetadata.js", |
| "front_end/sdk/CSSModel.js", |
| "front_end/sdk/CSSProperty.js", |
| "front_end/sdk/CSSRule.js", |
| "front_end/sdk/CSSStyleDeclaration.js", |
| "front_end/sdk/CSSStyleSheetHeader.js", |
| "front_end/sdk/DOMDebuggerModel.js", |
| "front_end/sdk/DebuggerModel.js", |
| "front_end/sdk/DOMModel.js", |
| "front_end/sdk/EmulationModel.js", |
| "front_end/sdk/FilmStripModel.js", |
| "front_end/sdk/HeapProfilerModel.js", |
| "front_end/sdk/LayerTreeBase.js", |
| "front_end/sdk/LogModel.js", |
| "front_end/sdk/module.json", |
| "front_end/sdk/NetworkManager.js", |
| "front_end/sdk/NetworkRequest.js", |
| "front_end/sdk/OverlayModel.js", |
| "front_end/sdk/PaintProfiler.js", |
| "front_end/sdk/ProfileTreeModel.js", |
| "front_end/sdk/RemoteObject.js", |
| "front_end/sdk/Resource.js", |
| "front_end/sdk/ResourceTreeModel.js", |
| "front_end/sdk/RuntimeModel.js", |
| "front_end/sdk/ScreenCaptureModel.js", |
| "front_end/sdk/Script.js", |
| "front_end/sdk/SecurityOriginManager.js", |
| "front_end/sdk/ServiceWorkerCacheModel.js", |
| "front_end/sdk/ServiceWorkerManager.js", |
| "front_end/sdk/SourceMap.js", |
| "front_end/sdk/SourceMapManager.js", |
| "front_end/sdk/Target.js", |
| "front_end/sdk/TargetManager.js", |
| "front_end/sdk/TracingManager.js", |
| "front_end/sdk/TracingModel.js", |
| "front_end/security/lockIcon.css", |
| "front_end/security/mainView.css", |
| "front_end/security/module.json", |
| "front_end/security/originView.css", |
| "front_end/security/SecurityModel.js", |
| "front_end/security/SecurityPanel.js", |
| "front_end/security/sidebar.css", |
| "front_end/services/ServiceManager.js", |
| "front_end/settings/frameworkBlackboxSettingsTab.css", |
| "front_end/settings/FrameworkBlackboxSettingsTab.js", |
| "front_end/settings/module.json", |
| "front_end/settings/settingsScreen.css", |
| "front_end/settings/SettingsScreen.js", |
| "front_end/shell/module.json", |
| "front_end/shell/TestShell.js", |
| "front_end/snippets/module.json", |
| "front_end/snippets/ScriptSnippetModel.js", |
| "front_end/snippets/SnippetsQuickOpen.js", |
| "front_end/snippets/SnippetStorage.js", |
| "front_end/source_frame/fontView.css", |
| "front_end/source_frame/FontView.js", |
| "front_end/source_frame/imageView.css", |
| "front_end/source_frame/ImageView.js", |
| "front_end/source_frame/messagesPopover.css", |
| "front_end/source_frame/module.json", |
| "front_end/source_frame/ResourceSourceFrame.js", |
| "front_end/source_frame/SourceCodeDiff.js", |
| "front_end/source_frame/SourceFrame.js", |
| "front_end/source_frame/SourcesTextEditor.js", |
| "front_end/source_frame/UISourceCodeFrame.js", |
| "front_end/sources/AddSourceMapURLDialog.js", |
| "front_end/sources/AdvancedSearchView.js", |
| "front_end/sources/callStackSidebarPane.css", |
| "front_end/sources/CallStackSidebarPane.js", |
| "front_end/sources/CSSSourceFrame.js", |
| "front_end/sources/dialog.css", |
| "front_end/sources/EditingLocationHistoryManager.js", |
| "front_end/sources/eventListenerBreakpoints.css", |
| "front_end/sources/EventListenerBreakpointsSidebarPane.js", |
| "front_end/sources/fileBasedSearchResultsPane.css", |
| "front_end/sources/FileBasedSearchResultsPane.js", |
| "front_end/sources/FilePathScoreFunction.js", |
| "front_end/sources/FilteredUISourceCodeListProvider.js", |
| "front_end/sources/GoToLineQuickOpen.js", |
| "front_end/sources/InplaceFormatterEditorAction.js", |
| "front_end/sources/JavaScriptBreakpointsSidebarPane.js", |
| "front_end/sources/JavaScriptCompiler.js", |
| "front_end/sources/JavaScriptSourceFrame.js", |
| "front_end/sources/module.json", |
| "front_end/sources/navigatorTree.css", |
| "front_end/sources/navigatorView.css", |
| "front_end/sources/NavigatorView.js", |
| "front_end/sources/ObjectEventListenersSidebarPane.js", |
| "front_end/sources/OpenFileQuickOpen.js", |
| "front_end/sources/OutlineQuickOpen.js", |
| "front_end/sources/revisionHistory.css", |
| "front_end/sources/RevisionHistoryView.js", |
| "front_end/sources/scopeChainSidebarPane.css", |
| "front_end/sources/ScopeChainSidebarPane.js", |
| "front_end/sources/ScriptFormatter.js", |
| "front_end/sources/ScriptFormatterEditorAction.js", |
| "front_end/sources/serviceWorkersSidebar.css", |
| "front_end/sources/SimpleHistoryManager.js", |
| "front_end/sources/SourceFormatter.js", |
| "front_end/sources/SourceMapNamesResolver.js", |
| "front_end/sources/SourcesNavigator.js", |
| "front_end/sources/sourcesPanel.css", |
| "front_end/sources/SourcesPanel.js", |
| "front_end/sources/sourcesSearch.css", |
| "front_end/sources/SourcesSearchScope.js", |
| "front_end/sources/sourcesView.css", |
| "front_end/sources/SourcesView.js", |
| "front_end/sources/TabbedEditorContainer.js", |
| "front_end/sources/threadsSidebarPane.css", |
| "front_end/sources/ThreadsSidebarPane.js", |
| "front_end/sources/watchExpressionsSidebarPane.css", |
| "front_end/sources/WatchExpressionsSidebarPane.js", |
| "front_end/sources/WorkspaceMappingTip.js", |
| "front_end/sources/XHRBreakpointsSidebarPane.js", |
| "front_end/terminal/terminal.css", |
| "front_end/terminal/TerminalWidget.js", |
| "front_end/terminal/xterm.js/addons/fit/fit.js", |
| "front_end/terminal/xterm.js/build/xterm.css", |
| "front_end/terminal/xterm.js/build/xterm.js", |
| "front_end/test_runner/module.json", |
| "front_end/test_runner/TestRunner.js", |
| "front_end/text_editor/cmdevtools.css", |
| "front_end/text_editor/CodeMirrorTextEditor.js", |
| "front_end/text_editor/CodeMirrorUtils.js", |
| "front_end/text_editor/module.json", |
| "front_end/text_editor/TextEditorAutocompleteController.js", |
| "front_end/text_utils/module.json", |
| "front_end/text_utils/Text.js", |
| "front_end/text_utils/TextRange.js", |
| "front_end/text_utils/TextUtils.js", |
| "front_end/timeline_model/module.json", |
| "front_end/timeline_model/TimelineFrameModel.js", |
| "front_end/timeline_model/TimelineIRModel.js", |
| "front_end/timeline_model/TimelineJSProfile.js", |
| "front_end/timeline_model/TimelineModel.js", |
| "front_end/timeline_model/TimelineModelFilter.js", |
| "front_end/timeline_model/TimelineProfileTree.js", |
| "front_end/timeline_model/TracingLayerTree.js", |
| "front_end/timeline/CountersGraph.js", |
| "front_end/timeline/EventsTimelineTreeView.js", |
| "front_end/timeline/invalidationsTree.css", |
| "front_end/timeline/module.json", |
| "front_end/timeline/PerformanceModel.js", |
| "front_end/timeline/TimelineController.js", |
| "front_end/timeline/TimelineDetailsView.js", |
| "front_end/timeline/TimelineEventOverview.js", |
| "front_end/timeline/TimelineFilters.js", |
| "front_end/timeline/TimelineFlameChartDataProvider.js", |
| "front_end/timeline/TimelineFlameChartNetworkDataProvider.js", |
| "front_end/timeline/timelineFlamechartPopover.css", |
| "front_end/timeline/TimelineFlameChartView.js", |
| "front_end/timeline/TimelineLayersView.js", |
| "front_end/timeline/TimelineLoader.js", |
| "front_end/timeline/timelinePaintProfiler.css", |
| "front_end/timeline/TimelinePaintProfilerView.js", |
| "front_end/timeline/timelinePanel.css", |
| "front_end/timeline/TimelinePanel.js", |
| "front_end/timeline/timelineStatusDialog.css", |
| "front_end/timeline/TimelineTreeModeView.js", |
| "front_end/timeline/TimelineTreeView.js", |
| "front_end/timeline/TimelineUIUtils.js", |
| "front_end/toolbox_bootstrap/module.json", |
| "front_end/toolbox_bootstrap/Toolbox.js", |
| "front_end/toolbox.js", |
| "front_end/toolbox.json", |
| "front_end/ui/ActionRegistry.js", |
| "front_end/ui/ARIAUtils.js", |
| "front_end/ui/checkboxTextLabel.css", |
| "front_end/ui/closeButton.css", |
| "front_end/ui/confirmDialog.css", |
| "front_end/ui/Context.js", |
| "front_end/ui/ContextMenu.js", |
| "front_end/ui/dialog.css", |
| "front_end/ui/Dialog.js", |
| "front_end/ui/SyntaxHighlighter.js", |
| "front_end/ui/dropTarget.css", |
| "front_end/ui/DropTarget.js", |
| "front_end/ui/emptyWidget.css", |
| "front_end/ui/EmptyWidget.js", |
| "front_end/ui/filter.css", |
| "front_end/ui/FilterBar.js", |
| "front_end/ui/ForwardedInputEventHandler.js", |
| "front_end/ui/Geometry.js", |
| "front_end/ui/glassPane.css", |
| "front_end/ui/GlassPane.js", |
| "front_end/ui/HistoryInput.js", |
| "front_end/ui/Icon.js", |
| "front_end/ui/infobar.css", |
| "front_end/ui/Infobar.js", |
| "front_end/ui/inlineButton.css", |
| "front_end/ui/InplaceEditor.js", |
| "front_end/ui/inspectorCommon.css", |
| "front_end/ui/inspectorStyle.css", |
| "front_end/ui/inspectorSyntaxHighlight.css", |
| "front_end/ui/inspectorSyntaxHighlightDark.css", |
| "front_end/ui/InspectorView.js", |
| "front_end/ui/inspectorViewTabbedPane.css", |
| "front_end/ui/KeyboardShortcut.js", |
| "front_end/ui/ListControl.js", |
| "front_end/ui/listWidget.css", |
| "front_end/ui/ListWidget.js", |
| "front_end/ui/module.json", |
| "front_end/ui/Panel.js", |
| "front_end/ui/panelEnablerView.css", |
| "front_end/ui/popover.css", |
| "front_end/ui/Popover.js", |
| "front_end/ui/progressIndicator.css", |
| "front_end/ui/ProgressIndicator.js", |
| "front_end/ui/radioButton.css", |
| "front_end/ui/reportView.css", |
| "front_end/ui/ReportView.js", |
| "front_end/ui/ResizerWidget.js", |
| "front_end/ui/rootView.css", |
| "front_end/ui/RootView.js", |
| "front_end/ui/searchableView.css", |
| "front_end/ui/SearchableView.js", |
| "front_end/ui/SettingsUI.js", |
| "front_end/ui/ShortcutRegistry.js", |
| "front_end/ui/ShortcutsScreen.js", |
| "front_end/ui/slider.css", |
| "front_end/ui/smallBubble.css", |
| "front_end/ui/softContextMenu.css", |
| "front_end/ui/SoftContextMenu.js", |
| "front_end/ui/splitWidget.css", |
| "front_end/ui/SplitWidget.js", |
| "front_end/ui/suggestBox.css", |
| "front_end/ui/SuggestBox.js", |
| "front_end/ui/tabbedPane.css", |
| "front_end/ui/TabbedPane.js", |
| "front_end/ui/textButton.css", |
| "front_end/ui/TextEditor.js", |
| "front_end/ui/textPrompt.css", |
| "front_end/ui/TextPrompt.js", |
| "front_end/ui/ThrottledWidget.js", |
| "front_end/ui/toolbar.css", |
| "front_end/ui/Toolbar.js", |
| "front_end/ui/tooltip.css", |
| "front_end/ui/Tooltip.js", |
| "front_end/ui/treeoutline.css", |
| "front_end/ui/treeoutline.js", |
| "front_end/ui/UIUtils.js", |
| "front_end/ui/View.js", |
| "front_end/ui/viewContainers.css", |
| "front_end/ui/Widget.js", |
| "front_end/ui/ZoomManager.js", |
| "front_end/unit_test_runner.js", |
| "front_end/unit_test_runner.json", |
| "front_end/utility_shared_worker.js", |
| "front_end/utility_shared_worker.json", |
| "front_end/utility_shared_worker/module.json", |
| "front_end/utility_shared_worker/TempStorage.js", |
| "front_end/worker_service/ServiceDispatcher.js", |
| "front_end/workspace/FileManager.js", |
| "front_end/workspace/module.json", |
| "front_end/workspace/SearchConfig.js", |
| "front_end/workspace/UISourceCode.js", |
| "front_end/workspace/Workspace.js", |
| "front_end/workspace_diff/WorkspaceDiff.js", |
| "front_end/workspace_diff/module.json", |
| ] |
| |
| devtools_embedder_scripts = [ |
| "front_end/devtools_compatibility.js", |
| "front_end/Tests.js", |
| ] |
| |
| devtools_emulated_devices_images = [ |
| "front_end/emulated_devices/google-nexus-5-horizontal-default-1x.png", |
| "front_end/emulated_devices/google-nexus-5-horizontal-default-2x.png", |
| "front_end/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png", |
| "front_end/emulated_devices/google-nexus-5-horizontal-keyboard-2x.png", |
| "front_end/emulated_devices/google-nexus-5-horizontal-navigation-1x.png", |
| "front_end/emulated_devices/google-nexus-5-horizontal-navigation-2x.png", |
| "front_end/emulated_devices/google-nexus-5-vertical-default-1x.png", |
| "front_end/emulated_devices/google-nexus-5-vertical-default-2x.png", |
| "front_end/emulated_devices/google-nexus-5-vertical-keyboard-1x.png", |
| "front_end/emulated_devices/google-nexus-5-vertical-keyboard-2x.png", |
| "front_end/emulated_devices/google-nexus-5-vertical-navigation-1x.png", |
| "front_end/emulated_devices/google-nexus-5-vertical-navigation-2x.png", |
| "front_end/emulated_devices/google-nexus-5x-horizontal-default-1x.png", |
| "front_end/emulated_devices/google-nexus-5x-horizontal-default-2x.png", |
| "front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-1x.png", |
| "front_end/emulated_devices/google-nexus-5x-horizontal-keyboard-2x.png", |
| "front_end/emulated_devices/google-nexus-5x-horizontal-navigation-1x.png", |
| "front_end/emulated_devices/google-nexus-5x-horizontal-navigation-2x.png", |
| "front_end/emulated_devices/google-nexus-5x-vertical-default-1x.png", |
| "front_end/emulated_devices/google-nexus-5x-vertical-default-2x.png", |
| "front_end/emulated_devices/google-nexus-5x-vertical-keyboard-1x.png", |
| "front_end/emulated_devices/google-nexus-5x-vertical-keyboard-2x.png", |
| "front_end/emulated_devices/google-nexus-5x-vertical-navigation-1x.png", |
| "front_end/emulated_devices/google-nexus-5x-vertical-navigation-2x.png", |
| "front_end/emulated_devices/iPad-landscape.svg", |
| "front_end/emulated_devices/iPad-portrait.svg", |
| "front_end/emulated_devices/iPhone5-landscape.svg", |
| "front_end/emulated_devices/iPhone5-portrait.svg", |
| "front_end/emulated_devices/iPhone6-landscape.svg", |
| "front_end/emulated_devices/iPhone6-portrait.svg", |
| "front_end/emulated_devices/iPhone6Plus-landscape.svg", |
| "front_end/emulated_devices/iPhone6Plus-portrait.svg", |
| "front_end/emulated_devices/Nexus5X-landscape.svg", |
| "front_end/emulated_devices/Nexus5X-portrait.svg", |
| "front_end/emulated_devices/Nexus6P-landscape.svg", |
| "front_end/emulated_devices/Nexus6P-portrait.svg", |
| ] |
| |
| devtools_image_files = [ |
| "front_end/Images/accelerometer-back.png", |
| "front_end/Images/accelerometer-bottom.png", |
| "front_end/Images/accelerometer-front.png", |
| "front_end/Images/accelerometer-left.png", |
| "front_end/Images/accelerometer-right.png", |
| "front_end/Images/accelerometer-top.png", |
| "front_end/Images/audits_logo.svg", |
| "front_end/Images/breakpoint.png", |
| "front_end/Images/breakpoint_2x.png", |
| "front_end/Images/breakpointConditional.png", |
| "front_end/Images/breakpointConditional_2x.png", |
| "front_end/Images/checker.png", |
| "front_end/Images/chromeDisabledSelect.png", |
| "front_end/Images/chromeDisabledSelect_2x.png", |
| "front_end/Images/chromeLeft.png", |
| "front_end/Images/chromeMiddle.png", |
| "front_end/Images/chromeRight.png", |
| "front_end/Images/chromeSelect.png", |
| "front_end/Images/chromeSelect_2x.png", |
| "front_end/Images/deleteIcon.png", |
| "front_end/Images/errorWave.png", |
| "front_end/Images/errorWave_2x.png", |
| "front_end/Images/ic_info_black_18dp.svg", |
| "front_end/Images/ic_warning_black_18dp.svg", |
| "front_end/Images/navigationControls.png", |
| "front_end/Images/navigationControls_2x.png", |
| "front_end/Images/nodeIcon.png", |
| "front_end/Images/popoverArrows.png", |
| "front_end/Images/profileGroupIcon.png", |
| "front_end/Images/profileIcon.png", |
| "front_end/Images/profileSmallIcon.png", |
| "front_end/Images/radioDot.png", |
| "front_end/Images/resizeDiagonal.png", |
| "front_end/Images/resizeDiagonal_2x.png", |
| "front_end/Images/resizeHorizontal.png", |
| "front_end/Images/resizeHorizontal_2x.png", |
| "front_end/Images/resizeVertical.png", |
| "front_end/Images/resizeVertical_2x.png", |
| "front_end/Images/resourceCSSIcon.png", |
| "front_end/Images/resourceDocumentIcon.png", |
| "front_end/Images/resourceDocumentIconSmall.png", |
| "front_end/Images/mediumIcons.png", |
| "front_end/Images/mediumIcons_2x.png", |
| "front_end/Images/resourceJSIcon.png", |
| "front_end/Images/resourcePlainIcon.png", |
| "front_end/Images/resourcePlainIconSmall.png", |
| "front_end/Images/resourcesTimeGraphIcon.png", |
| "front_end/Images/searchNext.png", |
| "front_end/Images/searchPrev.png", |
| "front_end/Images/securityIcons_2x.png", |
| "front_end/Images/securityIcons.png", |
| "front_end/Images/smallIcons.png", |
| "front_end/Images/smallIcons_2x.png", |
| "front_end/Images/speech.png", |
| "front_end/Images/treeoutlineTriangles.png", |
| "front_end/Images/treeoutlineTriangles_2x.png", |
| "front_end/Images/largeIcons.png", |
| "front_end/Images/largeIcons_2x.png", |
| "front_end/Images/toolbarResizerVertical.png", |
| "front_end/Images/touchCursor.png", |
| "front_end/Images/touchCursor_2x.png", |
| "front_end/Images/whatsnew.png", |
| ] |
| |
| resources_out_dir = "$root_out_dir/resources/inspector" |
| |
| generated_scripts = [ |
| "$resources_out_dir/InspectorBackendCommands.js", |
| "$resources_out_dir/SupportedCSSProperties.js", |
| ] |
| |
| generated_resources = [ |
| "$resources_out_dir/inspector.html", |
| "$resources_out_dir/inspector.js", |
| "$resources_out_dir/toolbox.html", |
| "$resources_out_dir/toolbox.js", |
| "$resources_out_dir/audits2_worker.js", |
| "$resources_out_dir/formatter_worker.js", |
| "$resources_out_dir/heap_snapshot_worker.js", |
| "$resources_out_dir/utility_shared_worker.js", |
| |
| # this contains non-autostart non-remote modules only. |
| "$resources_out_dir/animation/animation_module.js", |
| "$resources_out_dir/audits/audits_module.js", |
| "$resources_out_dir/audits2/audits2_module.js", |
| "$resources_out_dir/changes/changes_module.js", |
| "$resources_out_dir/cm/cm_module.js", |
| "$resources_out_dir/color_picker/color_picker_module.js", |
| "$resources_out_dir/console/console_module.js", |
| "$resources_out_dir/cookie_table/cookie_table_module.js", |
| "$resources_out_dir/coverage/coverage_module.js", |
| "$resources_out_dir/data_grid/data_grid_module.js", |
| "$resources_out_dir/devices/devices_module.js", |
| "$resources_out_dir/diff/diff_module.js", |
| "$resources_out_dir/elements/elements_module.js", |
| "$resources_out_dir/event_listeners/event_listeners_module.js", |
| "$resources_out_dir/heap_snapshot_model/heap_snapshot_model_module.js", |
| "$resources_out_dir/inline_editor/inline_editor_module.js", |
| "$resources_out_dir/layer_viewer/layer_viewer_module.js", |
| "$resources_out_dir/layers/layers_module.js", |
| "$resources_out_dir/network/network_module.js", |
| "$resources_out_dir/object_ui/object_ui_module.js", |
| "$resources_out_dir/perf_ui/perf_ui_module.js", |
| "$resources_out_dir/profiler/profiler_module.js", |
| "$resources_out_dir/quick_open/quick_open_module.js", |
| "$resources_out_dir/resources/resources_module.js", |
| "$resources_out_dir/sass/sass_module.js", |
| "$resources_out_dir/security/security_module.js", |
| "$resources_out_dir/settings/settings_module.js", |
| "$resources_out_dir/snippets/snippets_module.js", |
| "$resources_out_dir/source_frame/source_frame_module.js", |
| "$resources_out_dir/sources/sources_module.js", |
| "$resources_out_dir/terminal/terminal_module.js", |
| "$resources_out_dir/text_editor/text_editor_module.js", |
| "$resources_out_dir/timeline_model/timeline_model_module.js", |
| "$resources_out_dir/timeline/timeline_module.js", |
| "$resources_out_dir/workspace_diff/workspace_diff_module.js", |
| ] |
| |
| generated_remote_modules = [ |
| "$resources_out_dir/accessibility/accessibility_module.js", |
| "$resources_out_dir/audits2_worker/audits2_worker_module.js", |
| "$resources_out_dir/cm_modes/cm_modes_module.js", |
| "$resources_out_dir/emulated_devices/emulated_devices_module.js", |
| "$resources_out_dir/gonzales/gonzales_module.js", |
| "$resources_out_dir/product_registry_impl/product_registry_impl_module.js", |
| "$resources_out_dir/screencast/screencast_module.js", |
| ] |
| |
| devtools_applications = [ |
| "inspector", |
| "toolbox", |
| "unit_test_runner", |
| "formatter_worker", |
| "audits2_worker", |
| "heap_snapshot_worker", |
| "utility_shared_worker", |
| ] |
| |
| #------------------------------------------------------------------------------- |
| |
| visibility = [ "//third_party/WebKit/*" ] |
| |
| group("devtools_all_files") { |
| data = all_devtools_files |
| } |
| |
| group("devtools_frontend_resources") { |
| public_deps = [ |
| ":build_release_devtools", |
| ":copy_embedder_scripts", |
| ":copy_emulated_devices_images", |
| ":copy_inspector_images", |
| ":devtools_extension_api", |
| ":frontend_protocol_sources", |
| ":supported_css_properties", |
| ] |
| if (debug_devtools) { |
| public_deps += [ ":build_debug_devtools" ] |
| } |
| } |
| |
| copy("copy_embedder_scripts") { |
| sources = devtools_embedder_scripts |
| outputs = [ |
| "$resources_out_dir/{{source_file_part}}", |
| ] |
| } |
| |
| copy("copy_inspector_images") { |
| sources = devtools_image_files |
| outputs = [ |
| "$resources_out_dir/Images/{{source_file_part}}", |
| ] |
| } |
| |
| copy("copy_emulated_devices_images") { |
| sources = devtools_emulated_devices_images |
| outputs = [ |
| "$resources_out_dir/emulated_devices/{{source_file_part}}", |
| ] |
| } |
| |
| action("generate_devtools_grd") { |
| script = "scripts/build/generate_devtools_grd.py" |
| |
| deps = [ |
| ":devtools_frontend_resources", |
| ] |
| inputs = devtools_image_files + all_devtools_files |
| inputs += devtools_embedder_scripts |
| |
| generated_files = |
| generated_resources + [ "$resources_out_dir/devtools_extension_api.js" ] |
| |
| images_path = "front_end/Images" |
| |
| inputs += generated_files |
| |
| outfile = "$root_gen_dir/devtools/devtools_resources.grd" |
| outputs = [ |
| outfile, |
| ] |
| |
| relative_path_dirs = [ |
| resources_out_dir, |
| "front_end", |
| ] |
| |
| args = rebase_path(generated_files, root_build_dir) + |
| rebase_path(generated_files, root_build_dir) + |
| rebase_path(devtools_embedder_scripts, root_build_dir) + |
| [ "--relative_path_dirs" ] + |
| rebase_path(relative_path_dirs, root_build_dir) + |
| [ |
| "--images", |
| rebase_path(images_path, root_build_dir), |
| "--output", |
| rebase_path(outfile, root_build_dir), |
| ] |
| } |
| |
| action("devtools_extension_api") { |
| script = "scripts/build/generate_devtools_extension_api.py" |
| |
| devtools_extension_api_files = [ "front_end/extensions/ExtensionAPI.js" ] |
| inputs = devtools_extension_api_files |
| outputs = [ |
| "$resources_out_dir/devtools_extension_api.js", |
| ] |
| |
| args = rebase_path(outputs, root_build_dir) + |
| rebase_path(devtools_extension_api_files, root_build_dir) |
| } |
| |
| action("supported_css_properties") { |
| script = "scripts/build/generate_supported_css.py" |
| |
| inputs = [ |
| "../core/css/CSSProperties.json5", |
| ] |
| |
| outputs = [ |
| "$resources_out_dir/SupportedCSSProperties.js", |
| ] |
| |
| args = |
| rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| } |
| |
| action("frontend_protocol_sources") { |
| script = "scripts/build/code_generator_frontend.py" |
| deps = [ |
| "../core/inspector:protocol_version", |
| ] |
| inputs = [ |
| "$blink_core_output_dir/inspector/protocol.json", |
| ] |
| outputs = [ |
| "$resources_out_dir/InspectorBackendCommands.js", |
| ] |
| |
| args = rebase_path(inputs, root_build_dir) + [ |
| "--output_js_dir", |
| rebase_path(resources_out_dir, root_build_dir), |
| ] |
| } |
| |
| action("build_release_devtools") { |
| script = "scripts/build/build_release_applications.py" |
| |
| deps = [ |
| ":frontend_protocol_sources", |
| ":supported_css_properties", |
| ] |
| |
| helper_scripts = [ |
| "scripts/build/modular_build.py", |
| "scripts/build/rjsmin.py", |
| ] |
| |
| inputs = helper_scripts + all_devtools_files + generated_scripts + [ |
| "front_end/inspector.html", |
| "front_end/toolbox.html", |
| "front_end/unit_test_runner.html", |
| ] |
| |
| outputs = generated_resources + generated_remote_modules |
| |
| args = devtools_applications + [ |
| "--input_path", |
| rebase_path("front_end", root_build_dir), |
| "--output_path", |
| rebase_path(resources_out_dir, root_build_dir), |
| ] |
| } |
| |
| if (debug_devtools) { |
| resources_out_debug_dir = "$root_out_dir/resources/inspector/debug" |
| |
| action("build_debug_devtools") { |
| script = "scripts/build/build_debug_applications.py" |
| |
| deps = [ |
| ":copy_generated_scripts", |
| ] |
| |
| inputs = all_devtools_files + [ |
| "front_end/inspector.html", |
| "front_end/toolbox.html", |
| "front_end/unit_test_runner.html", |
| ] |
| |
| outputs = [ |
| "$resources_out_debug_dir/inspector.html", |
| "$resources_out_debug_dir/toolbox.html", |
| "$resources_out_debug_dir/unit_test_runner.html", |
| ] |
| |
| args = devtools_applications + [ |
| "--input_path", |
| rebase_path("front_end", root_build_dir), |
| "--output_path", |
| rebase_path(resources_out_debug_dir, root_build_dir), |
| ] |
| } |
| |
| copy("copy_generated_scripts") { |
| deps = [ |
| ":frontend_protocol_sources", |
| ":supported_css_properties", |
| ] |
| sources = generated_scripts |
| outputs = [ |
| "$resources_out_debug_dir/{{source_file_part}}", |
| ] |
| } |
| } |
| |
| group("devtools_closure_compile") { |
| data = [ |
| # Needed for isolate script to execute. |
| "front_end/", |
| "scripts/build/", |
| "scripts/closure/", |
| "scripts/compile_frontend.py", |
| "scripts/dependency_preprocessor.py", |
| "scripts/jsdoc_validator/", |
| "scripts/special_case_namespaces.json", |
| "scripts/utils.py", |
| "//testing/scripts/common.py", |
| "//testing/scripts/run_devtools_check.py", |
| "//testing/xvfb.py", |
| "//third_party/WebKit/Source/core/inspector/browser_protocol.json", |
| "//v8/src/inspector/js_protocol.json", |
| ] |
| } |
| |
| group("devtools_eslint") { |
| data = [ |
| # Needed for isolate script to execute. |
| ".eslintignore", |
| ".eslintrc.js", |
| "devtools-node-modules/", |
| "front_end/", |
| "scripts/buildbot/run_eslint.py", |
| "scripts/local_node/", |
| "//testing/scripts/common.py", |
| "//testing/scripts/run_devtools_check.py", |
| "//testing/xvfb.py", |
| ] |
| } |