/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/button-toggle/BUILD.bazel
55 строк
1 KB
Kristiyan Kostadinov
build: enable AoT compilation for all tests (#31930)
26 сен 2025, 23:25
Не верифицирован
26 сен 2025, 23:25
a2383cf
Код
Авторство
О чём код?
load("//tools:defaults.bzl", "ng_project", "ng_web_test_suite") package(default_visibility = ["//visibility:public"]) ng_project( name = "button-toggle", srcs = glob( ["**/*.ts"], exclude = ["**/*.spec.ts"], ), assets = glob([ "**/*.html", "**/*.css", ]), deps = [ "//:node_modules/@angular/core", "//:node_modules/@angular/forms", "//:node_modules/@angular/platform-browser", "//:node_modules/@types/jasmine", "//src/cdk/testing", "//src/cdk/testing/testbed", "//src/material/button-toggle", "//src/material/button-toggle/testing", "//src/material/checkbox", "//src/material/icon", ], ) filegroup( name = "source-files", srcs = glob([ "**/*.html", "**/*.css", "**/*.ts", ]), ) ng_project( name = "unit_tests_lib", testonly = True, srcs = glob(["**/*.spec.ts"]), deps = [ ":button-toggle", "//:node_modules/@angular/core", "//src/cdk/testing", "//src/cdk/testing/testbed", "//src/material/button-toggle", "//src/material/button-toggle/testing", ], ) ng_web_test_suite( name = "unit_tests", deps = [":unit_tests_lib"], )