Jan Scheffler | 4a89ed3 | 2020-07-29 16:19:13 | [diff] [blame] | 1 | # Copyright 2020 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("../../scripts/build/ninja/devtools_entrypoint.gni") |
| 6 | import("../../scripts/build/ninja/devtools_module.gni") |
| 7 | |
| 8 | devtools_module("source_frame") { |
| 9 | sources = [ |
| 10 | "BinaryResourceViewFactory.js", |
| 11 | "FontView.js", |
| 12 | "ImageView.js", |
| 13 | "JSONView.js", |
| 14 | "PreviewFactory.js", |
| 15 | "ResourceSourceFrame.js", |
| 16 | "SourceCodeDiff.js", |
| 17 | "SourceFrame.js", |
| 18 | "SourcesTextEditor.js", |
| 19 | "XMLView.js", |
| 20 | ] |
| 21 | |
| 22 | deps = [ |
| 23 | "../common:bundle", |
| 24 | "../diff:bundle", |
| 25 | "../formatter:bundle", |
| 26 | "../host:bundle", |
| 27 | "../object_ui:bundle", |
| 28 | "../platform:bundle", |
| 29 | "../sdk:bundle", |
| 30 | "../text_editor:bundle", |
| 31 | "../text_utils:bundle", |
| 32 | "../ui:bundle", |
| 33 | "../workspace:bundle", |
| 34 | ] |
| 35 | } |
| 36 | |
| 37 | devtools_entrypoint("bundle") { |
| 38 | entrypoint = "source_frame.js" |
Jan Scheffler | 4a89ed3 | 2020-07-29 16:19:13 | [diff] [blame] | 39 | |
| 40 | deps = [ ":source_frame" ] |
| 41 | } |
Tim van der Lippe | c20afe7 | 2020-10-15 16:14:29 | [diff] [blame] | 42 | |
| 43 | devtools_entrypoint("legacy") { |
| 44 | entrypoint = "source_frame-legacy.js" |
| 45 | |
| 46 | deps = [ ":bundle" ] |
| 47 | } |