2017-12-06 09:56:49 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-07 14:26:11 -05:00
|
|
|
load("//tools:defaults.bzl", "ts_library", "ng_package")
|
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
|
|
|
module_name = "@angular/compiler",
|
|
|
|
)
|
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-03-30 16:48:47 -04:00
|
|
|
tags = ["release-with-framework"],
|
2018-03-07 14:26:11 -05:00
|
|
|
deps = [
|
|
|
|
":compiler",
|
|
|
|
"//packages/compiler/testing",
|
|
|
|
],
|
|
|
|
)
|