| # 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("main") { |
| sources = [ |
| "ExecutionContextSelector.ts", |
| "MainImpl.ts", |
| "SimpleApp.ts", |
| ] |
| |
| deps = [ |
| "../components:bundle", |
| "../core/common:bundle", |
| "../core/host:bundle", |
| "../core/i18n:bundle", |
| "../core/platform:bundle", |
| "../core/protocol_client:bundle", |
| "../core/sdk:bundle", |
| "../models/bindings:bundle", |
| "../models/extensions:bundle", |
| "../models/issues_manager:bundle", |
| "../models/logs:bundle", |
| "../models/persistence:bundle", |
| "../models/recorder:bundle", |
| "../models/workspace:bundle", |
| "../panels/snippets:bundle", |
| "../timeline:bundle", |
| "../ui/legacy:bundle", |
| "../ui/legacy/theme_support:bundle", |
| ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "main.ts" |
| |
| deps = [ ":main" ] |
| } |
| |
| devtools_entrypoint("legacy") { |
| entrypoint = "main-legacy.ts" |
| |
| deps = [ ":bundle" ] |
| } |
| |
| devtools_entrypoint("meta") { |
| entrypoint = "main-meta.ts" |
| |
| deps = [ |
| ":bundle", |
| "../inspector_main:bundle", |
| ] |
| } |