blob: 46ecb74e2a9ea245b9bd3b9456d196d791d7a42d [file] [log] [blame]
Sean Condon98b6ddb2019-12-24 08:07:40 +00001load("@npm_angular_bazel//:index.bzl", "ng_module")
2
3package(default_visibility = ["//:__subpackages__"])
4
5# We don't import from these, but the generated ngfactory code will
6NG_FACTORY_ADDED_IMPORTS = [
7 "@npm//@angular/animations",
8 "@npm//@angular/forms",
9]
10
11ng_module(
12 name = "gui2-topo-lib",
13 srcs = glob(
14 include = ["**/*.ts"],
15 exclude = [
16 "**/*.spec.ts",
17 "test.ts",
18 ],
19 ),
20 assets = glob([
21 "**/*.css",
22 "**/*.html",
23 ]),
24 deps = NG_FACTORY_ADDED_IMPORTS + [
25 "//web/gui2-fw-lib",
26 "@npm//@angular/core",
27 "@npm//@angular/router",
28 "@npm//@angular/platform-browser",
29 "@npm//rxjs",
30 "@npm//@types",
31 "@npm//topojson-client",
32 ],
33)