diff options
Diffstat (limited to 'chromium/third_party/devtools-frontend/src/BUILD.gn')
-rw-r--r-- | chromium/third_party/devtools-frontend/src/BUILD.gn | 134 |
1 files changed, 52 insertions, 82 deletions
diff --git a/chromium/third_party/devtools-frontend/src/BUILD.gn b/chromium/third_party/devtools-frontend/src/BUILD.gn index 487704f8f7e..1322d077d88 100644 --- a/chromium/third_party/devtools-frontend/src/BUILD.gn +++ b/chromium/third_party/devtools-frontend/src/BUILD.gn @@ -169,12 +169,12 @@ all_devtools_files = [ "front_end/layers_test_runner/module.json", "front_end/layers/module.json", "front_end/main/module.json", - "front_end/media/chevronTabbedPanel.css", "front_end/media/eventDisplayTable.css", "front_end/media/mediaView.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", @@ -311,7 +311,6 @@ all_devtools_files = [ "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/third_party/wasmparser/module.json", "front_end/timeline_model/module.json", "front_end/timeline/historyToolbarButton.css", "front_end/timeline/invalidationsTree.css", @@ -369,6 +368,8 @@ all_devtools_files = [ "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/worker_main/module.json", "front_end/worker_service/module.json", "front_end/workspace_diff/module.json", @@ -572,6 +573,8 @@ devtools_module_entrypoints = [ "wasmparser_worker/wasmparser_worker.js", "web_audio/web_audio.js", "web_audio/web_audio-legacy.js", + "webauthn/webauthn.js", + "webauthn/webauthn-legacy.js", "worker_main/worker_main.js", "worker_main/worker_main-legacy.js", "worker_service/worker_service.js", @@ -701,10 +704,6 @@ devtools_image_files = [ "front_end/Images/accelerometer-right.png", "front_end/Images/accelerometer-top.png", "front_end/Images/lighthouse_logo.svg", - "front_end/Images/breakpoint.svg", - "front_end/Images/breakpoint-conditional.svg", - "front_end/Images/breakpoint-conditional-disabled.svg", - "front_end/Images/breakpoint-disabled.svg", "front_end/Images/checkboxCheckmark.svg", "front_end/Images/checker.png", "front_end/Images/chevrons.svg", @@ -720,8 +719,6 @@ devtools_image_files = [ "front_end/Images/ic_info_black_18dp.svg", "front_end/Images/ic_warning_black_18dp.svg", "front_end/Images/largeIcons.svg", - "front_end/Images/logpoint.svg", - "front_end/Images/logpoint-disabled.svg", "front_end/Images/mediumIcons.svg", "front_end/Images/navigationControls_2x.png", "front_end/Images/navigationControls.png", @@ -841,6 +838,7 @@ generated_non_autostart_non_remote_modules = [ "$resources_out_dir/timeline_model/timeline_model_module.js", "$resources_out_dir/timeline/timeline_module.js", "$resources_out_dir/web_audio/web_audio_module.js", + "$resources_out_dir/webauthn/webauthn_module.js", "$resources_out_dir/workspace_diff/workspace_diff_module.js", ] @@ -865,7 +863,6 @@ generated_test_modules = [ "$resources_out_dir/extensions_test_runner/extensions_test_runner_module.js", "$resources_out_dir/heap_profiler_test_runner/heap_profiler_test_runner_module.js", "$resources_out_dir/heap_snapshot_worker/heap_snapshot_worker_module.js", - "$resources_out_dir/integration_test_runner.html", "$resources_out_dir/integration_test_runner.js", "$resources_out_dir/layers_test_runner/layers_test_runner_module.js", "$resources_out_dir/network_test_runner/network_test_runner_module.js", @@ -923,42 +920,25 @@ group("devtools_all_files") { deps = [ ":devtools_frontend_resources_data" ] } -devtools_typescript_deps = [ - "front_end/bindings", - "front_end/browser_sdk", - "front_end/common:common", - "front_end/elements", - "front_end/formatter_worker", - "front_end/host", - "front_end/inspector_overlay:inspector_overlay", - "front_end/issues:issues", - "front_end/protocol_client", - "front_end/root", - "front_end/sdk:sdk", - "front_end/third_party/codemirror", - "front_end/workspace", +devtools_frontend_resources_deps = [ + ":build_release_devtools", + ":copy_embedder_scripts", + ":copy_emulated_devices_images", + ":copy_inspector_images", + ":copy_lighthouse_locale_files", + ":copy_wasm_deps", + ":devtools_extension_api", + "front_end", + + # Required for layout tests, which depend on the existence of `integration_test_runner.html` + # If we don't add this dependency explicitly, the swarming bots don't pick up the file. + "front_end:front_end_html_entrypoints", ] -devtools_frontend_resources_deps = devtools_typescript_deps + [ - ":build_release_devtools", - ":copy_embedder_scripts", - ":copy_emulated_devices_images", - ":copy_htaccess", - ":copy_inspector_images", - ":copy_lighthouse_locale_files", - ":copy_wasm_deps", - ":devtools_extension_api", - "front_end", - ] - if (is_debug) { devtools_frontend_resources_deps += [ ":copy_devtools_modules" ] } -if (debug_devtools) { - devtools_frontend_resources_deps += [ ":build_debug_devtools" ] -} - devtools_frontend_resources_data_test_deps = devtools_frontend_resources_deps # It is unclear why, but the Android Ninja configuration starts warning about @@ -973,7 +953,7 @@ group("devtools_frontend_resources") { public_deps = devtools_frontend_resources_deps } -group("devtools_inspector_overlay_resources") { +group("generate_devtools_inspector_overlay_resources") { public_deps = [ "front_end/inspector_overlay:build_inspector_overlay" ] } @@ -988,11 +968,6 @@ copy("copy_embedder_scripts") { outputs = [ "$resources_out_dir/{{source_file_part}}" ] } -copy("copy_htaccess") { - sources = [ "htaccess" ] - outputs = [ "$resources_out_dir/.htaccess" ] -} - copy("copy_inspector_images") { sources = devtools_image_files outputs = [ "$resources_out_dir/Images/{{source_file_part}}" ] @@ -1066,6 +1041,7 @@ all_devtools_modules = [ "browser_debugger/EventListenerBreakpointsSidebarPane.js", "browser_debugger/ObjectEventListenersSidebarPane.js", "browser_debugger/XHRBreakpointsSidebarPane.js", + "browser_sdk/FrameManager.js", "browser_sdk/LogManager.js", "browser_sdk/IssuesManager.js", "browser_sdk/RelatedIssue.js", @@ -1074,18 +1050,6 @@ all_devtools_modules = [ "changes/ChangesTextEditor.js", "changes/ChangesView.js", "cm_modes/DefaultCodeMirrorMimeMode.js", - "cm/active-line.js", - "cm/brace-fold.js", - "cm/closebrackets.js", - "cm/codemirror.js", - "cm/comment.js", - "cm/foldcode.js", - "cm/foldgutter.js", - "cm/mark-selection.js", - "cm/matchbrackets.js", - "cm/multiplex.js", - "cm/overlay.js", - "cm/simple.js", "color_picker/ContrastDetails.js", "color_picker/ContrastInfo.js", "color_picker/ContrastOverlay.js", @@ -1094,6 +1058,7 @@ all_devtools_modules = [ "common/AppProvider.js", "common/CharacterIdMap.js", "common/Color.js", + "common/ColorUtils.js", "common/Console.js", "common/EventTarget.js", "common/JavaScriptMetaData.js", @@ -1112,6 +1077,7 @@ all_devtools_modules = [ "common/TextDictionary.js", "common/Throttler.js", "common/Trie.js", + "common/WasmDisassembly.js", "common/Worker.js", "components/DockController.js", "components/ImagePreview.js", @@ -1193,7 +1159,7 @@ all_devtools_modules = [ "extensions/ExtensionServer.js", "extensions/ExtensionTraceProvider.js", "extensions/ExtensionView.js", - "formatter_worker/acorn/acorn_loose.js", + "formatter_worker/Acorn.js", "formatter_worker/AcornTokenizer.js", "formatter_worker/CSSFormatter.js", "formatter_worker/CSSRuleParser.js", @@ -1252,13 +1218,16 @@ all_devtools_modules = [ "main/ExecutionContextSelector.js", "main/MainImpl.js", "main/SimpleApp.js", - "media/ChevronTabbedPanel.js", "media/EventDisplayTable.js", + "media/EventTimelineView.js", "media/MainView.js", "media/MediaModel.js", "media/PlayerDetailView.js", "media/PlayerListView.js", + "media/PlayerMessagesView.js", "media/PlayerPropertiesView.js", + "media/TickingFlameChart.js", + "media/TickingFlameChartHelpers.js", "mobile_throttling/MobileThrottlingSelector.js", "mobile_throttling/NetworkPanelIndicator.js", "mobile_throttling/NetworkThrottlingSelector.js", @@ -1404,8 +1373,10 @@ all_devtools_modules = [ "sdk/DOMModel.js", "sdk/EmulationModel.js", "sdk/FilmStripModel.js", + "sdk/FrameAssociated.js", "sdk/HARLog.js", "sdk/HeapProfilerModel.js", + "sdk/HeavyAdIssue.js", "sdk/IsolateManager.js", "sdk/Issue.js", "sdk/SameSiteCookieIssue.js", @@ -1437,6 +1408,7 @@ all_devtools_modules = [ "sdk/TracingManager.js", "sdk/TracingModel.js", "sdk/wasm_source_map/pkg/wasm_source_map.js", + "sdk/WebAuthnModel.js", "search/SearchConfig.js", "search/SearchResultsPane.js", "search/SearchView.js", @@ -1502,7 +1474,9 @@ all_devtools_modules = [ "text_utils/TextCursor.js", "text_utils/TextRange.js", "text_utils/TextUtils.js", - "third_party/acorn/package/dist/acorn.js", + "third_party/acorn/package/dist/acorn.mjs", + "third_party/acorn-loose/package/dist/acorn-loose.mjs", + "third_party/acorn-logical-assignment/package/dist/acorn-logical-assignment.mjs", "third_party/codemirror/package/addon/runmode/runmode-standalone.js", "third_party/codemirror/package/mode/clike/clike.js", "third_party/codemirror/package/mode/clojure/clojure.js", @@ -1519,8 +1493,20 @@ all_devtools_modules = [ "third_party/codemirror/package/mode/htmlmixed/htmlmixed.js", "third_party/codemirror/package/mode/htmlembedded/htmlembedded.js", "third_party/codemirror/package/mode/wast/wast.js", - "third_party/wasmparser/WasmDis.js", - "third_party/wasmparser/WasmParser.js", + "third_party/codemirror/package/lib/codemirror.js", + "third_party/codemirror/package/addon/comment/comment.js", + "third_party/codemirror/package/addon/edit/closebrackets.js", + "third_party/codemirror/package/addon/edit/matchbrackets.js", + "third_party/codemirror/package/addon/mode/multiplex.js", + "third_party/codemirror/package/addon/mode/overlay.js", + "third_party/codemirror/package/addon/mode/simple.js", + "third_party/codemirror/package/addon/selection/active-line.js", + "third_party/codemirror/package/addon/selection/mark-selection.js", + "third_party/codemirror/package/addon/fold/foldcode.js", + "third_party/codemirror/package/addon/fold/foldgutter.js", + "third_party/codemirror/package/addon/fold/brace-fold.js", + "third_party/wasmparser/package/dist/esm/WasmDis.js", + "third_party/wasmparser/package/dist/esm/WasmParser.js", "timeline/UIDevtoolsUtils.js", "timeline/UIDevtoolsController.js", "timeline/TimelineUIUtils.js", @@ -1625,6 +1611,7 @@ all_devtools_modules = [ "web_audio/graph_visualizer/NodeView.js", "web_audio/WebAudioModel.js", "web_audio/WebAudioView.js", + "webauthn/WebauthnPane.js", "worker_main/WorkerMain.js", "worker_service/ServiceDispatcher.js", "workspace_diff/WorkspaceDiff.js", @@ -1723,8 +1710,11 @@ action("build_release_devtools") { helper_scripts = [ "scripts/build/modular_build.py", "scripts/build/rjsmin.py", + "front_end/rollup.config.js", ] + deps = [ "front_end" ] + inputs = helper_scripts + all_devtools_files + devtools_test_files + application_templates + all_worker_entrypoints + front_end_devtools_module_entrypoints + input_devtools_modules @@ -1741,26 +1731,6 @@ action("build_release_devtools") { ] + build_release_devtools_args } -if (debug_devtools) { - resources_out_debug_dir = "$root_out_dir/resources/inspector/debug" - - action("build_debug_devtools") { - script = "scripts/build/build_debug_applications.py" - inputs = all_devtools_files + application_templates - stamp = "$resources_out_debug_dir/build.stamp" - outputs = [ stamp ] - - args = [ - "--input_path", - rebase_path("front_end", root_build_dir), - "--output_path", - rebase_path(resources_out_debug_dir, root_build_dir), - "--build_stamp", - rebase_path(stamp, root_build_dir), - ] - } -} - group("devtools_type_check") { data = [ # Needed for isolate script to execute. |