mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 18:11:04 +08:00
R=aerotwist@chromium.org Bug: 1011811 Change-Id: I260459708d23fc3d13c22e3829ec9921da4ff965 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2544128 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
# 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("console") {
|
|
sources = [
|
|
"ConsoleContextSelector.js",
|
|
"ConsoleFilter.js",
|
|
"ConsolePanel.js",
|
|
"ConsolePinPane.js",
|
|
"ConsolePrompt.js",
|
|
"ConsoleSidebar.js",
|
|
"ConsoleView.js",
|
|
"ConsoleViewMessage.js",
|
|
"ConsoleViewport.js",
|
|
]
|
|
|
|
deps = [
|
|
"../bindings:bundle",
|
|
"../browser_sdk:bundle",
|
|
"../common:bundle",
|
|
"../components:bundle",
|
|
"../data_grid:bundle",
|
|
"../host:bundle",
|
|
"../object_ui:bundle",
|
|
"../platform:bundle",
|
|
"../sdk:bundle",
|
|
"../text_utils:bundle",
|
|
"../theme_support:bundle",
|
|
"../ui:bundle",
|
|
]
|
|
}
|
|
|
|
copy_to_gen("legacy_css") {
|
|
sources = [
|
|
"consoleContextSelector.css",
|
|
"consolePinPane.css",
|
|
"consolePrompt.css",
|
|
"consoleSidebar.css",
|
|
"consoleView.css",
|
|
]
|
|
}
|
|
|
|
devtools_entrypoint("bundle") {
|
|
entrypoint = "console.ts"
|
|
|
|
deps = [ ":console" ]
|
|
}
|
|
|
|
devtools_entrypoint("legacy") {
|
|
entrypoint = "console-legacy.js"
|
|
|
|
deps = [ ":bundle" ]
|
|
}
|