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
95
96
97
98
99
100
101
102
103
104
|
package(default_visibility = ["//tensorflow:internal"])
load("@io_bazel_rules_closure//closure:defs.bzl", "webfiles")
licenses(["notice"]) # Apache 2.0
webfiles(
name = "d3",
srcs = [
"d3.html",
"@org_d3js_v4",
],
path = "/tf-imports-d3v4",
)
webfiles(
name = "lodash",
srcs = ["lodash.html"],
path = "/tf-imports-d3v4",
deps = ["@com_lodash"],
)
webfiles(
name = "threejs",
srcs = [
"threejs.html",
"@org_threejs//:OrbitControls.js",
"@org_threejs//:three.js",
],
path = "/tf-imports",
)
webfiles(
name = "numericjs",
srcs = [
"numericjs.html",
"@com_numericjs",
],
path = "/tf-imports",
)
webfiles(
name = "weblas",
srcs = [
"weblas.html",
"@io_github_waylonflinn_weblas",
],
path = "/tf-imports",
)
webfiles(
name = "graphlib",
srcs = [
"graphlib.html",
"@io_github_cpettitt_graphlib",
],
path = "/tf-imports-d3v4",
deps = [":lodash"],
)
webfiles(
name = "dagre",
srcs = [
"dagre.html",
"@io_github_cpettitt_dagre",
],
path = "/tf-imports-d3v4",
deps = [
":graphlib",
":lodash",
],
)
webfiles(
name = "plottable",
srcs = [
"plottable.html",
# TODO(jart): Replace when Plottable v3 is fixed.
"plottable.js",
"plottable.css",
# "//third_party/javascript/plottable/v3:plottable.css",
# "//third_party/javascript/plottable/v3:plottable.js",
],
path = "/tf-imports-d3v4",
deps = [":d3"],
)
genrule(
name = "TEMPORARY_fake_plottable_css",
outs = ["plottable.css"],
cmd = "echo >$@",
)
genrule(
name = "TEMPORARY_fake_plottable_js",
outs = ["plottable.js"],
cmd = "echo >$@",
)
filegroup(
name = "all_files",
srcs = glob(["**"]),
tags = ["notsan"],
)
|