Skip to content

Commit

Permalink
Revert "expand locations in scalacopts (bazelbuild#890)" (bazelbuild#904
Browse files Browse the repository at this point in the history
)

This reverts commit 5c966ee.
  • Loading branch information
ittaiz authored and Andre Rocha committed Jul 6, 2020
1 parent f5ec991 commit 50e3311
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 71 deletions.
2 changes: 1 addition & 1 deletion scala/private/rule_impls.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ CurrentTarget: {current_target}
compiler_classpath = _join_path(compiler_classpath_jars.to_list(), separator)

toolchain = ctx.toolchains["@io_bazel_rules_scala//scala:toolchain_type"]
scalacopts = [ctx.expand_location(v, ctx.attr.plugins) for v in toolchain.scalacopts + in_scalacopts]
scalacopts = toolchain.scalacopts + in_scalacopts

scalac_args = """
Classpath: {cp}
Expand Down
40 changes: 0 additions & 40 deletions test/plugins/BUILD

This file was deleted.

25 changes: 0 additions & 25 deletions test/plugins/check_expand_location_plugin.scala

This file was deleted.

5 changes: 0 additions & 5 deletions test/plugins/trivial.scala

This file was deleted.

0 comments on commit 50e3311

Please sign in to comment.