File tree Expand file tree Collapse file tree 8 files changed +57
-23
lines changed Expand file tree Collapse file tree 8 files changed +57
-23
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ CDK_ENTRYPOINTS = [
13
13
"listbox" ,
14
14
"menu" ,
15
15
"observers" ,
16
+ "observers/private" ,
16
17
"overlay" ,
17
18
"platform" ,
18
19
"portal" ,
Original file line number Diff line number Diff line change
1
+ load (
2
+ "//tools:defaults.bzl" ,
3
+ "ng_module" ,
4
+ "ng_test_library" ,
5
+ "ng_web_test_suite" ,
6
+ )
7
+
8
+ package (default_visibility = ["//visibility:public" ])
9
+
10
+ ng_module (
11
+ name = "private" ,
12
+ srcs = glob (
13
+ ["**/*.ts" ],
14
+ exclude = ["**/*.spec.ts" ],
15
+ ),
16
+ deps = [
17
+ "//src:dev_mode_types" ,
18
+ "//src/cdk/platform" ,
19
+ "@npm//rxjs" ,
20
+ ],
21
+ )
22
+
23
+ ng_test_library (
24
+ name = "private_tests_lib" ,
25
+ srcs = glob (
26
+ ["**/*.spec.ts" ],
27
+ exclude = ["**/*.e2e.spec.ts" ],
28
+ ),
29
+ deps = [
30
+ ":private" ,
31
+ ],
32
+ )
33
+
34
+ ng_web_test_suite (
35
+ name = "unit_tests" ,
36
+ deps = [
37
+ ":private_tests_lib" ,
38
+ ],
39
+ )
40
+
41
+ filegroup (
42
+ name = "source-files" ,
43
+ srcs = glob (["**/*.ts" ]),
44
+ )
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+
9
+ export * from './shared-resize-observer' ;
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2
2
"//tools:defaults.bzl" ,
3
3
"markdown_to_html" ,
4
4
"ng_module" ,
5
- "ng_test_library" ,
6
- "ng_web_test_suite" ,
7
5
"sass_binary" ,
8
6
"sass_library" ,
9
7
)
@@ -20,7 +18,7 @@ ng_module(
20
18
deps = [
21
19
"//src:dev_mode_types" ,
22
20
"//src/cdk/bidi" ,
23
- "//src/cdk/observers" ,
21
+ "//src/cdk/observers/private " ,
24
22
"//src/cdk/platform" ,
25
23
"//src/material/core" ,
26
24
"@npm//@angular/forms" ,
@@ -81,21 +79,3 @@ filegroup(
81
79
name = "source-files" ,
82
80
srcs = glob (["**/*.ts" ]),
83
81
)
84
-
85
- ng_test_library (
86
- name = "form_field_tests_lib" ,
87
- srcs = glob (
88
- ["**/*.spec.ts" ],
89
- exclude = ["**/*.e2e.spec.ts" ],
90
- ),
91
- deps = [
92
- ":form-field" ,
93
- ],
94
- )
95
-
96
- ng_web_test_suite (
97
- name = "unit_tests" ,
98
- deps = [
99
- ":form_field_tests_lib" ,
100
- ],
101
- )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {
16
16
OnDestroy ,
17
17
Output ,
18
18
} from '@angular/core' ;
19
- import { SharedResizeObserver } from '../shared-resize-observer ' ;
19
+ import { SharedResizeObserver } from '@angular/cdk/observers/private ' ;
20
20
import { Subscription } from 'rxjs' ;
21
21
22
22
/**
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ generate_test_targets(
9
9
[
10
10
"//src/cdk" ,
11
11
"//src/material" ,
12
- ] + ["//src/cdk/%s" % e for e in CDK_ENTRYPOINTS ] +
12
+ ] + ["//src/cdk/%s" % e for e in CDK_ENTRYPOINTS if not e . endswith ( "/private" ) ] +
13
13
["//src/material/%s" % e for e in MATERIAL_ENTRYPOINTS + MATERIAL_TESTING_ENTRYPOINTS ],
14
14
)
15
15
You can’t perform that action at this time.
0 commit comments