2020-09-22 10:42:33 -04:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "prelink_bootstrap",
|
|
|
|
testonly = True,
|
|
|
|
srcs = ["bootstrap.ts"],
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
2020-10-30 18:04:09 -04:00
|
|
|
"//packages/compiler-cli/linker/babel",
|
2020-11-11 10:29:42 -05:00
|
|
|
"//packages/compiler-cli/test/compliance_old/mock_compile",
|
2020-10-30 18:04:09 -04:00
|
|
|
"@npm//@babel/core",
|
|
|
|
"@npm//@babel/generator",
|
|
|
|
"@npm//@babel/template",
|
|
|
|
"@npm//@babel/types",
|
|
|
|
"@npm//@types/babel__core",
|
|
|
|
"@npm//@types/babel__generator",
|
|
|
|
"@npm//@types/babel__template",
|
2020-11-16 12:12:31 -05:00
|
|
|
"@npm//typescript",
|
2020-09-22 10:42:33 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "prelink",
|
|
|
|
bootstrap = [
|
|
|
|
"//tools/testing:node_no_angular_es5",
|
|
|
|
":prelink_bootstrap_es5",
|
|
|
|
],
|
|
|
|
data = [
|
2020-11-04 15:27:19 -05:00
|
|
|
"//packages/compiler-cli/src/ngtsc/testing/fake_core:npm_package",
|
2020-09-22 10:42:33 -04:00
|
|
|
],
|
|
|
|
shard_count = 4,
|
|
|
|
tags = [
|
|
|
|
"ivy-only",
|
|
|
|
],
|
|
|
|
deps = [
|
2020-11-11 10:29:42 -05:00
|
|
|
"//packages/compiler-cli/test/compliance_old:test_lib",
|
2020-09-22 10:42:33 -04:00
|
|
|
],
|
|
|
|
)
|