2018-03-07 14:26:11 -05:00
|
|
|
load("//tools:defaults.bzl", "ng_module", "ng_package")
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2019-01-16 04:19:01 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-02-02 12:18:44 -05:00
|
|
|
ng_module(
|
2017-12-06 09:56:49 -05:00
|
|
|
name = "platform-server",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages/animations/browser",
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/common/http",
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
|
|
|
"//packages/platform-browser/animations",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//@types/node",
|
|
|
|
"@npm//rxjs",
|
|
|
|
"@npm//zone.js",
|
2017-12-06 09:56:49 -05: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/platform-server/testing:package.json",
|
|
|
|
],
|
2018-03-07 14:26:11 -05:00
|
|
|
entry_point = "packages/platform-server/index.js",
|
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.
|
2019-01-22 12:46:51 -05:00
|
|
|
visibility = [
|
|
|
|
"//packages/compiler-cli/integrationtest:__pkg__",
|
|
|
|
],
|
2018-03-07 14:26:11 -05:00
|
|
|
deps = [
|
|
|
|
":platform-server",
|
|
|
|
"//packages/platform-server/testing",
|
|
|
|
],
|
|
|
|
)
|