diff --git a/tools/jdk/BUILD.java_tools b/tools/jdk/BUILD.java_tools index 298f8607196306..ecc8ef92b7e668 100644 --- a/tools/jdk/BUILD.java_tools +++ b/tools/jdk/BUILD.java_tools @@ -473,16 +473,14 @@ cc_library( cc_library( name = "lib-file", - srcs = ["java_tools/src/main/native/windows/file.cc"], - hdrs = ["java_tools/src/main/native/windows/file.h"], - strip_include_prefix = "java_tools", - deps = [":lib-util"], -) - -cc_library( - name = "lib-util", - srcs = ["java_tools/src/main/native/windows/util.cc"], - hdrs = ["java_tools/src/main/native/windows/util.h"], + srcs = [ + "java_tools/src/main/native/windows/file.cc", + "java_tools/src/main/native/windows/util.cc", + ], + hdrs = [ + "java_tools/src/main/native/windows/file.h", + "java_tools/src/main/native/windows/util.h", + ], strip_include_prefix = "java_tools", )