build(upgrade): use correct sources in `BUILD.bazel` (#24937)

PR Close #24937
This commit is contained in:
George Kalpakas 2018-07-18 18:49:22 +03:00 committed by Kara Erickson
parent 16c03c0f38
commit 07ab98bbb0
2 changed files with 11 additions and 4 deletions

View File

@ -7,7 +7,8 @@ ng_module(
srcs = glob(
[
"*.ts",
"src/**/*.ts",
"src/common/**/*.ts",
"src/dynamic/**/*.ts",
],
),
module_name = "@angular/upgrade",

View File

@ -6,9 +6,15 @@ load("//tools:defaults.bzl", "ng_module")
ng_module(
name = "static",
# Workaround for Bazel issue where Windows symlinks
# aka. junctions are not traversed by glob
srcs = glob(["*.ts"]) + glob(["src/**/*.ts"]),
# Note: There is Bazel issue where Windows symlinks
# aka. junctions are not traversed by glob.
srcs = glob(
[
"*.ts",
"src/common/**/*.ts",
"src/static/**/*.ts",
],
),
module_name = "@angular/upgrade/static",
deps = [
"//packages/core",