···11-From e031b8be0fb2a22f953c034cdf08ca9befe130d2 Mon Sep 17 00:00:00 2001
22-From: Michael Weiss <dev.primeos@gmail.com>
33-Date: Sun, 11 Apr 2021 18:05:12 +0200
44-Subject: [PATCH] closure_compiler: Use the Java binary from the system
55-66-The bundled Java binary (third_party/jdk/current/bin/java) is missing in
77-the tarball and we want to use the one from the system anyway.
88-This reverts part of [0].
99-1010-[0]: https://chromium-review.googlesource.com/c/chromium/src/+/2778794
1111----
1212- third_party/closure_compiler/compiler.py | 3 +--
1313- 1 file changed, 1 insertion(+), 2 deletions(-)
1414-1515-diff --git a/third_party/closure_compiler/compiler.py b/third_party/closure_compiler/compiler.py
1616-index 75690ceb9749..7b9c76f74290 100755
1717---- a/third_party/closure_compiler/compiler.py
1818-+++ b/third_party/closure_compiler/compiler.py
1919-@@ -13,8 +13,7 @@ import subprocess
2020-2121-2222- _CURRENT_DIR = os.path.join(os.path.dirname(__file__))
2323--_JAVA_PATH = os.path.join(_CURRENT_DIR, "..", "jdk", "current", "bin", "java")
2424--assert os.path.isfile(_JAVA_PATH), "java only allowed in android builds"
2525-+_JAVA_PATH = "java"
2626-2727- class Compiler(object):
2828- """Runs the Closure compiler on given source files to typecheck them
2929---
3030-2.20.1
3131-