build(core): use dev-infra's component_benchmark to show PoC (#36434)

This change demonstrates how to use the newly created
rule in one of our performance tests.

Future commits and PRs will migrate the remaining tests to this new bazel rule.

PR Close #36434
This commit is contained in:
Wagner Maciel 2020-04-22 09:57:30 -07:00 committed by Andrew Kushnir
parent d6f6cd0cb1
commit e6161ca307
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package(default_visibility = ["//modules/benchmarks:__subpackages__"])
load("@io_bazel_rules_sass//sass:sass.bzl", "sass_binary")
load("//tools/components:component_benchmark.bzl", "component_benchmark")
load("//dev-infra/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
sass_binary(
name = "class_bindings_styles",
@ -12,7 +12,8 @@ component_benchmark(
name = "benchmark",
driver = ":class_bindings.perf-spec.ts",
driver_deps = [
"//modules/e2e_util",
"//dev-infra/benchmark/driver-utilities",
"@npm//@types/jasmine",
"@npm//protractor",
],
ng_deps = [