Remove unused transitive_es5_sources This is a prefactoring to simplify the "typescript" provider before migrating it to a modern Provider() PiperOrigin-RevId: 263860301
diff --git a/internal/common/compilation.bzl b/internal/common/compilation.bzl index 511fcc0..7e08587 100644 --- a/internal/common/compilation.bzl +++ b/internal/common/compilation.bzl
@@ -458,19 +458,13 @@ if not is_library: files_depsets.append(depset(tsickle_externs)) - transitive_es5_sources = depset() transitive_es6_sources = depset() for dep in deps: if hasattr(dep, "typescript"): - transitive_es5_sources = depset(transitive = [ - transitive_es5_sources, - dep.typescript.transitive_es5_sources, - ]) transitive_es6_sources = depset(transitive = [ transitive_es6_sources, dep.typescript.transitive_es6_sources, ]) - transitive_es5_sources = depset(transitive = [transitive_es5_sources, es5_sources]) transitive_es6_sources = depset(transitive = [transitive_es6_sources, es6_sources]) return { @@ -505,7 +499,6 @@ "es6_sources": es6_sources, "replay_params": replay_params, "transitive_declarations": transitive_decls, - "transitive_es5_sources": transitive_es5_sources, "transitive_es6_sources": transitive_es6_sources, "tsickle_externs": tsickle_externs, "type_blacklisted_declarations": type_blacklisted_declarations,