| # 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("object_ui") { |
| sources = [ |
| "CustomPreviewComponent.ts", |
| "JavaScriptAutocomplete.ts", |
| "JavaScriptREPL.ts", |
| "ObjectPopoverHelper.ts", |
| "ObjectPropertiesSection.ts", |
| "RemoteObjectPreviewFormatter.ts", |
| ] |
| |
| deps = [ |
| "../components:bundle", |
| "../core/common:bundle", |
| "../core/host:bundle", |
| "../core/i18n:bundle", |
| "../core/platform:bundle", |
| "../core/sdk:bundle", |
| "../formatter:bundle", |
| "../javascript_metadata:bundle", |
| "../linear_memory_inspector:bundle", |
| "../text_utils:bundle", |
| "../ui/components:bundle", |
| "../ui/legacy:bundle", |
| ] |
| } |
| |
| copy_to_gen("legacy_css") { |
| sources = [ |
| "customPreviewComponent.css", |
| "objectPopover.css", |
| "objectPropertiesSection.css", |
| "objectValue.css", |
| ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "object_ui.ts" |
| |
| deps = [ ":object_ui" ] |
| } |
| |
| devtools_entrypoint("legacy") { |
| entrypoint = "object_ui-legacy.ts" |
| |
| deps = [ ":bundle" ] |
| } |
| |
| devtools_entrypoint("meta") { |
| entrypoint = "object_ui-meta.ts" |
| |
| deps = [ ":bundle" ] |
| } |