-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathBUILD
More file actions
77 lines (72 loc) · 2.55 KB
/
BUILD
File metadata and controls
77 lines (72 loc) · 2.55 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
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary")
load("//defs:defs.bzl", "xprof_ng_module")
package(default_visibility = ["//frontend:internal"])
xprof_ng_module(
name = "overview_page",
srcs = [
"overview_page_module.ts",
],
assets = [
":overview_page_css",
"overview_page.ng.html",
],
# strict_templates = False,
deps = [
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//@angular/router",
"@npm//@ngrx/store",
"@npm//@types/google.visualization",
"@npm//rxjs",
"@org_xprof//frontend/app/common/interfaces",
"@org_xprof//frontend/app/common/utils",
"@org_xprof//frontend/app/components/diagnostics_view",
"@org_xprof//frontend/app/components/overview_page/inference_latency_chart",
"@org_xprof//frontend/app/components/overview_page/normalized_accelerator_performance_view",
"@org_xprof//frontend/app/components/overview_page/performance_summary",
"@org_xprof//frontend/app/components/overview_page/run_environment_view",
"@org_xprof//frontend/app/components/overview_page/step_time_graph",
"@org_xprof//frontend/app/components/smart_suggestion",
"@org_xprof//frontend/app/services/data_service_v2:data_service_v2_interface",
"@org_xprof//frontend/app/store",
],
)
sass_binary(
name = "overview_page_css",
src = "overview_page.scss",
# stack = False,
sourcemap = False,
deps = [
"@org_xprof//frontend/app/styles:common",
],
)
filegroup(
name = "scuba_goldens",
srcs = glob(["scuba_goldens/**/*.png"]),
)
xprof_ng_module(
name = "screenshot_tests",
testonly = True,
srcs = [
"overview_page_screenshot_test.ts",
],
tags = ["requires-net:external"],
deps = [
":overview_page",
"//javascript/angular2/testing/catalyst/async",
# ksf,
"@npm//@angular/core",
"@org_xprof//frontend/app/common/angular:angular_platform-browser_animation",
"@npm//@angular/router",
"@npm//rxjs",
"@npm//safevalues",
"//third_party/javascript/safevalues/dom",
"//third_party/javascript/typings/jasmine",
"@org_xprof//frontend/app/common/constants:testing",
"@org_xprof//frontend/app/common/interfaces",
"@org_xprof//frontend/app/common/utils:testing",
"@org_xprof//frontend/app/components/smart_suggestion",
"@org_xprof//frontend/app/services/data_service_v2:data_service_v2_interface",
"@org_xprof//frontend/app/store",
],
)