mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d37f5085e4
Migrates the symbol-extractor code to `ts_project`. PR Close #61209
51 lines
1.1 KiB
Python
51 lines
1.1 KiB
Python
load("@aspect_rules_ts//ts:defs.bzl", rules_js_tsconfig = "ts_config")
|
|
load("//tools:defaults.bzl", "ts_config")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files([
|
|
"tsconfig.json",
|
|
"postinstall-patches.js",
|
|
])
|
|
|
|
ts_config(
|
|
name = "tsconfig-test",
|
|
src = "tsconfig-test.json",
|
|
deps = ["tsconfig.json"],
|
|
)
|
|
|
|
rules_js_tsconfig(
|
|
name = "tsconfig_build",
|
|
src = "tsconfig.json",
|
|
deps = ["//:node_modules/@types/node"],
|
|
)
|
|
|
|
rules_js_tsconfig(
|
|
name = "tsconfig_test",
|
|
src = "tsconfig-test.json",
|
|
deps = [
|
|
":tsconfig_build",
|
|
"//:node_modules/@types/jasmine",
|
|
],
|
|
)
|
|
|
|
platform(
|
|
name = "rbe_ubuntu1604-angular",
|
|
parents = ["@rbe_ubuntu1604_angular//config:platform"],
|
|
remote_execution_properties = """
|
|
{PARENT_REMOTE_EXECUTION_PROPERTIES}
|
|
properties: {
|
|
name: "dockerAddCapabilities"
|
|
value: "SYS_ADMIN"
|
|
}
|
|
properties: {
|
|
name: "dockerNetwork"
|
|
value: "standard"
|
|
}
|
|
properties: {
|
|
name: "Pool"
|
|
value: "default"
|
|
}
|
|
""",
|
|
)
|