Skip to content

Commit

Permalink
Remove jarjar distribution.
Browse files Browse the repository at this point in the history
Jarjar was removed from java_tools already (#12491). This is cleanup of other dependencies.

Closes #12506.

PiperOrigin-RevId: 344071950
  • Loading branch information
comius authored and copybara-github committed Nov 24, 2020
1 parent bf6fc47 commit 028e02c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ sh_binary(
JAVA_TOOLS = [
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/jarhelper:srcs",
"//src/java_tools/import_deps_checker/java/com/google/devtools/build/importdeps:embedded_tools",
"//third_party/jarjar:embedded_build_and_license",
]

# TODO(philwo): Clean this up, once a Bazel that can run py_binary and sh_binary
Expand Down
4 changes: 0 additions & 4 deletions src/create_embedded_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@
('*tools/cpp/BUILD.tools', lambda x: 'tools/cpp/BUILD'),
('*tools/cpp/runfiles/generated_*',
lambda x: 'tools/cpp/runfiles/' + os.path.basename(x)[len('generated_'):]),
('*jarjar_command_deploy.jar',
lambda x: 'tools/jdk/jarjar_command_deploy.jar'),
('*BUILD.java_langtools', lambda x: 'third_party/java/jdk/langtools/BUILD'),
('*launcher.exe', lambda x: 'tools/launcher/launcher.exe'),
('*def_parser.exe', lambda x: 'tools/def_parser/def_parser.exe'),
('*zipper.exe', lambda x: 'tools/zip/zipper/zipper.exe'),
('*zipper', lambda x: 'tools/zip/zipper/zipper'),
('*third_party/jarjar/BUILD.tools', lambda x: 'third_party/jarjar/BUILD'),
('*third_party/jarjar/LICENSE', lambda x: 'third_party/jarjar/LICENSE'),
('*src/objc_tools/*',
lambda x: 'tools/objc/precomp_' + os.path.basename(x)),
('*xcode*StdRedirect.dylib', lambda x: 'tools/objc/StdRedirect.dylib'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ private ImmutableList<String> createAndroidBuildContents() {
.add("java_plugin(name = 'databinding_annotation_processor',")
.add(" generates_api = 1,")
.add(" processor_class = 'android.databinding.annotationprocessor.ProcessDataBinding')")
.add("sh_binary(name = 'jarjar_bin', srcs = ['empty.sh'])")
.add("sh_binary(name = 'instrumentation_test_check', srcs = ['empty.sh'])")
.add("package_group(name = 'android_device_allowlist', packages = ['//...'])")
.add("package_group(name = 'export_deps_allowlist', packages = ['//...'])")
Expand Down
5 changes: 0 additions & 5 deletions tools/android/BUILD.tools
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,6 @@ alias(
# not provide one.
filegroup(name = "empty")

alias(
name = "jarjar_bin",
actual = "//third_party/java/jarjar:jarjar_bin",
)

alias(
name = "instrumentation_test_entry_point",
actual = "@android_test_support//:instrumentation_test_runner",
Expand Down

0 comments on commit 028e02c

Please sign in to comment.