Skip to content

Commit d8e77d6

Browse files
committed
build: consistent bazel target naming for entry points
1 parent 265e73a commit d8e77d6

File tree

94 files changed

+270
-276
lines changed

Some content is hidden

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

94 files changed

+270
-276
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/combobox/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ng_module(
1919
)
2020

2121
ng_test_library(
22-
name = "unit_test_sources",
22+
name = "unit_tests_lib",
2323
srcs = glob(
2424
["**/*.spec.ts"],
2525
exclude = ["**/*.e2e.spec.ts"],
@@ -34,5 +34,5 @@ ng_test_library(
3434

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

src/cdk-experimental/dialog/BUILD.bazel

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

3131
ng_test_library(
32-
name = "unit_test_sources",
32+
name = "unit_tests_lib",
3333
srcs = glob(
3434
["**/*.spec.ts"],
3535
exclude = ["**/*.e2e.spec.ts"],
@@ -47,5 +47,5 @@ ng_test_library(
4747

4848
ng_web_test_suite(
4949
name = "unit_tests",
50-
deps = [":unit_test_sources"],
50+
deps = [":unit_tests_lib"],
5151
)

src/cdk-experimental/listbox/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ng_module(
1919
)
2020

2121
ng_test_library(
22-
name = "unit_test_sources",
22+
name = "unit_tests_lib",
2323
srcs = glob(
2424
["**/*.spec.ts"],
2525
exclude = ["**/*.e2e.spec.ts"],
@@ -36,5 +36,5 @@ ng_test_library(
3636

3737
ng_web_test_suite(
3838
name = "unit_tests",
39-
deps = [":unit_test_sources"],
39+
deps = [":unit_tests_lib"],
4040
)

src/cdk-experimental/menu/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"],
@@ -40,5 +40,5 @@ ng_test_library(
4040

4141
ng_web_test_suite(
4242
name = "unit_tests",
43-
deps = [":unit_test_sources"],
43+
deps = [":unit_tests_lib"],
4444
)

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
@@ -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,11 +34,11 @@ 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
ng_e2e_test_library(
41-
name = "e2e_test_sources",
41+
name = "e2e_tests_lib",
4242
srcs = glob(["**/*.e2e.spec.ts"]),
4343
deps = [
4444
"//src/cdk/testing/private/e2e",
@@ -48,7 +48,7 @@ ng_e2e_test_library(
4848
e2e_test_suite(
4949
name = "e2e_tests",
5050
deps = [
51-
":e2e_test_sources",
51+
":e2e_tests_lib",
5252
"//src/cdk/testing/private/e2e",
5353
],
5454
)

src/cdk-experimental/selection/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"],
@@ -35,5 +35,5 @@ ng_test_library(
3535

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

src/cdk-experimental/table-scroll-container/BUILD.bazel

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

2727
ng_test_library(
28-
name = "unit_test_sources",
28+
name = "unit_tests_lib",
2929
srcs = glob(
3030
["**/*.spec.ts"],
3131
exclude = ["**/*.e2e.spec.ts"],
@@ -41,5 +41,5 @@ ng_test_library(
4141

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

src/cdk/a11y/BUILD.bazel

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

4242
ng_test_library(
43-
name = "unit_test_sources",
43+
name = "unit_tests_lib",
4444
srcs = glob(
4545
["**/*.spec.ts"],
4646
exclude = ["**/*.e2e.spec.ts"],
@@ -60,7 +60,7 @@ ng_test_library(
6060

6161
ng_web_test_suite(
6262
name = "unit_tests",
63-
deps = [":unit_test_sources"],
63+
deps = [":unit_tests_lib"],
6464
)
6565

6666
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 = True,
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
@@ -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"],
@@ -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/drag-drop/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ng_module(
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,7 +46,7 @@ ng_test_library(
4646

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

5252
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 = True,
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
@@ -48,7 +48,7 @@ sass_binary(
4848
)
4949

5050
ng_test_library(
51-
name = "unit_test_sources",
51+
name = "unit_tests_lib",
5252
srcs = glob(
5353
["**/*.spec.ts"],
5454
exclude = ["**/*.e2e.spec.ts"],
@@ -70,11 +70,11 @@ ng_test_library(
7070
ng_web_test_suite(
7171
name = "unit_tests",
7272
static_css = ["overlay_prebuilt_scss"],
73-
deps = [":unit_test_sources"],
73+
deps = [":unit_tests_lib"],
7474
)
7575

7676
ng_e2e_test_library(
77-
name = "e2e_test_sources",
77+
name = "e2e_tests_lib",
7878
srcs = glob(["**/*.e2e.spec.ts"]),
7979
deps = [
8080
"//src/cdk/testing/private/e2e",
@@ -84,7 +84,7 @@ ng_e2e_test_library(
8484
e2e_test_suite(
8585
name = "e2e_tests",
8686
deps = [
87-
":e2e_test_sources",
87+
":e2e_tests_lib",
8888
"//src/cdk/testing/private/e2e",
8989
],
9090
)

src/cdk/portal/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(

0 commit comments

Comments
 (0)