| # 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 = [ "recorderController.css" ] |
| } |
| |
| devtools_module("recorder") { |
| sources = [ |
| "RecorderController.ts", |
| "RecorderEvents.ts", |
| "RecorderPanel.ts", |
| ] |
| |
| deps = [ |
| ":actions", |
| "../../core/common:bundle", |
| "../../core/platform:bundle", |
| "../../models/extensions:bundle", |
| "../../panels/emulation:bundle", |
| "../../panels/timeline:bundle", |
| "../../ui/components/icon_button:bundle", |
| "../../services/tracing:bundle", |
| "../../third_party/puppeteer-replay:bundle", |
| "../../ui/components/dialogs:bundle", |
| "../../ui/components/menus:bundle", |
| "./components:bundle", |
| "./controllers:bundle", |
| "./converters:bundle", |
| "./extensions:bundle", |
| "./models:bundle", |
| ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "recorder.ts" |
| |
| deps = [ |
| ":css_files", |
| ":recorder", |
| ] |
| |
| visibility = [ |
| ":*", |
| "../../../test/e2e/recorder:*", |
| "../../../test/unittests/front_end/models/recorder/*", |
| "../../../test/unittests/front_end/panels/recorder/*", |
| "../../entrypoints/main/*", |
| "../../panels/sources/*", |
| ] |
| } |
| |
| devtools_entrypoint("meta") { |
| entrypoint = "recorder-meta.ts" |
| |
| deps = [ |
| ":actions", |
| ":bundle", |
| "../../core/common:bundle", |
| "../../core/host:bundle", |
| "../../core/i18n:bundle", |
| "../../core/sdk:bundle", |
| "../../models/bindings:bundle", |
| "../../ui/components/buttons:bundle", |
| "../../ui/legacy:bundle", |
| ] |
| |
| visibility = [ |
| "../..:*", |
| "../../entrypoints/devtools_app:*", |
| "../../entrypoints/inspector:*", |
| ] |
| } |
| |
| devtools_entrypoint("actions") { |
| entrypoint = "recorder-actions.ts" |
| |
| deps = [] |
| |
| visibility = [ |
| ":*", |
| "./components:*", |
| ] |
| } |