2017-12-06 09:56:49 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-02-13 14:26:06 -05:00
|
|
|
load("//tools:defaults.bzl", "ng_module", "ng_package")
|
2017-06-02 12:43:52 -04:00
|
|
|
|
2018-02-02 12:18:44 -05:00
|
|
|
ng_module(
|
2017-06-02 12:43:52 -04:00
|
|
|
name = "common",
|
2017-12-06 09:56:49 -05:00
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
2017-06-02 12:43:52 -04:00
|
|
|
module_name = "@angular/common",
|
2017-12-06 09:56:49 -05:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"@rxjs",
|
|
|
|
],
|
2017-06-02 12:43:52 -04:00
|
|
|
)
|
2018-02-13 14:26:06 -05:00
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
2018-03-07 14:26:11 -05:00
|
|
|
srcs = ["package.json"],
|
2018-02-13 14:26:06 -05:00
|
|
|
entry_point = "packages/common/index.js",
|
|
|
|
secondary_entry_points = [
|
|
|
|
"testing",
|
|
|
|
"http",
|
|
|
|
"http/testing",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/common/http",
|
|
|
|
"//packages/common/http/testing",
|
|
|
|
"//packages/common/testing",
|
|
|
|
],
|
|
|
|
)
|