Skip to content

Commit 0086925

Browse files
devversionzarend
authored andcommitted
build: remove unused linker-process bazel rule
Removes the unused `linker-process` Bazel rule. We no longer need this AMD-based Bazel transformation/middleman rule as we can directly run the linker when bundling unit tests.
1 parent 224d7b2 commit 0086925

File tree

4 files changed

+2
-285
lines changed

4 files changed

+2
-285
lines changed

tools/defaults.bzl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ load("@npm//@bazel/typescript:index.bzl", _ts_library = "ts_library")
1010
load("//:packages.bzl", "VERSION_PLACEHOLDER_REPLACEMENTS")
1111
load("//:pkg-externals.bzl", "PKG_EXTERNALS")
1212
load("//tools/markdown-to-html:index.bzl", _markdown_to_html = "markdown_to_html")
13-
load("//tools/linker-process:index.bzl", "linker_process")
1413
load("//tools/spec-bundling:index.bzl", "spec_bundle")
1514

1615
_DEFAULT_TSCONFIG_BUILD = "//src:bazel-tsconfig-build.json"
@@ -141,17 +140,14 @@ def ng_module(
141140
# See: https://github.com/bazelbuild/rules_nodejs/pull/2799.
142141
package_name = module_name,
143142
flat_module_out_file = flat_module_out_file,
144-
compilation_mode = select({
145-
"//tools:partial_compilation_enabled": "partial",
146-
"//conditions:default": "",
147-
}),
143+
strict_templates = True,
148144
deps = local_deps,
149145
tsconfig = tsconfig,
150146
testonly = testonly,
151147
**kwargs
152148
)
153149

154-
def ng_package(name, data = [], deps = [], globals = ROLLUP_GLOBALS, readme_md = None, **kwargs):
150+
def ng_package(name, data = [], deps = [], externals = PKG_EXTERNALS, readme_md = None, **kwargs):
155151
# If no readme file has been specified explicitly, use the default readme for
156152
# release packages from "src/README.md".
157153
if not readme_md:

tools/linker-process/BUILD.bazel

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

tools/linker-process/index.bzl

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

tools/linker-process/linker-process.ts

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

0 commit comments

Comments
 (0)