Migrate front_end/changes to devtools_entrypoint

R=aerotwist@chromium.org, jacktfranklin@chromium.org

Bug: 1101738
Change-Id: Ie26902cda0e64b14670026bfc92ed9c65e9fdaa3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2332221
Commit-Queue: Jan Scheffler <janscheffler@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
Jan Scheffler
2020-07-31 13:24:59 +00:00
committed by Commit Bot
parent a29e76f622
commit a5c5b34d67
9 changed files with 53 additions and 7 deletions
+4 -4
View File
@@ -9,10 +9,6 @@ all_devtools_module_sources = [
"browser_debugger/EventListenerBreakpointsSidebarPane.js",
"browser_debugger/ObjectEventListenersSidebarPane.js",
"browser_debugger/XHRBreakpointsSidebarPane.js",
"changes/ChangesHighlighter.js",
"changes/ChangesSidebar.js",
"changes/ChangesTextEditor.js",
"changes/ChangesView.js",
"cm_modes/DefaultCodeMirrorMimeMode.js",
"developer_resources/DeveloperResourcesListView.js",
"developer_resources/DeveloperResourcesView.js",
@@ -197,6 +193,10 @@ all_typescript_module_sources = [
"browser_sdk/IssuesManager.js",
"browser_sdk/LogManager.js",
"browser_sdk/RelatedIssue.js",
"changes/ChangesHighlighter.js",
"changes/ChangesSidebar.js",
"changes/ChangesTextEditor.js",
"changes/ChangesView.js",
"color_picker/ContrastDetails.js",
"color_picker/ContrastInfo.js",
"color_picker/ContrastOverlay.js",
+1 -1
View File
@@ -13,7 +13,6 @@ devtools_module_entrypoint_sources = [
"browser_debugger/browser_debugger.js",
"browser_sdk/browser_sdk-legacy.js",
"changes/changes-legacy.js",
"changes/changes.js",
"cm_modes/cm_modes.js",
"color_picker/color_picker-legacy.js",
"common/common-legacy.js",
@@ -113,6 +112,7 @@ generated_typescript_entrypoint_sources = [
"$resources_out_dir/animation/animation.js",
"$resources_out_dir/bindings/bindings.js",
"$resources_out_dir/browser_sdk/browser_sdk.js",
"$resources_out_dir/changes/changes.js",
"$resources_out_dir/client_variations/client_variations.js",
"$resources_out_dir/cm/cm.js",
"$resources_out_dir/cm_headless/cm_headless.js",
+1
View File
@@ -13,6 +13,7 @@ group("front_end") {
"animation:bundle",
"bindings:bundle",
"browser_sdk:bundle",
"changes:bundle",
"client_variations:bundle",
"color_picker:bundle",
"common:bundle",
+32
View File
@@ -0,0 +1,32 @@
# 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/devtools_entrypoint.gni")
import("../../scripts/build/ninja/devtools_module.gni")
devtools_module("changes") {
sources = [
"ChangesHighlighter.js",
"ChangesSidebar.js",
"ChangesTextEditor.js",
"ChangesView.js",
]
deps = [
"../common:bundle",
"../diff:bundle",
"../snippets:bundle",
"../text_editor:bundle",
"../ui:bundle",
"../workspace:bundle",
"../workspace_diff:bundle",
]
}
devtools_entrypoint("bundle") {
entrypoint = "changes.js"
is_legacy_javascript_entrypoint = [ "crbug.com/1011811" ]
deps = [ ":changes" ]
}
+3
View File
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @ts-nocheck
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
import {Row, RowType} from './ChangesView.js'; // eslint-disable-line no-unused-vars
/**
+3
View File
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @ts-nocheck
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
import * as Common from '../common/common.js';
import * as Snippets from '../snippets/snippets.js';
import * as UI from '../ui/ui.js';
+3
View File
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @ts-nocheck
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
import * as TextEditor from '../text_editor/text_editor.js';
import * as UI from '../ui/ui.js'; // eslint-disable-line no-unused-vars
+3
View File
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @ts-nocheck
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
import * as Common from '../common/common.js';
import * as Diff from '../diff/diff.js';
import * as UI from '../ui/ui.js';
+3 -2
View File
@@ -38,5 +38,6 @@
"resources": [
"changesView.css",
"changesSidebar.css"
]
}
],
"skip_rollup": true
}