mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
Migrate animation to devtools_entrypoint
Bug: 1101738 Change-Id: I05f447baa9854b776821d97d6bde76a4f6d223a7 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2329771 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Jan Scheffler <janscheffler@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
fb3eb0728d
commit
899893a60c
@@ -5,11 +5,6 @@
|
||||
import("./scripts/build/ninja/vars.gni")
|
||||
|
||||
all_devtools_module_sources = [
|
||||
"animation/AnimationGroupPreviewUI.js",
|
||||
"animation/AnimationModel.js",
|
||||
"animation/AnimationScreenshotPopover.js",
|
||||
"animation/AnimationTimeline.js",
|
||||
"animation/AnimationUI.js",
|
||||
"browser_debugger/DOMBreakpointsSidebarPane.js",
|
||||
"browser_debugger/EventListenerBreakpointsSidebarPane.js",
|
||||
"browser_debugger/ObjectEventListenersSidebarPane.js",
|
||||
@@ -227,6 +222,11 @@ all_typescript_module_sources = [
|
||||
"accessibility/AccessibilitySidebarView.js",
|
||||
"accessibility/AccessibilityStrings.js",
|
||||
"accessibility/AccessibilitySubPane.js",
|
||||
"animation/AnimationGroupPreviewUI.js",
|
||||
"animation/AnimationModel.js",
|
||||
"animation/AnimationScreenshotPopover.js",
|
||||
"animation/AnimationTimeline.js",
|
||||
"animation/AnimationUI.js",
|
||||
"bindings/BlackboxManager.js",
|
||||
"bindings/BreakpointManager.js",
|
||||
"bindings/CSSWorkspaceBinding.js",
|
||||
|
||||
@@ -8,7 +8,6 @@ devtools_module_entrypoint_sources = [
|
||||
"RuntimeInstantiator.js",
|
||||
"accessibility/accessibility-legacy.js",
|
||||
"animation/animation-legacy.js",
|
||||
"animation/animation.js",
|
||||
"bindings/bindings-legacy.js",
|
||||
"browser_debugger/browser_debugger-legacy.js",
|
||||
"browser_debugger/browser_debugger.js",
|
||||
@@ -117,6 +116,7 @@ foreach(module, devtools_module_entrypoint_sources) {
|
||||
|
||||
generated_typescript_entrypoint_sources = [
|
||||
"$resources_out_dir/accessibility/accessibility.js",
|
||||
"$resources_out_dir/animation/animation.js",
|
||||
"$resources_out_dir/bindings/bindings.js",
|
||||
"$resources_out_dir/browser_sdk/browser_sdk.js",
|
||||
"$resources_out_dir/client_variations/client_variations.js",
|
||||
|
||||
@@ -10,6 +10,7 @@ group("front_end") {
|
||||
":front_end_html_entrypoints",
|
||||
":ts_library-verification",
|
||||
"accessibility:bundle",
|
||||
"animation:bundle",
|
||||
"bindings:bundle",
|
||||
"browser_sdk:bundle",
|
||||
"client_variations:bundle",
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2015 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.
|
||||
// @ts-nocheck
|
||||
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
|
||||
|
||||
import {AnimationGroup} from './AnimationModel.js'; // eslint-disable-line no-unused-vars
|
||||
import {AnimationUI} from './AnimationUI.js';
|
||||
|
||||
@@ -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 SDK from '../sdk/sdk.js';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2015 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.
|
||||
// @ts-nocheck
|
||||
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
|
||||
|
||||
import * as UI from '../ui/ui.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2015 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.
|
||||
// @ts-nocheck
|
||||
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
|
||||
|
||||
import * as Common from '../common/common.js';
|
||||
import * as Host from '../host/host.js';
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) 2015 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.
|
||||
// @ts-nocheck
|
||||
// TODO(crbug.com/1011811): Enable TypeScript compiler checks
|
||||
|
||||
import * as Common from '../common/common.js';
|
||||
import * as InlineEditor from '../inline_editor/inline_editor.js';
|
||||
|
||||
@@ -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("animation") {
|
||||
sources = [
|
||||
"AnimationGroupPreviewUI.js",
|
||||
"AnimationModel.js",
|
||||
"AnimationScreenshotPopover.js",
|
||||
"AnimationTimeline.js",
|
||||
"AnimationUI.js",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../common:bundle",
|
||||
"../host:bundle",
|
||||
"../inline_editor:bundle",
|
||||
"../platform:bundle",
|
||||
"../sdk:bundle",
|
||||
"../ui:bundle",
|
||||
]
|
||||
}
|
||||
|
||||
devtools_entrypoint("bundle") {
|
||||
entrypoint = "animation.js"
|
||||
is_legacy_javascript_entrypoint = [ "crbug.com/1011811" ]
|
||||
|
||||
deps = [ ":animation" ]
|
||||
}
|
||||
@@ -25,5 +25,6 @@
|
||||
"resources": [
|
||||
"animationScreenshotPopover.css",
|
||||
"animationTimeline.css"
|
||||
]
|
||||
],
|
||||
"skip_rollup": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user