blob: 7b9b1af74657de80bb844864d53fc83cac72753a [file] [log] [blame]
# Copyright 2020 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("./scripts/build/ninja/vars.gni")
all_devtools_files = [
"front_end/shell.js",
"front_end/devtools_app.js",
"front_end/inspector.js",
"front_end/js_app.js",
"front_end/ndb_app.js",
"front_end/node_app.js",
"front_end/worker_app.js",
"front_end/accessibility_test_runner/accessibility_test_runner.js",
"front_end/accessibility_test_runner/module.json",
"front_end/accessibility/accessibilityNode.css",
"front_end/accessibility/accessibilityProperties.css",
"front_end/accessibility/axBreadcrumbs.css",
"front_end/accessibility/module.json",
"front_end/animation/animationScreenshotPopover.css",
"front_end/animation/animationTimeline.css",
"front_end/animation/module.json",
"front_end/application_test_runner/application_test_runner.js",
"front_end/bindings_test_runner/bindings_test_runner.js",
"front_end/application_test_runner/AppcacheTestRunner.js",
"front_end/application_test_runner/CacheStorageTestRunner.js",
"front_end/application_test_runner/IndexedDBTestRunner.js",
"front_end/application_test_runner/module.json",
"front_end/application_test_runner/ResourcesTestRunner.js",
"front_end/application_test_runner/ResourceTreeTestRunner.js",
"front_end/application_test_runner/ServiceWorkersTestRunner.js",
"front_end/application_test_runner/StorageTestRunner.js",
"front_end/lighthouse_test_runner/lighthouse_test_runner.js",
"front_end/lighthouse_test_runner/module.json",
"front_end/lighthouse_worker.js",
"front_end/lighthouse_worker.json",
"front_end/lighthouse_worker/LighthouseService.js",
"front_end/lighthouse_worker/module.json",
"front_end/lighthouse/lighthouseDialog.css",
"front_end/lighthouse/lighthousePanel.css",
"front_end/lighthouse/lighthouseStartView.css",
"front_end/lighthouse/module.json",
"front_end/axe_core_test_runner/axe_core_test_runner.js",
"front_end/third_party/axe-core/axe.js",
"front_end/axe_core_test_runner/module.json",
"front_end/bindings_test_runner/AutomappingTestRunner.js",
"front_end/bindings_test_runner/BindingsTestRunner.js",
"front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js",
"front_end/bindings_test_runner/module.json",
"front_end/bindings_test_runner/OverridesTestRunner.js",
"front_end/bindings_test_runner/PersistenceTestRunner.js",
"front_end/browser_debugger/domBreakpointsSidebarPane.css",
"front_end/browser_debugger/categorizedBreakpointsSidebarPane.css",
"front_end/browser_debugger/module.json",
"front_end/browser_debugger/xhrBreakpointsSidebarPane.css",
"front_end/browser_sdk/module.json",
"front_end/changes/changesSidebar.css",
"front_end/changes/changesView.css",
"front_end/changes/module.json",
"front_end/client_variations/module.json",
"front_end/cm_headless/module.json",
"front_end/cm/codemirror.css",
"front_end/cm/module.json",
"front_end/color_picker/module.json",
"front_end/color_picker/spectrum.css",
"front_end/components/imagePreview.css",
"front_end/components/jsUtils.css",
"front_end/components/module.json",
"front_end/console_counters/module.json",
"front_end/console_test_runner/console_test_runner.js",
"front_end/console_test_runner/module.json",
"front_end/console/consoleContextSelector.css",
"front_end/console/consolePinPane.css",
"front_end/console/consolePrompt.css",
"front_end/console/consoleSidebar.css",
"front_end/console/consoleView.css",
"front_end/console/module.json",
"front_end/cookie_table/cookiesTable.css",
"front_end/cookie_table/module.json",
"front_end/coverage_test_runner/coverage_test_runner.js",
"front_end/coverage_test_runner/module.json",
"front_end/coverage/coverageListView.css",
"front_end/coverage/coverageView.css",
"front_end/coverage/module.json",
"front_end/cpu_profiler_test_runner/module.json",
"front_end/cpu_profiler_test_runner/cpu_profiler_test_runner.js",
"front_end/css_overview/cssOverview.css",
"front_end/css_overview/cssOverviewCompletedView.css",
"front_end/css_overview/cssOverviewProcessingView.css",
"front_end/css_overview/cssOverviewSidebarPanel.css",
"front_end/css_overview/cssOverviewStartView.css",
"front_end/css_overview/module.json",
"front_end/data_grid_test_runner/data_grid_test_runner.js",
"front_end/data_grid_test_runner/module.json",
"front_end/data_grid/dataGrid.css",
"front_end/data_grid/module.json",
"front_end/device_mode_test_runner/device_mode_test_runner.js",
"front_end/device_mode_test_runner/module.json",
"front_end/diff/module.json",
"front_end/elements_test_runner/elements_test_runner.js",
"front_end/elements_test_runner/EditDOMTestRunner.js",
"front_end/elements_test_runner/ElementsPanelShadowSelectionOnRefreshTestRunner.js",
"front_end/elements_test_runner/ElementsTestRunner.js",
"front_end/elements_test_runner/module.json",
"front_end/elements_test_runner/SetOuterHTMLTestRunner.js",
"front_end/elements_test_runner/StylesUpdateLinksTestRunner.js",
"front_end/elements/classesPaneWidget.css",
"front_end/elements/computedStyleSidebarPane.css",
"front_end/elements/computedStyleWidgetTree.css",
"front_end/elements/domLinkifier.css",
"front_end/elements/elementsPanel.css",
"front_end/elements/elementStatePaneWidget.css",
"front_end/elements/elementsTreeOutline.css",
"front_end/elements/layoutPane.css",
"front_end/elements/metricsSidebarPane.css",
"front_end/elements/module.json",
"front_end/elements/nodeStackTraceWidget.css",
"front_end/elements/platformFontsWidget.css",
"front_end/elements/propertiesWidget.css",
"front_end/elements/stylesSectionTree.css",
"front_end/elements/stylesSidebarPane.css",
"front_end/emulated_devices/module.json",
"front_end/emulation/deviceModeToolbar.css",
"front_end/emulation/deviceModeView.css",
"front_end/emulation/devicesSettingsTab.css",
"front_end/emulation/inspectedPagePlaceholder.css",
"front_end/emulation/locationsSettingsTab.css",
"front_end/emulation/mediaQueryInspector.css",
"front_end/emulation/module.json",
"front_end/emulation/sensors.css",
"front_end/event_listeners/eventListenersView.css",
"front_end/event_listeners/module.json",
"front_end/extensions_test_runner/extensions_test_runner.js",
"front_end/extensions_test_runner/ExtensionsNetworkTestRunner.js",
"front_end/extensions_test_runner/ExtensionsTestRunner.js",
"front_end/extensions_test_runner/module.json",
"front_end/extensions/module.json",
"front_end/formatter/module.json",
"front_end/har_importer/module.json",
"front_end/heap_profiler_test_runner/heap_profiler_test_runner.js",
"front_end/heap_profiler_test_runner/module.json",
"front_end/heap_snapshot_model/module.json",
"front_end/heap_snapshot_worker/module.json",
"front_end/help/module.json",
"front_end/help/releaseNote.css",
"front_end/inline_editor/bezierEditor.css",
"front_end/inline_editor/bezierSwatch.css",
"front_end/inline_editor/colorSwatch.css",
"front_end/inline_editor/cssShadowEditor.css",
"front_end/inline_editor/cssShadowSwatch.css",
"front_end/inline_editor/fontEditor.css",
"front_end/inline_editor/module.json",
"front_end/inline_editor/swatchPopover.css",
"front_end/input/inputTimeline.css",
"front_end/input/module.json",
"front_end/inspector_main/module.json",
"front_end/inspector_main/nodeIcon.css",
"front_end/inspector_main/renderingOptions.css",
"front_end/inspector.js",
"front_end/inspector.json",
"front_end/integration_test_runner.js",
"front_end/integration_test_runner.json",
"front_end/javascript_metadata/module.json",
"front_end/js_main/module.json",
"front_end/js_profiler/module.json",
"front_end/linear_memory_inspector/module.json",
"front_end/layer_viewer/layerDetailsView.css",
"front_end/layer_viewer/layers3DView.css",
"front_end/layer_viewer/module.json",
"front_end/layer_viewer/paintProfiler.css",
"front_end/layers_test_runner/layers_test_runner.js",
"front_end/layers_test_runner/module.json",
"front_end/layers/module.json",
"front_end/main/module.json",
"front_end/media/eventDisplayTable.css",
"front_end/media/module.json",
"front_end/media/playerListView.css",
"front_end/media/playerPropertiesView.css",
"front_end/media/playerMessagesView.css",
"front_end/mobile_throttling/module.json",
"front_end/mobile_throttling/throttlingSettingsTab.css",
"front_end/ndb_app.json",
"front_end/network_test_runner/module.json",
"front_end/network_test_runner/network_test_runner.js",
"front_end/network/binaryResourceView.css",
"front_end/network/blockedURLsPane.css",
"front_end/network/eventSourceMessagesView.css",
"front_end/network/module.json",
"front_end/network/networkConfigView.css",
"front_end/network/networkLogView.css",
"front_end/network/networkManageCustomHeadersView.css",
"front_end/network/networkPanel.css",
"front_end/network/networkTimingTable.css",
"front_end/network/networkWaterfallColumn.css",
"front_end/network/requestCookiesView.css",
"front_end/network/requestHeadersTree.css",
"front_end/network/requestHeadersView.css",
"front_end/network/requestHTMLView.css",
"front_end/network/requestInitiatorView.css",
"front_end/network/requestInitiatorViewTree.css",
"front_end/network/signedExchangeInfoTree.css",
"front_end/network/signedExchangeInfoView.css",
"front_end/network/webSocketFrameView.css",
"front_end/node_debugger/module.json",
"front_end/node_main/module.json",
"front_end/node_main/nodeConnectionsPanel.css",
"front_end/object_ui/customPreviewComponent.css",
"front_end/object_ui/module.json",
"front_end/object_ui/objectPopover.css",
"front_end/object_ui/objectPropertiesSection.css",
"front_end/object_ui/objectValue.css",
"front_end/perf_ui/chartViewport.css",
"front_end/perf_ui/filmStripView.css",
"front_end/perf_ui/flameChart.css",
"front_end/perf_ui/module.json",
"front_end/perf_ui/overviewGrid.css",
"front_end/perf_ui/timelineGrid.css",
"front_end/perf_ui/timelineOverviewInfo.css",
"front_end/performance_monitor/module.json",
"front_end/performance_monitor/performanceMonitor.css",
"front_end/performance_test_runner/performance_test_runner.js",
"front_end/performance_test_runner/module.json",
"front_end/performance_test_runner/TimelineDataTestRunner.js",
"front_end/performance_test_runner/TimelineTestRunner.js",
"front_end/persistence/editFileSystemView.css",
"front_end/persistence/module.json",
"front_end/persistence/workspaceSettingsTab.css",
"front_end/profiler/heapProfiler.css",
"front_end/profiler/liveHeapProfile.css",
"front_end/profiler/module.json",
"front_end/profiler/profileLauncherView.css",
"front_end/profiler/profilesPanel.css",
"front_end/profiler/profilesSidebarTree.css",
"front_end/issues/module.json",
"front_end/issues/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md",
"front_end/issues/descriptions/CoepCorpNotSameSite.md",
"front_end/issues/descriptions/CoepCorpNotSameOrigin.md",
"front_end/issues/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md",
"front_end/issues/descriptions/CoepFrameResourceNeedsCoepHeader.md",
"front_end/issues/descriptions/cspEvalViolation.md",
"front_end/issues/descriptions/cspInlineViolation.md",
"front_end/issues/descriptions/cspURLViolation.md",
"front_end/issues/descriptions/LowTextContrast.md",
"front_end/issues/descriptions/cspTrustedTypesSinkViolation.md",
"front_end/issues/descriptions/cspTrustedTypesPolicyViolation.md",
"front_end/issues/descriptions/heavyAd.md",
"front_end/issues/descriptions/mixedContent.md",
"front_end/issues/descriptions/sharedArrayBuffer.md",
"front_end/issues/descriptions/SameSiteExcludeContextDowngradeRead.md",
"front_end/issues/descriptions/SameSiteExcludeContextDowngradeSet.md",
"front_end/issues/descriptions/SameSiteExcludeNavigationContextDowngrade.md",
"front_end/issues/descriptions/SameSiteNoneInsecureErrorRead.md",
"front_end/issues/descriptions/SameSiteNoneInsecureErrorSet.md",
"front_end/issues/descriptions/SameSiteNoneInsecureWarnRead.md",
"front_end/issues/descriptions/SameSiteNoneInsecureWarnSet.md",
"front_end/issues/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md",
"front_end/issues/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md",
"front_end/issues/descriptions/SameSiteUnspecifiedTreatedAsLaxRead.md",
"front_end/issues/descriptions/SameSiteUnspecifiedTreatedAsLaxSet.md",
"front_end/issues/descriptions/SameSiteWarnCrossDowngradeRead.md",
"front_end/issues/descriptions/SameSiteWarnCrossDowngradeSet.md",
"front_end/issues/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md",
"front_end/issues/descriptions/TwaDigitalAssetLinksFailed.md",
"front_end/issues/descriptions/TwaHttpError.md",
"front_end/issues/descriptions/TwaPageUnavailableOffline.md",
"front_end/issues/issuesPane.css",
"front_end/issues/issuesTree.css",
"front_end/issues/cspViolationsView.css",
"front_end/issues/cspViolationsListView.css",
"front_end/developer_resources/module.json",
"front_end/developer_resources/developerResourcesView.css",
"front_end/developer_resources/developerResourcesListView.css",
"front_end/protocol_monitor/module.json",
"front_end/protocol_monitor/protocolMonitor.css",
"front_end/quick_open/filteredListWidget.css",
"front_end/quick_open/module.json",
"front_end/resources/appManifestView.css",
"front_end/resources/backgroundServiceView.css",
"front_end/resources/storageView.css",
"front_end/resources/cookieItemsView.css",
"front_end/resources/frameDetailsReportView.css",
"front_end/resources/indexedDBViews.css",
"front_end/resources/module.json",
"front_end/resources/resourcesPanel.css",
"front_end/resources/resourcesSidebar.css",
"front_end/resources/serviceWorkerCacheViews.css",
"front_end/resources/serviceWorkersView.css",
"front_end/resources/serviceWorkerUpdateCycleView.css",
"front_end/screencast/module.json",
"front_end/screencast/screencastView.css",
"front_end/sdk_test_runner/module.json",
"front_end/sdk_test_runner/sdk_test_runner.js",
"front_end/search/module.json",
"front_end/search/searchResultsPane.css",
"front_end/search/searchView.css",
"front_end/security_test_runner/module.json",
"front_end/security_test_runner/security_test_runner.js",
"front_end/security/lockIcon.css",
"front_end/security/mainView.css",
"front_end/security/module.json",
"front_end/security/originView.css",
"front_end/security/sidebar.css",
"front_end/settings/frameworkIgnoreListSettingsTab.css",
"front_end/settings/keybindsSettingsTab.css",
"front_end/settings/module.json",
"front_end/settings/settingsScreen.css",
"front_end/shell.json",
"front_end/snippets/module.json",
"front_end/source_frame/fontView.css",
"front_end/source_frame/imageView.css",
"front_end/source_frame/jsonView.css",
"front_end/source_frame/messagesPopover.css",
"front_end/source_frame/module.json",
"front_end/source_frame/resourceSourceFrame.css",
"front_end/source_frame/xmlTree.css",
"front_end/source_frame/xmlView.css",
"front_end/sources_test_runner/sources_test_runner.js",
"front_end/sources_test_runner/AutocompleteTestRunner.js",
"front_end/sources_test_runner/DebuggerTestRunner.js",
"front_end/sources_test_runner/EditorTestRunner.js",
"front_end/sources_test_runner/LiveEditTestRunner.js",
"front_end/sources_test_runner/module.json",
"front_end/sources_test_runner/SearchTestRunner.js",
"front_end/sources_test_runner/SourcesTestRunner.js",
"front_end/sources/breakpointEditDialog.css",
"front_end/sources/callStackSidebarPane.css",
"front_end/sources/debuggerPausedMessage.css",
"front_end/sources/dialog.css",
"front_end/sources/javaScriptBreakpointsSidebarPane.css",
"front_end/sources/module.json",
"front_end/sources/navigatorTree.css",
"front_end/sources/navigatorView.css",
"front_end/sources/scopeChainSidebarPane.css",
"front_end/sources/sourcesPanel.css",
"front_end/sources/sourcesView.css",
"front_end/sources/threadsSidebarPane.css",
"front_end/sources/watchExpressionsSidebarPane.css",
"front_end/test_runner/module.json",
"front_end/text_editor/autocompleteTooltip.css",
"front_end/text_editor/cmdevtools.css",
"front_end/text_editor/cmdevtools.darkmode.css",
"front_end/text_editor/module.json",
"front_end/third_party/fabricjs/fabric.js",
"front_end/third_party/fabricjs/module.json",
"front_end/third_party/lighthouse/lighthouse-dt-bundle.js",
"front_end/third_party/lighthouse/report-assets/report.css",
"front_end/third_party/lighthouse/report-assets/report.js",
"front_end/third_party/lighthouse/report-assets/report-generator.js",
"front_end/third_party/lighthouse/report-assets/template.html",
"front_end/third_party/lighthouse/report-assets/templates.html",
"front_end/timeline_model/module.json",
"front_end/timeline/historyToolbarButton.css",
"front_end/timeline/invalidationsTree.css",
"front_end/timeline/module.json",
"front_end/timeline/timelineFlamechartPopover.css",
"front_end/timeline/timelineHistoryManager.css",
"front_end/timeline/timelinePaintProfiler.css",
"front_end/timeline/timelinePanel.css",
"front_end/timeline/timelineStatusDialog.css",
"front_end/ui/checkboxTextLabel.css",
"front_end/ui/closeButton.css",
"front_end/ui/confirmDialog.css",
"front_end/ui/dialog.css",
"front_end/ui/dropTarget.css",
"front_end/ui/emptyWidget.css",
"front_end/ui/filter.css",
"front_end/ui/glassPane.css",
"front_end/ui/infobar.css",
"front_end/ui/inlineButton.css",
"front_end/ui/inspectorCommon.css",
"front_end/ui/inspectorScrollbars.css",
"front_end/ui/inspectorStyle.css",
"front_end/ui/themeColors.css",
"front_end/ui/inspectorSyntaxHighlight.css",
"front_end/ui/inspectorSyntaxHighlightDark.css",
"front_end/ui/inspectorViewTabbedPane.css",
"front_end/ui/listWidget.css",
"front_end/ui/module.json",
"front_end/ui/popover.css",
"front_end/ui/progressIndicator.css",
"front_end/ui/radioButton.css",
"front_end/ui/remoteDebuggingTerminatedScreen.css",
"front_end/ui/reportView.css",
"front_end/ui/rootView.css",
"front_end/ui/searchableView.css",
"front_end/ui/segmentedButton.css",
"front_end/ui/slider.css",
"front_end/ui/smallBubble.css",
"front_end/ui/softContextMenu.css",
"front_end/ui/softDropDown.css",
"front_end/ui/softDropDownButton.css",
"front_end/ui/splitWidget.css",
"front_end/ui/suggestBox.css",
"front_end/ui/tabbedPane.css",
"front_end/ui/targetCrashedScreen.css",
"front_end/ui/textButton.css",
"front_end/ui/textPrompt.css",
"front_end/ui/toolbar.css",
"front_end/ui/tooltip.css",
"front_end/ui/treeoutline.css",
"front_end/ui/viewContainers.css",
"front_end/wasmparser_worker/module.json",
"front_end/web_audio/audioContextSelector.css",
"front_end/web_audio/module.json",
"front_end/web_audio/webAudio.css",
"front_end/webauthn/module.json",
"front_end/webauthn/webauthnPane.css",
"front_end/recorder/module.json",
"front_end/worker_main/module.json",
"front_end/worker_service/module.json",
"front_end/workspace_diff/module.json",
]
lighthouse_locale_files = [
"locales/ar-XB.json",
"locales/ar.json",
"locales/bg.json",
"locales/ca.json",
"locales/cs.json",
"locales/da.json",
"locales/de.json",
"locales/el.json",
"locales/en-GB.json",
"locales/en-US.json",
"locales/en-XA.json",
"locales/en-XL.json",
"locales/es-419.json",
"locales/es.json",
"locales/fi.json",
"locales/fil.json",
"locales/fr.json",
"locales/he.json",
"locales/hi.json",
"locales/hr.json",
"locales/hu.json",
"locales/id.json",
"locales/it.json",
"locales/ja.json",
"locales/ko.json",
"locales/lt.json",
"locales/lv.json",
"locales/nl.json",
"locales/no.json",
"locales/pl.json",
"locales/pt-PT.json",
"locales/pt.json",
"locales/ro.json",
"locales/ru.json",
"locales/sk.json",
"locales/sl.json",
"locales/sr-Latn.json",
"locales/sr.json",
"locales/sv.json",
"locales/ta.json",
"locales/te.json",
"locales/th.json",
"locales/tr.json",
"locales/uk.json",
"locales/vi.json",
"locales/zh-HK.json",
"locales/zh-TW.json",
"locales/zh.json",
]
devtools_locale_files = [ "en-US.json" ]
copied_devtools_locale_files = []
foreach(locale, devtools_locale_files) {
copied_devtools_locale_files += [ "i18n/locales/$locale" ]
}