Skip to content

Commit

Permalink
Delete orphan code not used anywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgruber committed Jan 27, 2021
1 parent b2bcb03 commit 29a6643
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions kotlin/internal/jvm/compile.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -169,20 +169,6 @@ def _adjust_resources_path(path, resource_strip_prefix):
else:
return _adjust_resources_path_by_default_prefixes(path)

# TODO: Figure this out and delete if really unused.
def _merge_kt_jvm_info(module_name, providers):
language_versions = {p.language_version: True for p in providers if p.language_version}
if len(language_versions) != 1:
fail("Conflicting kt language versions: %s" % language_versions)
return _KtJvmInfo(
language_versions.keys()[0],
module_jars = [p.module_jars for p in providers],
exported_compiler_plugins = depset(transitive = [
p.exported_compiler_plugins
for p in providers
]),
)

def _kotlinc_options_provider_to_flags(opts, language_version):
if not opts:
return ""
Expand Down

0 comments on commit 29a6643

Please sign in to comment.