2017-12-06 09:56:49 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-06-04 13:45:27 -04:00
|
|
|
load("//tools:defaults.bzl", "ng_package", "ts_library")
|
2017-07-21 17:20:34 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "compiler",
|
2017-12-06 09:56:49 -05:00
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
2017-07-21 17:20:34 -04:00
|
|
|
)
|
2018-03-07 14:26:11 -05:00
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
2018-03-13 14:00:53 -04:00
|
|
|
srcs = [
|
|
|
|
"package.json",
|
|
|
|
"//packages/compiler/testing:package.json",
|
|
|
|
],
|
2018-03-07 14:26:11 -05:00
|
|
|
entry_point = "packages/compiler/compiler.js",
|
2018-03-13 14:00:53 -04:00
|
|
|
include_devmode_srcs = True,
|
2018-06-05 14:38:46 -04:00
|
|
|
tags = [
|
|
|
|
"release-with-framework",
|
|
|
|
],
|
2018-12-11 19:53:42 -05:00
|
|
|
# Do not add more to this list.
|
|
|
|
# Dependencies on the full npm_package cause long re-builds.
|
|
|
|
visibility = [
|
|
|
|
"//packages/language-service/test:__pkg__",
|
|
|
|
],
|
2018-03-07 14:26:11 -05:00
|
|
|
deps = [
|
|
|
|
":compiler",
|
|
|
|
"//packages/compiler/testing",
|
|
|
|
],
|
|
|
|
)
|