Skip to content

Commit 13a6a7b

Browse files
committed
build: remove expand_template bazel rule with dev-infra rule
Removes the `expand_template` Bazel rule with a similar rule that is provided by the shared dev-infra package.
1 parent 2a6d68e commit 13a6a7b

File tree

4 files changed

+3
-31
lines changed

4 files changed

+3
-31
lines changed

integration/size-test/index.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
load("@npm//@angular/dev-infra-private/bazel:expand_template.bzl", "expand_template")
12
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary", "nodejs_test")
23
load("@bazel_skylib//lib:paths.bzl", "paths")
34
load("@npm//@bazel/rollup:index.bzl", "rollup_bundle")
45
load("@npm//@bazel/terser:index.bzl", "terser_minified")
56
load("//tools:defaults.bzl", "ng_module")
6-
load("//tools:expand_template.bzl", "expand_template")
77

88
"""
99
Performs size measurements for the specified file. The file will be built as part

tools/create-system-config.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
load("@npm//@angular/dev-infra-private/bazel:expand_template.bzl", "expand_template")
12
load("//:packages.bzl", "ANGULAR_PACKAGE_BUNDLES", "MDC_PACKAGE_UMD_BUNDLES")
23
load("//src/cdk:config.bzl", "CDK_ENTRYPOINTS")
34
load("//src/cdk-experimental:config.bzl", "CDK_EXPERIMENTAL_ENTRYPOINTS")
45
load("//src/material:config.bzl", "MATERIAL_ENTRYPOINTS", "MATERIAL_TESTING_ENTRYPOINTS")
56
load("//src/material-experimental:config.bzl", "MATERIAL_EXPERIMENTAL_ENTRYPOINTS", "MATERIAL_EXPERIMENTAL_TESTING_ENTRYPOINTS")
6-
load("//tools:expand_template.bzl", "expand_template")
77

88
"""
99
Macro that builds a SystemJS configuration for all packages and entry-points

tools/expand_template.bzl

Lines changed: 0 additions & 28 deletions
This file was deleted.

tools/system-config-tmpl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var frameworkPackages = $ANGULAR_PACKAGE_BUNDLES;
2222
var mdcPackageUmdBundles = $MDC_PACKAGE_UMD_BUNDLES;
2323

2424
/** Whether Ivy is enabled. */
25-
var isRunningWithIvy = '$ANGULAR_IVY_ENABLED_TMPL'.toString() === 'True';
25+
var isRunningWithIvy = 'TMPL_angular_ivy_enabled'.toString() === 'True';
2626

2727
/** Path that relatively resolves to the directory that contains all packages. */
2828
var packagesPath = '$PACKAGES_DIR';

0 commit comments

Comments
 (0)