blob: dd62c0897b0330bb373e106161b9cca31384edb3 [file] [log] [blame]
Davide Scano555617a2020-06-03 21:47:13 +02001"""
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 Condon436c60a2021-01-01 14:23:29 +000017load("@npm//@bazel/typescript:index.bzl", "ts_library")
18
Davide Scano555617a2020-06-03 21:47:13 +020019package(default_visibility = ["//:__subpackages__"])
20
Sean Condon436c60a2021-01-01 14:23:29 +000021ts_library(
Davide Scano555617a2020-06-03 21:47:13 +020022 name = "intapp-gui2-lib",
23 srcs = glob(
24 include = [
25 "**/*.ts",
26 ],
27 exclude = [
28 "**/*.spec.ts",
29 ],
30 ),
Sean Condon436c60a2021-01-01 14:23:29 +000031 angular_assets = [
32 "//web/gui2-fw-lib:extra_css",
33 ] + glob([
Davide Scano555617a2020-06-03 21:47:13 +020034 "**/*.css",
35 "**/*.html",
36 ]),
37 tsconfig = "//web/gui2:tsconfig.json",
Sean Condon436c60a2021-01-01 14:23:29 +000038 use_angular_plugin = True,
Davide Scano555617a2020-06-03 21:47:13 +020039 deps = [
40 "//web/gui2-fw-lib",
41 "@npm//@angular/animations",
Sean Condon436c60a2021-01-01 14:23:29 +000042 "@npm//@angular/common",
Davide Scano555617a2020-06-03 21:47:13 +020043 "@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)