Skip to content

Commit f93f15d

Browse files
committed
build: consistent bazel target naming for entry points
1 parent c89b1e7 commit f93f15d

File tree

82 files changed

+245
-251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+245
-251
lines changed

scripts/circleci/run-saucelabs-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ yarn bazel test ${TEST_TARGETS} \
2222
--workspace_status_command="echo SAUCE_TUNNEL_IDENTIFIER ${SAUCE_TUNNEL_IDENTIFIER}" \
2323
--stamp \
2424
--test_env=SAUCE_USERNAME \
25-
--test_env=SAUCE_ACCESS_KEY
25+
--test_env=SAUCE_ACCESS_KEY \
26+
--jobs=3
2627

2728
# Kill the Saucelabs tunnel. This is necessary in order to avoid rate-limit
2829
# errors that cause the unit tests to be flaky.

src/cdk-experimental/dialog/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sass_binary(
2828
)
2929

3030
ng_test_library(
31-
name = "unit_test_sources",
31+
name = "unit_tests_lib",
3232
srcs = glob(
3333
["**/*.spec.ts"],
3434
exclude = ["**/*.e2e.spec.ts"],
@@ -46,5 +46,5 @@ ng_test_library(
4646

4747
ng_web_test_suite(
4848
name = "unit_tests",
49-
deps = [":unit_test_sources"],
49+
deps = [":unit_tests_lib"],
5050
)

src/cdk-experimental/popover-edit/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ng_module(
2424
)
2525

2626
ng_test_library(
27-
name = "unit_test_sources",
27+
name = "unit_tests_lib",
2828
srcs = glob(
2929
["**/*.spec.ts"],
3030
exclude = ["**/*.e2e.spec.ts"],
@@ -45,5 +45,5 @@ ng_test_library(
4545

4646
ng_web_test_suite(
4747
name = "unit_tests",
48-
deps = [":unit_test_sources"],
48+
deps = [":unit_tests_lib"],
4949
)

src/cdk-experimental/scrolling/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ng_module(
2020
)
2121

2222
ng_test_library(
23-
name = "unit_test_sources",
23+
name = "unit_tests_lib",
2424
srcs = glob(
2525
["**/*.spec.ts"],
2626
exclude = ["**/*.e2e.spec.ts"],
@@ -33,11 +33,11 @@ ng_test_library(
3333

3434
ng_web_test_suite(
3535
name = "unit_tests",
36-
deps = [":unit_test_sources"],
36+
deps = [":unit_tests_lib"],
3737
)
3838

3939
ng_e2e_test_library(
40-
name = "e2e_test_sources",
40+
name = "e2e_tests_lib",
4141
srcs = glob(["**/*.e2e.spec.ts"]),
4242
deps = [
4343
"//src/cdk/testing/private/e2e",
@@ -47,7 +47,7 @@ ng_e2e_test_library(
4747
e2e_test_suite(
4848
name = "e2e_tests",
4949
deps = [
50-
":e2e_test_sources",
50+
":e2e_tests_lib",
5151
"//src/cdk/testing/private/e2e",
5252
],
5353
)

src/cdk/a11y/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ sass_binary(
3939
)
4040

4141
ng_test_library(
42-
name = "unit_test_sources",
42+
name = "unit_tests_lib",
4343
srcs = glob(
4444
["**/*.spec.ts"],
4545
exclude = ["**/*.e2e.spec.ts"],
@@ -57,7 +57,7 @@ ng_test_library(
5757

5858
ng_web_test_suite(
5959
name = "unit_tests",
60-
deps = [":unit_test_sources"],
60+
deps = [":unit_tests_lib"],
6161
)
6262

6363
markdown_to_html(

src/cdk/accordion/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ng_module(
2424
)
2525

2626
ng_test_library(
27-
name = "unit_test_sources",
27+
name = "unit_tests_lib",
2828
srcs = glob(
2929
["**/*.spec.ts"],
3030
exclude = ["**/*.e2e.spec.ts"],
@@ -37,7 +37,7 @@ ng_test_library(
3737

3838
ng_web_test_suite(
3939
name = "unit_tests",
40-
deps = [":unit_test_sources"],
40+
deps = [":unit_tests_lib"],
4141
)
4242

4343
markdown_to_html(

src/cdk/bidi/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ng_module(
2222
)
2323

2424
ng_test_library(
25-
name = "unit_test_sources",
25+
name = "unit_tests_lib",
2626
srcs = glob(
2727
["**/*.spec.ts"],
2828
exclude = ["**/*.e2e.spec.ts"],
@@ -35,7 +35,7 @@ ng_test_library(
3535

3636
ng_web_test_suite(
3737
name = "unit_tests",
38-
deps = [":unit_test_sources"],
38+
deps = [":unit_tests_lib"],
3939
)
4040

4141
markdown_to_html(

src/cdk/clipboard/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ng_module(
1717
)
1818

1919
ng_test_library(
20-
name = "unit_test_sources",
20+
name = "unit_tests_lib",
2121
srcs = glob(
2222
["**/*.spec.ts"],
2323
exclude = ["**/*.e2e.spec.ts"],
@@ -32,7 +32,7 @@ ng_test_library(
3232

3333
ng_web_test_suite(
3434
name = "unit_tests",
35-
deps = [":unit_test_sources"],
35+
deps = [":unit_tests_lib"],
3636
)
3737

3838
markdown_to_html(

src/cdk/coercion/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ts_library(
1515
)
1616

1717
ts_library(
18-
name = "unit_test_sources",
18+
name = "unit_tests_lib",
1919
testonly = 1,
2020
srcs = glob(
2121
["**/*.spec.ts"],
@@ -30,7 +30,7 @@ ts_library(
3030

3131
karma_web_test_suite(
3232
name = "unit_tests",
33-
deps = [":unit_test_sources"],
33+
deps = [":unit_tests_lib"],
3434
)
3535

3636
markdown_to_html(

src/cdk/collections/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ng_module(
2222
)
2323

2424
ng_test_library(
25-
name = "unit_test_sources",
25+
name = "unit_tests_lib",
2626
srcs = glob(
2727
["**/*.spec.ts"],
2828
exclude = ["**/*.e2e.spec.ts"],
@@ -34,7 +34,7 @@ ng_test_library(
3434

3535
ng_web_test_suite(
3636
name = "unit_tests",
37-
deps = [":unit_test_sources"],
37+
deps = [":unit_tests_lib"],
3838
)
3939

4040
markdown_to_html(

src/cdk/drag-drop/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ng_module(
2727
)
2828

2929
ng_test_library(
30-
name = "unit_test_sources",
30+
name = "unit_tests_lib",
3131
srcs = glob(
3232
["**/*.spec.ts"],
3333
exclude = ["**/*.e2e.spec.ts"],
@@ -45,7 +45,7 @@ ng_test_library(
4545

4646
ng_web_test_suite(
4747
name = "unit_tests",
48-
deps = [":unit_test_sources"],
48+
deps = [":unit_tests_lib"],
4949
)
5050

5151
markdown_to_html(

src/cdk/keycodes/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ng_module(
1616
)
1717

1818
ts_library(
19-
name = "unit_test_sources",
19+
name = "unit_tests_lib",
2020
testonly = 1,
2121
srcs = glob(
2222
["**/*.spec.ts"],
@@ -31,7 +31,7 @@ ts_library(
3131

3232
karma_web_test_suite(
3333
name = "unit_tests",
34-
deps = [":unit_test_sources"],
34+
deps = [":unit_tests_lib"],
3535
)
3636

3737
markdown_to_html(

src/cdk/layout/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ng_module(
2424
)
2525

2626
ng_test_library(
27-
name = "unit_test_sources",
27+
name = "unit_tests_lib",
2828
srcs = glob(
2929
["**/*.spec.ts"],
3030
exclude = ["**/*.e2e.spec.ts"],
@@ -38,7 +38,7 @@ ng_test_library(
3838

3939
ng_web_test_suite(
4040
name = "unit_tests",
41-
deps = [":unit_test_sources"],
41+
deps = [":unit_tests_lib"],
4242
)
4343

4444
markdown_to_html(

src/cdk/observers/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ng_module(
2323
)
2424

2525
ng_test_library(
26-
name = "unit_test_sources",
26+
name = "unit_tests_lib",
2727
srcs = glob(
2828
["**/*.spec.ts"],
2929
exclude = ["**/*.e2e.spec.ts"],
@@ -33,7 +33,7 @@ ng_test_library(
3333

3434
ng_web_test_suite(
3535
name = "unit_tests",
36-
deps = [":unit_test_sources"],
36+
deps = [":unit_tests_lib"],
3737
)
3838

3939
markdown_to_html(

src/cdk/overlay/BUILD.bazel

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ sass_binary(
4444
)
4545

4646
ng_test_library(
47-
name = "unit_test_sources",
47+
name = "unit_tests_lib",
4848
srcs = glob(
4949
["**/*.spec.ts"],
5050
exclude = ["**/*.e2e.spec.ts"],
@@ -66,11 +66,11 @@ ng_test_library(
6666
ng_web_test_suite(
6767
name = "unit_tests",
6868
static_css = ["overlay_prebuilt_scss"],
69-
deps = [":unit_test_sources"],
69+
deps = [":unit_tests_lib"],
7070
)
7171

7272
ng_e2e_test_library(
73-
name = "e2e_test_sources",
73+
name = "e2e_tests_lib",
7474
srcs = glob(["**/*.e2e.spec.ts"]),
7575
deps = [
7676
"//src/cdk/testing/private/e2e",
@@ -80,7 +80,7 @@ ng_e2e_test_library(
8080
e2e_test_suite(
8181
name = "e2e_tests",
8282
deps = [
83-
":e2e_test_sources",
83+
":e2e_tests_lib",
8484
"//src/cdk/testing/private/e2e",
8585
],
8686
)

src/cdk/portal/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ng_module(
2121
)
2222

2323
ng_test_library(
24-
name = "unit_test_sources",
24+
name = "unit_tests_lib",
2525
srcs = glob(
2626
["**/*.spec.ts"],
2727
exclude = ["**/*.e2e.spec.ts"],
@@ -34,7 +34,7 @@ ng_test_library(
3434

3535
ng_web_test_suite(
3636
name = "unit_tests",
37-
deps = [":unit_test_sources"],
37+
deps = [":unit_tests_lib"],
3838
)
3939

4040
markdown_to_html(

src/cdk/schematics/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ pkg_npm(
5656

5757
jasmine_node_test(
5858
name = "unit_tests",
59-
srcs = [":unit_test_sources"],
59+
srcs = [":unit_tests_lib"],
6060
data = [
6161
":schematics_assets",
6262
":schematics_test_cases",
6363
],
6464
)
6565

6666
ts_library(
67-
name = "unit_test_sources",
67+
name = "unit_tests_lib",
6868
testonly = True,
6969
srcs = glob(
7070
["**/*.spec.ts"],

src/cdk/scrolling/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sass_binary(
3434
)
3535

3636
ng_test_library(
37-
name = "unit_test_sources",
37+
name = "unit_tests_lib",
3838
srcs = glob(
3939
["**/*.spec.ts"],
4040
exclude = ["**/*.e2e.spec.ts"],
@@ -50,7 +50,7 @@ ng_test_library(
5050

5151
ng_web_test_suite(
5252
name = "unit_tests",
53-
deps = [":unit_test_sources"],
53+
deps = [":unit_tests_lib"],
5454
)
5555

5656
markdown_to_html(

src/cdk/table/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ng_module(
2626
)
2727

2828
ng_test_library(
29-
name = "unit_test_sources",
29+
name = "unit_tests_lib",
3030
srcs = glob(
3131
["**/*.spec.ts"],
3232
exclude = ["**/*.e2e.spec.ts"],
@@ -41,7 +41,7 @@ ng_test_library(
4141

4242
ng_web_test_suite(
4343
name = "unit_tests",
44-
deps = [":unit_test_sources"],
44+
deps = [":unit_tests_lib"],
4545
)
4646

4747
markdown_to_html(

src/cdk/testing/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ ng_web_test_suite(
3333
],
3434
deps = [
3535
":require-config.js",
36-
"//src/cdk/testing/tests:unit_test_sources",
36+
"//src/cdk/testing/tests:unit_tests_lib",
3737
],
3838
)
3939

4040
e2e_test_suite(
4141
name = "e2e_tests",
4242
deps = [
43-
"//src/cdk/testing/tests:e2e_test_sources",
43+
"//src/cdk/testing/tests:e2e_tests_lib",
4444
],
4545
)

src/cdk/testing/tests/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ts_library(
3030
)
3131

3232
ng_test_library(
33-
name = "unit_test_sources",
33+
name = "unit_tests_lib",
3434
srcs = glob(
3535
[
3636
"**/*.spec.ts",
@@ -51,7 +51,7 @@ ng_test_library(
5151
)
5252

5353
ng_e2e_test_library(
54-
name = "e2e_test_sources",
54+
name = "e2e_tests_lib",
5555
srcs = glob([
5656
"**/*.e2e.spec.ts",
5757
"**/*.spec.d.ts",

0 commit comments

Comments
 (0)