aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/BUILD
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-11-21 17:41:43 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-11-21 20:04:45 +0000
commit3b57ccfba7e67f85a0d3c31f9b813719e367fe9c (patch)
treee2512877c438c2fc3f8d425d86c2e9f0690ad26b /src/test/java/com/google/devtools/build/lib/BUILD
parenta132f0e3091cbc25f3d0352cb7f503fdbf07bcff (diff)
Move intellij_info.bzl to a tool packaged with bazel.
This will allow use of the Skylark IDE aspect in bazel, unblocking the migration away from the native aspect. -- MOS_MIGRATED_REVID=139796095
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/BUILD')
-rw-r--r--src/test/java/com/google/devtools/build/lib/BUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/BUILD b/src/test/java/com/google/devtools/build/lib/BUILD
index 05e709a7bf..8fcb520f63 100644
--- a/src/test/java/com/google/devtools/build/lib/BUILD
+++ b/src/test/java/com/google/devtools/build/lib/BUILD
@@ -647,12 +647,20 @@ java_test(
],
)
+# Copy intellij_info.bzl so it's in a predictable resource location
+genrule(
+ name = "intellij_info_bzl_copy",
+ srcs = ["//tools/ide:intellij_info"],
+ outs = ["ideinfo/intellij_info.bzl"],
+ cmd = "cp $(SRCS) $@",
+)
+
java_test(
name = "ideinfo_test",
srcs = glob([
"ideinfo/*.java",
]),
- resources = ["ideinfo/intellij_info.bzl"],
+ resources = [":intellij_info_bzl_copy"],
tags = ["ideinfo"],
test_class = "com.google.devtools.build.lib.AllTests",
deps = [