blob: 2c394de1258eae76808789a20125fc4fd4f4c9c3 [file] [log] [blame]
Philipp Schrader80587432022-03-05 15:41:22 -08001load("@npm//@bazel/typescript:index.bzl", "ts_library")
2
3ts_library(
4 name = "entry",
Philipp Schrader72beced2022-03-07 05:29:52 -08005 srcs = [
6 "entry.component.ts",
7 "entry.module.ts",
8 ],
9 angular_assets = [
10 "entry.component.css",
11 "entry.ng.html",
12 "//scouting/www:common_css",
13 ],
Philipp Schrader80587432022-03-05 15:41:22 -080014 compiler = "//tools:tsc_wrapped_with_angular",
15 target_compatible_with = ["@platforms//cpu:x86_64"],
16 use_angular_plugin = True,
17 visibility = ["//visibility:public"],
18 deps = [
Philipp Schrader8b8ed672022-03-05 18:08:50 -080019 "//scouting/webserver/requests/messages:error_response_ts_fbs",
20 "//scouting/webserver/requests/messages:submit_data_scouting_response_ts_fbs",
21 "//scouting/webserver/requests/messages:submit_data_scouting_ts_fbs",
22 "@com_github_google_flatbuffers//ts:flatbuffers_ts",
Philipp Schrader80587432022-03-05 15:41:22 -080023 "@npm//@angular/common",
24 "@npm//@angular/core",
Philipp Schrader93ade042022-03-05 17:16:10 -080025 "@npm//@angular/forms",
Philipp Schrader80587432022-03-05 15:41:22 -080026 ],
27)