Skip to content

Commit

Permalink
Revert "expand locations in scalacopts (#890)"
Browse files Browse the repository at this point in the history
This reverts commit 5c966ee.
  • Loading branch information
ittaiz authored Dec 26, 2019
1 parent 5c966ee commit 7ba5a61
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 @@ -238,7 +238,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 7ba5a61

Please sign in to comment.