2018-10-04 16:14:14 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2019-02-08 17:01:51 -05:00
|
|
|
load("@npm_bazel_typescript//:defs.bzl", "ts_config")
|
2018-10-04 16:14:14 -04:00
|
|
|
|
2018-12-18 01:09:39 -05:00
|
|
|
exports_files([
|
|
|
|
"tsconfig.json",
|
|
|
|
"jasmine-seed-generator.js",
|
|
|
|
])
|
2018-08-02 00:02:36 -04:00
|
|
|
|
2018-10-04 16:14:14 -04:00
|
|
|
ts_config(
|
|
|
|
name = "tsconfig-test",
|
|
|
|
src = "tsconfig-test.json",
|
|
|
|
deps = ["tsconfig.json"],
|
|
|
|
)
|
|
|
|
|
2018-08-02 00:02:36 -04:00
|
|
|
# The toolchain container used for execution is defined in the target indicated
|
|
|
|
# by "extra_execution_platforms", "host_platform" and "platforms".
|
|
|
|
# If you are using your own toolchain container, you need to create a platform
|
|
|
|
# target with "constraint_values" that allow for the toolchain specified with
|
|
|
|
# "extra_toolchains" to be selected (given constraints defined in
|
|
|
|
# "exec_compatible_with").
|
|
|
|
# More about platforms: https://docs.bazel.build/versions/master/platforms.html
|
|
|
|
platform(
|
|
|
|
name = "rbe_ubuntu1604-angular",
|
|
|
|
constraint_values = [
|
|
|
|
"@bazel_tools//platforms:x86_64",
|
|
|
|
"@bazel_tools//platforms:linux",
|
|
|
|
"@bazel_tools//tools/cpp:clang",
|
|
|
|
"@bazel_toolchains//constraints:xenial",
|
|
|
|
],
|
|
|
|
# We are currently using the docker container image provided by RBE. Once
|
|
|
|
# Angular has the billing account setup, we should start using/maintaining
|
|
|
|
# our own docker container image.
|
|
|
|
remote_execution_properties = """
|
|
|
|
properties: {
|
|
|
|
name: "container-image"
|
2018-12-01 19:08:15 -05:00
|
|
|
value:"docker://gcr.io/asci-toolchain/nosla-ubuntu16_04-webtest@sha256:e874885f5e3d9ac0c0d3176e5369cb5969467dbf9ad8d42b862829cec8d84b9b"
|
2018-08-02 00:02:36 -04:00
|
|
|
}
|
|
|
|
properties: {
|
|
|
|
name: "dockerAddCapabilities"
|
|
|
|
value: "SYS_ADMIN"
|
|
|
|
}
|
|
|
|
""",
|
|
|
|
)
|