mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
R=aerotwist@chromium.org DISABLE_THIRD_PARTY_CHECK=i18n move No-Presubmit: true Bug: 1187573 Change-Id: I3dd02956bcf078e0e3b059240ea583b3a83c09b2 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2799756 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
64 lines
1.4 KiB
Plaintext
64 lines
1.4 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")
|
|
import("../../third_party/typescript/typescript.gni")
|
|
|
|
devtools_module("inline_editor") {
|
|
sources = [
|
|
"BezierEditor.js",
|
|
"BezierUI.js",
|
|
"CSSAngle.ts",
|
|
"CSSAngleEditor.ts",
|
|
"CSSAngleSwatch.ts",
|
|
"CSSAngleUtils.ts",
|
|
"CSSShadowEditor.js",
|
|
"CSSShadowModel.js",
|
|
"CSSVarSwatch.ts",
|
|
"ColorSwatch.ts",
|
|
"FontEditor.js",
|
|
"FontEditorUnitConverter.js",
|
|
"FontEditorUtils.js",
|
|
"SwatchPopoverHelper.js",
|
|
"Swatches.js",
|
|
]
|
|
|
|
deps = [
|
|
"../bindings:bundle",
|
|
"../common:bundle",
|
|
"../component_helpers:bundle",
|
|
"../components:bundle",
|
|
"../core/i18n:bundle",
|
|
"../core/platform:bundle",
|
|
"../core/sdk:bundle",
|
|
"../panels/css_overview:bundle",
|
|
"../text_utils:bundle",
|
|
"../third_party/lit-html:bundle",
|
|
"../ui:bundle",
|
|
"../ui/components:bundle",
|
|
]
|
|
|
|
visibility = [ "../component_docs/*" ]
|
|
}
|
|
|
|
copy_to_gen("legacy_css") {
|
|
sources = [ "colorSwatch.css" ]
|
|
}
|
|
|
|
devtools_entrypoint("bundle") {
|
|
entrypoint = "inline_editor.ts"
|
|
|
|
deps = [
|
|
":inline_editor",
|
|
"../core/sdk:bundle",
|
|
]
|
|
}
|
|
|
|
devtools_entrypoint("legacy") {
|
|
entrypoint = "inline_editor-legacy.js"
|
|
|
|
deps = [ ":bundle" ]
|
|
}
|