diff options
author | Lukacs Berki <lberki@google.com> | 2016-02-10 16:44:54 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2016-02-11 11:48:40 +0000 |
commit | b35e25d1704c847d42472d999b4990380ad0d83b (patch) | |
tree | 8d283a4b33be52f6b917d6e40dde99cb426f8041 /tools | |
parent | 9b372d1d774f37b13853d9fd09ebdd7bfc5059a7 (diff) |
Make Bazel be able to reach ijar on Windows where it's called "ijar.exe" .
A small step towards the resolution of #276.
--
MOS_MIGRATED_REVID=114330517
Diffstat (limited to 'tools')
-rw-r--r-- | tools/jdk/BUILD | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/jdk/BUILD b/tools/jdk/BUILD index 75edee657c..50feeb0c2e 100644 --- a/tools/jdk/BUILD +++ b/tools/jdk/BUILD @@ -35,6 +35,14 @@ filegroup( srcs = ["//external:javac"], ) +# On Windows, executables end in ".exe", but the label we reach it through +# must be platform-independent. Thus, we create a little filegroup that +# contains the appropriate platform-dependent file. +filegroup( + name = "ijar", + srcs = glob(["ijar/*"]), +) + BOOTCLASS_JARS = [ "rt.jar", "resources.jar", |