Skip to content

Commit

Permalink
Do not depend on libunix.so on Windows.
Browse files Browse the repository at this point in the history
Needed for #276.

--
MOS_MIGRATED_REVID=113766886
  • Loading branch information
dslomov authored and davidzchen committed Feb 3, 2016
1 parent 5181061 commit 65e9099
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/com/google/devtools/build/lib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ java_library(
srcs = glob([
"unix/*.java",
]) + ["UnixJniLoader.java"],
resources = ["//src/main/native:libunix.so"],
resources = select({
# todo(dslomov): Get rid of this whole library on Windows.
"//src:windows": [],
"//conditions:default": ["//src/main/native:libunix.so"],
}),
deps = [
":common",
":shell",
Expand Down

0 comments on commit 65e9099

Please sign in to comment.