mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-13 01:54:52 +08:00
Migrate workspace to devtools_entrypoint
Bug: 1101738 Change-Id: Icf687bd1bfe8340e74d44eb37e4a7c9bc850b79d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2312682 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
f1aba72454
commit
3c2fa9ffce
@@ -425,9 +425,6 @@ all_devtools_modules = [
|
||||
"worker_main/WorkerMain.js",
|
||||
"worker_service/ServiceDispatcher.js",
|
||||
"workspace_diff/WorkspaceDiff.js",
|
||||
"workspace/FileManager.js",
|
||||
"workspace/UISourceCode.js",
|
||||
"workspace/WorkspaceImpl.js",
|
||||
]
|
||||
|
||||
input_devtools_modules = []
|
||||
@@ -622,6 +619,9 @@ all_typescript_modules = [
|
||||
"sdk/TracingModel.js",
|
||||
"sdk/wasm_source_map/pkg/wasm_source_map.js",
|
||||
"sdk/WebAuthnModel.js",
|
||||
"workspace/FileManager.js",
|
||||
"workspace/UISourceCode.js",
|
||||
"workspace/WorkspaceImpl.js",
|
||||
"third_party/acorn-logical-assignment/package/dist/acorn-logical-assignment.mjs",
|
||||
"third_party/acorn-loose/package/dist/acorn-loose.mjs",
|
||||
"third_party/acorn-numeric-separator/package/dist/acorn-numeric-separator.mjs",
|
||||
|
||||
@@ -140,7 +140,6 @@ devtools_module_entrypoints = [
|
||||
"worker_main/worker_main.js",
|
||||
"worker_main/worker_main-legacy.js",
|
||||
"worker_service/worker_service.js",
|
||||
"workspace/workspace.js",
|
||||
"workspace/workspace-legacy.js",
|
||||
"workspace_diff/workspace_diff.js",
|
||||
"workspace_diff/workspace_diff-legacy.js",
|
||||
@@ -172,4 +171,5 @@ generated_typescript_entrypoints = [
|
||||
"$resources_out_dir/root/root.js",
|
||||
"$resources_out_dir/sdk/sdk.js",
|
||||
"$resources_out_dir/platform/platform.js",
|
||||
"$resources_out_dir/workspace/workspace.js",
|
||||
]
|
||||
|
||||
+2
-1
@@ -22,6 +22,7 @@ group("front_end") {
|
||||
"issues:bundle",
|
||||
"sdk:bundle",
|
||||
"third_party/lighthouse",
|
||||
"workspace:bundle",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
@@ -78,6 +79,6 @@ ts_library("ts_library-verification") {
|
||||
"protocol_client",
|
||||
"root:bundle",
|
||||
"sdk:bundle",
|
||||
"workspace",
|
||||
"workspace:bundle",
|
||||
]
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ devtools_module("bindings") {
|
||||
"../host:bundle",
|
||||
"../sdk:bundle",
|
||||
"../text_utils",
|
||||
"../workspace",
|
||||
"../workspace:bundle",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("../../third_party/typescript/typescript.gni")
|
||||
import("../../scripts/build/ninja/devtools_entrypoint.gni")
|
||||
import("../../scripts/build/ninja/devtools_module.gni")
|
||||
|
||||
ts_library("workspace") {
|
||||
devtools_module("workspace") {
|
||||
sources = [
|
||||
"FileManager.js",
|
||||
"UISourceCode.js",
|
||||
"WorkspaceImpl.js",
|
||||
"workspace.js",
|
||||
]
|
||||
|
||||
deps = [
|
||||
@@ -19,3 +19,10 @@ ts_library("workspace") {
|
||||
"../text_utils",
|
||||
]
|
||||
}
|
||||
|
||||
devtools_entrypoint("bundle") {
|
||||
entrypoint = "workspace.js"
|
||||
is_legacy_javascript_entrypoint = [ "crbug.com/1011811" ]
|
||||
|
||||
deps = [ ":workspace" ]
|
||||
}
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
"FileManager.js",
|
||||
"UISourceCode.js",
|
||||
"WorkspaceImpl.js"
|
||||
]
|
||||
],
|
||||
"skip_rollup": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user