2017-12-06 09:56:49 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-07 12:56:07 -05:00
|
|
|
load("//tools:defaults.bzl", "ng_module", "ng_package")
|
2017-12-06 09:56:49 -05:00
|
|
|
|
2018-02-13 11:19:33 -05:00
|
|
|
ng_module(
|
2017-12-06 09:56:49 -05:00
|
|
|
name = "router",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
module_name = "@angular/router",
|
|
|
|
deps = [
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"@rxjs",
|
2017-11-07 12:21:48 -05:00
|
|
|
"@rxjs//operators",
|
2017-12-06 09:56:49 -05:00
|
|
|
],
|
|
|
|
)
|
2018-03-07 12:56:07 -05:00
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
2018-03-13 14:00:53 -04:00
|
|
|
srcs = [
|
|
|
|
"package.json",
|
|
|
|
"//packages/router/testing:package.json",
|
|
|
|
"//packages/router/upgrade:package.json",
|
|
|
|
],
|
2018-03-07 12:56:07 -05:00
|
|
|
entry_point = "packages/router/index.js",
|
2018-06-05 14:38:46 -04:00
|
|
|
tags = [
|
|
|
|
"ivy-jit",
|
2018-07-06 12:31:46 -04:00
|
|
|
"ivy-local",
|
2018-06-05 14:38:46 -04:00
|
|
|
"release-with-framework",
|
|
|
|
],
|
2018-03-07 12:56:07 -05:00
|
|
|
deps = [
|
|
|
|
":router",
|
|
|
|
"//packages/router/testing",
|
|
|
|
"//packages/router/upgrade",
|
|
|
|
],
|
|
|
|
)
|