| # Copyright 2023 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("../../../../scripts/build/ninja/generate_css.gni") |
| |
| generate_css("css_files") { |
| sources = [ |
| "controlButton.css", |
| "createRecordingView.css", |
| "extensionView.css", |
| "recorderInput.css", |
| "recordingListView.css", |
| "recordingView.css", |
| "selectButton.css", |
| "startView.css", |
| "stepEditor.css", |
| "stepView.css", |
| "timelineSection.css", |
| ] |
| } |
| |
| devtools_module("components") { |
| sources = [ |
| "ControlButton.ts", |
| "CreateRecordingView.ts", |
| "ExtensionView.ts", |
| "RecorderInput.ts", |
| "RecordingListView.ts", |
| "RecordingView.ts", |
| "ReplayButton.ts", |
| "SelectButton.ts", |
| "SplitView.ts", |
| "StartView.ts", |
| "StepEditor.ts", |
| "StepView.ts", |
| "TimelineSection.ts", |
| "util.ts", |
| ] |
| |
| deps = [ |
| "..:actions", |
| "../../../core/common:bundle", |
| "../../../core/host:bundle", |
| "../../../core/platform:bundle", |
| "../../../core/sdk:bundle", |
| "../../../models/extensions:bundle", |
| "../../../third_party/codemirror.next:bundle", |
| "../../../ui/components/buttons:bundle", |
| "../../../ui/components/helpers:bundle", |
| "../../../ui/components/icon_button:bundle", |
| "../../../ui/components/input:bundle", |
| "../../../ui/components/panel_feedback:bundle", |
| "../../../ui/components/panel_introduction_steps:bundle", |
| "../../../ui/components/render_coordinator:bundle", |
| "../../../ui/components/text_editor:bundle", |
| "../../../ui/legacy:bundle", |
| "../../../ui/lit-html:bundle", |
| "../../../third_party/puppeteer-replay:bundle", |
| "../../../ui/components/dialogs:bundle", |
| "../../../ui/components/menus:bundle", |
| "../controllers:bundle", |
| "../converters:bundle", |
| "../extensions:bundle", |
| "../models:bundle", |
| ] |
| |
| public_deps = [ |
| "../images", |
| ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "components.ts" |
| |
| deps = [ |
| ":components", |
| ":css_files", |
| ] |
| |
| visibility = [ |
| ":*", |
| "../:*", |
| "../../../../test/unittests/front_end/panels/recorder/*", |
| "../../../ui/components/docs/*", |
| ] |
| } |