blob: b489b624603004b1b88af9a41144ef53cea59f98 [file] [log] [blame]
Sean Condon98b6ddb2019-12-24 08:07:40 +00001"""
2 Copyright 2020-present Open Networking Foundation
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15"""
16
Sean Condon0bd777c2021-01-01 14:23:29 +000017load("@npm//@bazel/typescript:index.bzl", "ts_library")
18
Sean Condon98b6ddb2019-12-24 08:07:40 +000019package(default_visibility = ["//:__subpackages__"])
20
Sean Condon0bd777c2021-01-01 14:23:29 +000021ts_library(
Sean Condon98b6ddb2019-12-24 08:07:40 +000022 name = "roadm-gui",
23 srcs = glob(
24 include = [
25 "**/*.ts",
26 ],
27 exclude = [
28 "**/*.spec.ts",
29 ],
30 ),
Sean Condon0bd777c2021-01-01 14:23:29 +000031 angular_assets = [
32 "//web/gui2-fw-lib:extra_css",
33 ] + glob([
Sean Condon98b6ddb2019-12-24 08:07:40 +000034 "**/*.css",
35 "**/*.html",
36 ]),
Sean Condona3ad7792020-01-04 19:26:34 +000037 tsconfig = "//web/gui2:tsconfig.json",
Sean Condon0bd777c2021-01-01 14:23:29 +000038 use_angular_plugin = True,
Sean Condon98b6ddb2019-12-24 08:07:40 +000039 deps = [
40 "//web/gui2-fw-lib",
41 "@npm//@angular/animations",
Sean Condon0bd777c2021-01-01 14:23:29 +000042 "@npm//@angular/common",
Sean Condon98b6ddb2019-12-24 08:07:40 +000043 "@npm//@angular/core",
44 "@npm//@angular/forms",
45 "@npm//@angular/platform-browser-dynamic",
46 "@npm//@angular/router",
47 "@npm//@types",
48 "@npm//rxjs",
49 ],
50)