| # 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("changes") { |
| sources = [ |
| "ChangesHighlighter.ts", |
| "ChangesSidebar.ts", |
| "ChangesTextEditor.ts", |
| "ChangesView.ts", |
| "ModuleUIStrings.ts", |
| ] |
| |
| deps = [ |
| "../common:bundle", |
| "../diff:bundle", |
| "../i18n:bundle", |
| "../snippets:bundle", |
| "../text_editor:bundle", |
| "../ui:bundle", |
| "../workspace:bundle", |
| "../workspace_diff:bundle", |
| ] |
| } |
| |
| devtools_entrypoint("bundle") { |
| entrypoint = "changes.ts" |
| |
| deps = [ ":changes" ] |
| } |
| |
| devtools_entrypoint("legacy") { |
| entrypoint = "changes-legacy.ts" |
| |
| deps = [ ":bundle" ] |
| } |
| |
| devtools_entrypoint("meta") { |
| entrypoint = "changes-meta.ts" |
| |
| deps = [ ":bundle" ] |
| } |