Skip to content

Commit 4ded8c0

Browse files
committed
Cleanup obsolete code
1 parent 49bfefb commit 4ded8c0

File tree

7 files changed

+2
-893
lines changed

7 files changed

+2
-893
lines changed

BUILD

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ filegroup(
1919

2020
java_binary(
2121
name = "JdtJavaBuilder",
22-
#main_class = "com.salesforce.bazel.jdt.toolchain.builder.JdtJavaBuilder",
2322
main_class = "com.google.devtools.build.buildjar.BazelEcjJavaBuilder",
24-
runtime_deps = ["//compiler:jdt_java_builder_lib"],
23+
runtime_deps = ["//compiler:buildjar"],
2524
)
2625

2726
exports_files(

compiler/BUILD

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
load("@rules_java//java:defs.bzl", "java_library")
22

3-
java_library(
4-
name = "jdt_java_builder_lib",
5-
srcs = glob(["src/main/java/**/*.java"]),
6-
deps = [
7-
":work_request_handlers",
8-
":buildjar",
9-
":ecj",
10-
"//compiler/src/main/protobuf:deps_java_proto",
11-
"//compiler/src/main/protobuf:java_compilation_java_proto",
12-
"//compiler/src/main/protobuf:worker_protocol_java_proto",
13-
"@rules_jdt_guava",
14-
"@com_google_protobuf//:protobuf_java",
15-
"@com_google_protobuf//:protobuf_java_util",
16-
],
17-
visibility = ["//visibility:public"],
18-
)
19-
203
# Bazel's Worker
214
java_library(
225
name = "work_request_handlers",
@@ -52,6 +35,7 @@ java_library(
5235
"@rules_jdt_org_ow2_asm_asm_commons",
5336
"@rules_jdt_org_ow2_asm_asm_tree",
5437
],
38+
visibility = ["//:__subpackages__"],
5539
)
5640

5741

compiler/src/main/java/com/salesforce/bazel/jdt/toolchain/builder/BatchCompilerBuilder.java

-353
This file was deleted.

compiler/src/main/java/com/salesforce/bazel/jdt/toolchain/builder/InvalidCommandLineException.java

-29
This file was deleted.

compiler/src/main/java/com/salesforce/bazel/jdt/toolchain/builder/JdtJavaBuilder.java

-104
This file was deleted.

compiler/src/main/java/com/salesforce/bazel/jdt/toolchain/builder/JdtJavaBuilderResult.java

-30
This file was deleted.

0 commit comments

Comments
 (0)