diff options
Diffstat (limited to 'third_party/ijar/BUILD')
-rw-r--r-- | third_party/ijar/BUILD | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/third_party/ijar/BUILD b/third_party/ijar/BUILD index 5e97bc84c6..7836ea1bd9 100644 --- a/third_party/ijar/BUILD +++ b/third_party/ijar/BUILD @@ -30,7 +30,18 @@ cc_library( deps = [ ":platform_utils", ":zlib_client", - ], + ] + select({ + "//src:windows": [ + "//src/main/cpp/util:errors", + "//src/main/cpp/util:file", + ], + "//src:windows_msvc": [ + "//src/main/cpp/util:errors", + "//src/main/cpp/util:file", + ], + "//conditions:default": [ + ], + }), ) cc_library( @@ -51,16 +62,10 @@ cc_library( "platform_utils.h", ], visibility = ["//visibility:private"], - deps = select({ - "//src:windows": [ - "//src/main/cpp/util:file", - ], - "//src:windows_msvc": [ - "//src/main/cpp/util:file", - ], - "//conditions:default": [ - ], - }), + deps = [ + "//src/main/cpp/util:errors", + "//src/main/cpp/util:file", + ], ) cc_binary( |