Skip to content

Commit 55bfc0b

Browse files
committed
fix bazel build
1 parent 2cd18a1 commit 55bfc0b

File tree

6 files changed

+104
-104
lines changed

6 files changed

+104
-104
lines changed

src/material-experimental/mdc-button/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ng_module(
88
name = "mdc-button",
99
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]),
1010
module_name = "@angular/material-experimental/mdc-button",
11-
assets = [":checkbox_scss"] + glob(["**/*.html"]),
11+
assets = [":button_scss"] + glob(["**/*.html"]),
1212
deps = [
1313
"@npm//material-components-web",
1414
] + CDK_TARGETS + MATERIAL_TARGETS,

src/material-experimental/mdc-card/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ng_module(
88
name = "mdc-card",
99
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]),
1010
module_name = "@angular/material-experimental/mdc-card",
11-
assets = [":checkbox_scss"] + glob(["**/*.html"]),
11+
assets = [":card_scss"] + glob(["**/*.html"]),
1212
deps = [
1313
"@npm//material-components-web",
1414
] + CDK_TARGETS + MATERIAL_TARGETS,

src/material-experimental/mdc-helpers/BUILD.bazel

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -17,110 +17,110 @@ ng_module(
1717
# Add all MDC Sass files that we depend on here. After updating MDC dependencies, use the following
1818
# command to generate an updated list:
1919
#
20-
# `find node_modules/@material/ -name "_*.scss" | sort | sed -r 's/(.*)/"@npm\/\/\1",/'`
20+
# `find node_modules/@material/ -name "_*.scss" | sort | sed -r 's/(.*\/@material\/[^/]*)\/(.*)/"@npm\/\/\1:\2",/'`
2121
#
2222
# TODO(mmalerba): Find a less tedious way to do this...
2323
sass_library(
2424
name = "mdc_scss_deps_lib",
2525
srcs = [
26-
"@npm//node_modules/@material/animation/_functions.scss",
27-
"@npm//node_modules/@material/animation/_variables.scss",
28-
"@npm//node_modules/@material/base/_mixins.scss",
29-
"@npm//node_modules/@material/button/_mixins.scss",
30-
"@npm//node_modules/@material/button/_variables.scss",
31-
"@npm//node_modules/@material/card/_mixins.scss",
32-
"@npm//node_modules/@material/card/_variables.scss",
33-
"@npm//node_modules/@material/checkbox/_functions.scss",
34-
"@npm//node_modules/@material/checkbox/_keyframes.scss",
35-
"@npm//node_modules/@material/checkbox/_mixins.scss",
36-
"@npm//node_modules/@material/checkbox/_variables.scss",
37-
"@npm//node_modules/@material/chips/_mixins.scss",
38-
"@npm//node_modules/@material/chips/_variables.scss",
39-
"@npm//node_modules/@material/dialog/_mixins.scss",
40-
"@npm//node_modules/@material/dialog/_variables.scss",
41-
"@npm//node_modules/@material/drawer/_mixins.scss",
42-
"@npm//node_modules/@material/drawer/_variables.scss",
43-
"@npm//node_modules/@material/elevation/_mixins.scss",
44-
"@npm//node_modules/@material/elevation/_variables.scss",
45-
"@npm//node_modules/@material/fab/_mixins.scss",
46-
"@npm//node_modules/@material/fab/_variables.scss",
47-
"@npm//node_modules/@material/feature-targeting/_functions.scss",
48-
"@npm//node_modules/@material/feature-targeting/_mixins.scss",
49-
"@npm//node_modules/@material/feature-targeting/_variables.scss",
50-
"@npm//node_modules/@material/floating-label/_mixins.scss",
51-
"@npm//node_modules/@material/floating-label/_variables.scss",
52-
"@npm//node_modules/@material/form-field/_mixins.scss",
53-
"@npm//node_modules/@material/form-field/_variables.scss",
54-
"@npm//node_modules/@material/grid-list/_mixins.scss",
55-
"@npm//node_modules/@material/grid-list/_variables.scss",
56-
"@npm//node_modules/@material/icon-button/_mixins.scss",
57-
"@npm//node_modules/@material/icon-button/_variables.scss",
58-
"@npm//node_modules/@material/image-list/_mixins.scss",
59-
"@npm//node_modules/@material/image-list/_variables.scss",
60-
"@npm//node_modules/@material/layout-grid/_mixins.scss",
61-
"@npm//node_modules/@material/layout-grid/_variables.scss",
62-
"@npm//node_modules/@material/linear-progress/_keyframes.scss",
63-
"@npm//node_modules/@material/linear-progress/_mixins.scss",
64-
"@npm//node_modules/@material/linear-progress/_variables.scss",
65-
"@npm//node_modules/@material/line-ripple/_functions.scss",
66-
"@npm//node_modules/@material/line-ripple/_mixins.scss",
67-
"@npm//node_modules/@material/list/_mixins.scss",
68-
"@npm//node_modules/@material/list/_variables.scss",
69-
"@npm//node_modules/@material/menu/_mixins.scss",
70-
"@npm//node_modules/@material/menu-surface/_mixins.scss",
71-
"@npm//node_modules/@material/menu-surface/_variables.scss",
72-
"@npm//node_modules/@material/menu/_variables.scss",
73-
"@npm//node_modules/@material/notched-outline/_mixins.scss",
74-
"@npm//node_modules/@material/notched-outline/_variables.scss",
75-
"@npm//node_modules/@material/radio/_functions.scss",
76-
"@npm//node_modules/@material/radio/_mixins.scss",
77-
"@npm//node_modules/@material/radio/_variables.scss",
78-
"@npm//node_modules/@material/ripple/_functions.scss",
79-
"@npm//node_modules/@material/ripple/_keyframes.scss",
80-
"@npm//node_modules/@material/ripple/_mixins.scss",
81-
"@npm//node_modules/@material/ripple/_variables.scss",
82-
"@npm//node_modules/@material/rtl/_mixins.scss",
83-
"@npm//node_modules/@material/select/_functions.scss",
84-
"@npm//node_modules/@material/select/helper-text/_mixins.scss",
85-
"@npm//node_modules/@material/select/icon/_mixins.scss",
86-
"@npm//node_modules/@material/select/icon/_variables.scss",
87-
"@npm//node_modules/@material/select/_keyframes.scss",
88-
"@npm//node_modules/@material/select/_mixins.scss",
89-
"@npm//node_modules/@material/select/_variables.scss",
90-
"@npm//node_modules/@material/shape/_functions.scss",
91-
"@npm//node_modules/@material/shape/_mixins.scss",
92-
"@npm//node_modules/@material/shape/_variables.scss",
93-
"@npm//node_modules/@material/slider/_keyframes.scss",
94-
"@npm//node_modules/@material/slider/_mixins.scss",
95-
"@npm//node_modules/@material/slider/_variables.scss",
96-
"@npm//node_modules/@material/snackbar/_mixins.scss",
97-
"@npm//node_modules/@material/snackbar/_variables.scss",
98-
"@npm//node_modules/@material/switch/_functions.scss",
99-
"@npm//node_modules/@material/switch/_mixins.scss",
100-
"@npm//node_modules/@material/switch/_variables.scss",
101-
"@npm//node_modules/@material/tab-bar/_mixins.scss",
102-
"@npm//node_modules/@material/tab-indicator/_mixins.scss",
103-
"@npm//node_modules/@material/tab/_mixins.scss",
104-
"@npm//node_modules/@material/tab/_variables.scss",
105-
"@npm//node_modules/@material/textfield/character-counter/_mixins.scss",
106-
"@npm//node_modules/@material/textfield/_functions.scss",
107-
"@npm//node_modules/@material/textfield/helper-text/_mixins.scss",
108-
"@npm//node_modules/@material/textfield/icon/_mixins.scss",
109-
"@npm//node_modules/@material/textfield/icon/_variables.scss",
110-
"@npm//node_modules/@material/textfield/_mixins.scss",
111-
"@npm//node_modules/@material/textfield/_variables.scss",
112-
"@npm//node_modules/@material/theme/_color-palette.scss",
113-
"@npm//node_modules/@material/theme/_constants.scss",
114-
"@npm//node_modules/@material/theme/_functions.scss",
115-
"@npm//node_modules/@material/theme/_mixins.scss",
116-
"@npm//node_modules/@material/theme/_variables.scss",
117-
"@npm//node_modules/@material/toolbar/_mixins.scss",
118-
"@npm//node_modules/@material/toolbar/_variables.scss",
119-
"@npm//node_modules/@material/top-app-bar/_mixins.scss",
120-
"@npm//node_modules/@material/top-app-bar/_variables.scss",
121-
"@npm//node_modules/@material/typography/_functions.scss",
122-
"@npm//node_modules/@material/typography/_mixins.scss",
123-
"@npm//node_modules/@material/typography/_variables.scss",
26+
"@npm//node_modules/@material/animation:_functions.scss",
27+
"@npm//node_modules/@material/animation:_variables.scss",
28+
"@npm//node_modules/@material/base:_mixins.scss",
29+
"@npm//node_modules/@material/button:_mixins.scss",
30+
"@npm//node_modules/@material/button:_variables.scss",
31+
"@npm//node_modules/@material/card:_mixins.scss",
32+
"@npm//node_modules/@material/card:_variables.scss",
33+
"@npm//node_modules/@material/checkbox:_functions.scss",
34+
"@npm//node_modules/@material/checkbox:_keyframes.scss",
35+
"@npm//node_modules/@material/checkbox:_mixins.scss",
36+
"@npm//node_modules/@material/checkbox:_variables.scss",
37+
"@npm//node_modules/@material/chips:_mixins.scss",
38+
"@npm//node_modules/@material/chips:_variables.scss",
39+
"@npm//node_modules/@material/dialog:_mixins.scss",
40+
"@npm//node_modules/@material/dialog:_variables.scss",
41+
"@npm//node_modules/@material/drawer:_mixins.scss",
42+
"@npm//node_modules/@material/drawer:_variables.scss",
43+
"@npm//node_modules/@material/elevation:_mixins.scss",
44+
"@npm//node_modules/@material/elevation:_variables.scss",
45+
"@npm//node_modules/@material/fab:_mixins.scss",
46+
"@npm//node_modules/@material/fab:_variables.scss",
47+
"@npm//node_modules/@material/feature-targeting:_functions.scss",
48+
"@npm//node_modules/@material/feature-targeting:_mixins.scss",
49+
"@npm//node_modules/@material/feature-targeting:_variables.scss",
50+
"@npm//node_modules/@material/floating-label:_mixins.scss",
51+
"@npm//node_modules/@material/floating-label:_variables.scss",
52+
"@npm//node_modules/@material/form-field:_mixins.scss",
53+
"@npm//node_modules/@material/form-field:_variables.scss",
54+
"@npm//node_modules/@material/grid-list:_mixins.scss",
55+
"@npm//node_modules/@material/grid-list:_variables.scss",
56+
"@npm//node_modules/@material/icon-button:_mixins.scss",
57+
"@npm//node_modules/@material/icon-button:_variables.scss",
58+
"@npm//node_modules/@material/image-list:_mixins.scss",
59+
"@npm//node_modules/@material/image-list:_variables.scss",
60+
"@npm//node_modules/@material/layout-grid:_mixins.scss",
61+
"@npm//node_modules/@material/layout-grid:_variables.scss",
62+
"@npm//node_modules/@material/linear-progress:_keyframes.scss",
63+
"@npm//node_modules/@material/linear-progress:_mixins.scss",
64+
"@npm//node_modules/@material/linear-progress:_variables.scss",
65+
"@npm//node_modules/@material/line-ripple:_functions.scss",
66+
"@npm//node_modules/@material/line-ripple:_mixins.scss",
67+
"@npm//node_modules/@material/list:_mixins.scss",
68+
"@npm//node_modules/@material/list:_variables.scss",
69+
"@npm//node_modules/@material/menu:_mixins.scss",
70+
"@npm//node_modules/@material/menu-surface:_mixins.scss",
71+
"@npm//node_modules/@material/menu-surface:_variables.scss",
72+
"@npm//node_modules/@material/menu:_variables.scss",
73+
"@npm//node_modules/@material/notched-outline:_mixins.scss",
74+
"@npm//node_modules/@material/notched-outline:_variables.scss",
75+
"@npm//node_modules/@material/radio:_functions.scss",
76+
"@npm//node_modules/@material/radio:_mixins.scss",
77+
"@npm//node_modules/@material/radio:_variables.scss",
78+
"@npm//node_modules/@material/ripple:_functions.scss",
79+
"@npm//node_modules/@material/ripple:_keyframes.scss",
80+
"@npm//node_modules/@material/ripple:_mixins.scss",
81+
"@npm//node_modules/@material/ripple:_variables.scss",
82+
"@npm//node_modules/@material/rtl:_mixins.scss",
83+
"@npm//node_modules/@material/select:_functions.scss",
84+
"@npm//node_modules/@material/select:helper-text/_mixins.scss",
85+
"@npm//node_modules/@material/select:icon/_mixins.scss",
86+
"@npm//node_modules/@material/select:icon/_variables.scss",
87+
"@npm//node_modules/@material/select:_keyframes.scss",
88+
"@npm//node_modules/@material/select:_mixins.scss",
89+
"@npm//node_modules/@material/select:_variables.scss",
90+
"@npm//node_modules/@material/shape:_functions.scss",
91+
"@npm//node_modules/@material/shape:_mixins.scss",
92+
"@npm//node_modules/@material/shape:_variables.scss",
93+
"@npm//node_modules/@material/slider:_keyframes.scss",
94+
"@npm//node_modules/@material/slider:_mixins.scss",
95+
"@npm//node_modules/@material/slider:_variables.scss",
96+
"@npm//node_modules/@material/snackbar:_mixins.scss",
97+
"@npm//node_modules/@material/snackbar:_variables.scss",
98+
"@npm//node_modules/@material/switch:_functions.scss",
99+
"@npm//node_modules/@material/switch:_mixins.scss",
100+
"@npm//node_modules/@material/switch:_variables.scss",
101+
"@npm//node_modules/@material/tab-bar:_mixins.scss",
102+
"@npm//node_modules/@material/tab-indicator:_mixins.scss",
103+
"@npm//node_modules/@material/tab:_mixins.scss",
104+
"@npm//node_modules/@material/tab:_variables.scss",
105+
"@npm//node_modules/@material/textfield:character-counter/_mixins.scss",
106+
"@npm//node_modules/@material/textfield:_functions.scss",
107+
"@npm//node_modules/@material/textfield:helper-text/_mixins.scss",
108+
"@npm//node_modules/@material/textfield:icon/_mixins.scss",
109+
"@npm//node_modules/@material/textfield:icon/_variables.scss",
110+
"@npm//node_modules/@material/textfield:_mixins.scss",
111+
"@npm//node_modules/@material/textfield:_variables.scss",
112+
"@npm//node_modules/@material/theme:_color-palette.scss",
113+
"@npm//node_modules/@material/theme:_constants.scss",
114+
"@npm//node_modules/@material/theme:_functions.scss",
115+
"@npm//node_modules/@material/theme:_mixins.scss",
116+
"@npm//node_modules/@material/theme:_variables.scss",
117+
"@npm//node_modules/@material/toolbar:_mixins.scss",
118+
"@npm//node_modules/@material/toolbar:_variables.scss",
119+
"@npm//node_modules/@material/top-app-bar:_mixins.scss",
120+
"@npm//node_modules/@material/top-app-bar:_variables.scss",
121+
"@npm//node_modules/@material/typography:_functions.scss",
122+
"@npm//node_modules/@material/typography:_mixins.scss",
123+
"@npm//node_modules/@material/typography:_variables.scss",
124124
],
125125
)
126126

src/material-experimental/mdc-menu/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ng_module(
88
name = "mdc-menu",
99
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]),
1010
module_name = "@angular/material-experimental/mdc-menu",
11-
assets = [":checkbox_scss"] + glob(["**/*.html"]),
11+
assets = [":menu_scss"] + glob(["**/*.html"]),
1212
deps = [
1313
"@npm//material-components-web",
1414
] + CDK_TARGETS + MATERIAL_TARGETS,

src/material-experimental/mdc-radio/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ng_module(
88
name = "mdc-radio",
99
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]),
1010
module_name = "@angular/material-experimental/mdc-radio",
11-
assets = [":checkbox_scss"] + glob(["**/*.html"]),
11+
assets = [":radio_scss"] + glob(["**/*.html"]),
1212
deps = [
1313
"@npm//material-components-web",
1414
] + CDK_TARGETS + MATERIAL_TARGETS,

src/material-experimental/mdc-slide-toggle/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ng_module(
88
name = "mdc-slide-toggle",
99
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]),
1010
module_name = "@angular/material-experimental/mdc-slide-toggle",
11-
assets = [":checkbox_scss"] + glob(["**/*.html"]),
11+
assets = [":slide_toggle_scss"] + glob(["**/*.html"]),
1212
deps = [
1313
"@npm//material-components-web",
1414
] + CDK_TARGETS + MATERIAL_TARGETS,

0 commit comments

Comments
 (0)