forked from react/react-native-devtools-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.gn
More file actions
94 lines (80 loc) · 2.01 KB
/
Copy pathBUILD.gn
File metadata and controls
94 lines (80 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# 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")
import("../../../scripts/build/ninja/generate_css.gni")
import("../../../scripts/build/typescript/typescript.gni")
import("../visibility.gni")
generate_css("css_files") {
sources = [
"nodeIcon.css",
"outermostTargetSelector.css",
"renderingOptions.css",
]
}
devtools_module("inspector_main") {
sources = [
"InspectorMain.ts",
"OutermostTargetSelector.ts",
"RenderingOptions.ts",
]
deps = [
"../../core/common:bundle",
"../../core/host:bundle",
"../../core/i18n:bundle",
"../../core/root:bundle",
"../../core/sdk:bundle",
"../../generated:protocol",
"../../panels/mobile_throttling:bundle",
"../../panels/security:bundle",
"../../ui/components/icon_button:bundle",
"../../ui/legacy:bundle",
"../../ui/legacy/components/utils:bundle",
]
}
devtools_entrypoint("bundle") {
entrypoint = "inspector_main.ts"
deps = [
":css_files",
":inspector_main",
]
visibility = [
":*",
"../../testing/*",
"../main/*",
]
visibility += devtools_entrypoints_visibility
}
devtools_entrypoint("meta") {
entrypoint = "inspector_main-meta.ts"
deps = [
":bundle",
"../../core/common:bundle",
"../../core/i18n:bundle",
"../../core/root:bundle",
"../../ui/legacy:bundle",
]
visibility = [
"../../testing/*",
"../devtools_app/*",
"../rehydrated_devtools_app/*",
"../rn_fusebox:*",
]
}
ts_library("unittests") {
testonly = true
sources = [
"InspectorMain.test.ts",
"OutermostTargetSelector.test.ts",
]
deps = [
":bundle",
"../../core/common:bundle",
"../../core/protocol_client:bundle",
"../../core/sdk:bundle",
"../../generated:protocol",
"../../testing",
"../../ui/legacy:bundle",
]
}