From d840503d35b177651e8184d9ee259a0c39de0ed8 Mon Sep 17 00:00:00 2001 From: Wagner Maciel Date: Wed, 22 Apr 2020 09:57:30 -0700 Subject: [PATCH] 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 --- modules/benchmarks/src/class_bindings/BUILD.bazel | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/benchmarks/src/class_bindings/BUILD.bazel b/modules/benchmarks/src/class_bindings/BUILD.bazel index dbf1d0b038..48c3cdec70 100644 --- a/modules/benchmarks/src/class_bindings/BUILD.bazel +++ b/modules/benchmarks/src/class_bindings/BUILD.bazel @@ -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 = [