Davide Scano | 555617a | 2020-06-03 21:47:13 +0200 | [diff] [blame] | 1 | """ |
| 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 Condon | 436c60a | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 17 | load("@npm//@bazel/typescript:index.bzl", "ts_library") |
| 18 | |
Davide Scano | 555617a | 2020-06-03 21:47:13 +0200 | [diff] [blame] | 19 | package(default_visibility = ["//:__subpackages__"]) |
| 20 | |
Sean Condon | 436c60a | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 21 | ts_library( |
Davide Scano | 555617a | 2020-06-03 21:47:13 +0200 | [diff] [blame] | 22 | name = "intapp-gui2-lib", |
| 23 | srcs = glob( |
| 24 | include = [ |
| 25 | "**/*.ts", |
| 26 | ], |
| 27 | exclude = [ |
| 28 | "**/*.spec.ts", |
| 29 | ], |
| 30 | ), |
Sean Condon | 436c60a | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 31 | angular_assets = [ |
| 32 | "//web/gui2-fw-lib:extra_css", |
| 33 | ] + glob([ |
Davide Scano | 555617a | 2020-06-03 21:47:13 +0200 | [diff] [blame] | 34 | "**/*.css", |
| 35 | "**/*.html", |
| 36 | ]), |
| 37 | tsconfig = "//web/gui2:tsconfig.json", |
Sean Condon | 436c60a | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 38 | use_angular_plugin = True, |
Davide Scano | 555617a | 2020-06-03 21:47:13 +0200 | [diff] [blame] | 39 | deps = [ |
| 40 | "//web/gui2-fw-lib", |
| 41 | "@npm//@angular/animations", |
Sean Condon | 436c60a | 2021-01-01 14:23:29 +0000 | [diff] [blame] | 42 | "@npm//@angular/common", |
Davide Scano | 555617a | 2020-06-03 21:47:13 +0200 | [diff] [blame] | 43 | "@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 | ) |