blob: 6990c90a6d3a7ff0d307428a76a37d94d839c683 [file] [log] [blame]
Jan Scheffler4a89ed32020-07-29 16:19:131# 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
5import("../../scripts/build/ninja/devtools_entrypoint.gni")
6import("../../scripts/build/ninja/devtools_module.gni")
7
8devtools_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
37devtools_entrypoint("bundle") {
38 entrypoint = "source_frame.js"
Jan Scheffler4a89ed32020-07-29 16:19:1339
40 deps = [ ":source_frame" ]
41}
Tim van der Lippec20afe72020-10-15 16:14:2942
43devtools_entrypoint("legacy") {
44 entrypoint = "source_frame-legacy.js"
45
46 deps = [ ":bundle" ]
47}