-
Notifications
You must be signed in to change notification settings - Fork 6.7k
/
config.bzl
52 lines (47 loc) · 1.65 KB
/
config.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
entryPoints = [
"column-resize",
"mdc-button",
"mdc-button/testing",
"mdc-core",
"mdc-list",
"mdc-list/testing",
"mdc-menu",
"mdc-menu/testing",
"mdc-paginator",
"mdc-paginator/testing",
"mdc-progress-spinner",
"mdc-progress-spinner/testing",
"mdc-snack-bar",
"mdc-snack-bar/testing",
"mdc-table",
"mdc-table/testing",
"mdc-tabs",
"mdc-tabs/testing",
"menubar",
"popover-edit",
"selection",
]
# List of all non-testing entry-points of the Angular material-experimental package.
MATERIAL_EXPERIMENTAL_ENTRYPOINTS = [
ep
for ep in entryPoints
if not "/testing" in ep
]
# List of all testing entry-points of the Angular material-experimental package.
MATERIAL_EXPERIMENTAL_TESTING_ENTRYPOINTS = [
ep
for ep in entryPoints
if not ep in MATERIAL_EXPERIMENTAL_ENTRYPOINTS
]
# List of all non-testing entry-point targets of the Angular material-experimental package.
MATERIAL_EXPERIMENTAL_TARGETS = ["//src/material-experimental"] + \
["//src/material-experimental/%s" % ep for ep in MATERIAL_EXPERIMENTAL_ENTRYPOINTS]
# List of all testing entry-point targets of the Angular material-experimental package.
MATERIAL_EXPERIMENTAL_TESTING_TARGETS = ["//src/material-experimental/%s" % ep for ep in MATERIAL_EXPERIMENTAL_TESTING_ENTRYPOINTS]
MATERIAL_EXPERIMENTAL_SCSS_LIBS = [
"//src/material-experimental/%s:%s_scss_lib" % (ep, ep.replace("-", "_"))
# Only secondary entry-points declare theme files currently. Entry-points
# which contain a slash are not in the top-level.
for ep in MATERIAL_EXPERIMENTAL_ENTRYPOINTS
if not "/" in ep
]