2017-12-06 09:56:49 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-13 14:00:53 -04:00
|
|
|
load("//tools:defaults.bzl", "npm_package")
|
2018-06-04 13:45:27 -04:00
|
|
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_config", "ts_library")
|
2017-09-25 15:40:22 -04:00
|
|
|
|
|
|
|
ts_config(
|
|
|
|
name = "tsconfig",
|
|
|
|
src = "tsconfig-build.json",
|
2017-12-06 09:56:49 -05:00
|
|
|
deps = ["//packages:tsconfig-build.json"],
|
2017-09-25 15:40:22 -04:00
|
|
|
)
|
2017-07-21 17:20:34 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "compiler-cli",
|
2017-12-06 09:56:49 -05:00
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
2017-12-18 00:36:21 -05:00
|
|
|
exclude = [
|
|
|
|
"src/integrationtest/**/*.ts",
|
|
|
|
],
|
2017-12-06 09:56:49 -05:00
|
|
|
),
|
2017-07-21 17:20:34 -04:00
|
|
|
module_name = "@angular/compiler-cli",
|
2018-06-25 14:22:23 -04:00
|
|
|
node_modules = "@angular_deps//:node_modules",
|
2017-12-06 09:56:49 -05:00
|
|
|
tsconfig = ":tsconfig",
|
2017-07-21 17:20:34 -04:00
|
|
|
deps = [
|
2017-12-06 09:56:49 -05:00
|
|
|
"//packages/compiler",
|
2018-05-31 18:50:02 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/annotations",
|
2018-06-13 13:33:04 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/metadata",
|
2018-04-06 12:53:10 -04:00
|
|
|
"//packages/compiler-cli/src/ngtsc/transform",
|
2017-07-21 17:20:34 -04:00
|
|
|
],
|
|
|
|
)
|
2018-03-13 14:00:53 -04:00
|
|
|
|
|
|
|
npm_package(
|
|
|
|
name = "npm_package",
|
|
|
|
srcs = [
|
|
|
|
"package.json",
|
|
|
|
],
|
2018-06-05 14:38:46 -04:00
|
|
|
tags = [
|
|
|
|
"ivy-jit",
|
2018-06-29 17:34:26 -04:00
|
|
|
"ivy-local",
|
2018-06-05 14:38:46 -04:00
|
|
|
"release-with-framework",
|
|
|
|
],
|
2018-03-13 14:00:53 -04:00
|
|
|
deps = [":compiler-cli"],
|
|
|
|
)
|