Move chromium to it's own place OBS-URL: https://build.opensuse.org/request/show/79098 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1
		
			
				
	
	
		
			17 lines
		
	
	
		
			722 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			722 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
References: https://bugs.chromium.org/p/chromium/issues/detail?id=1192875
 | 
						|
 | 
						|
Index: chromium-91.0.4472.57/third_party/closure_compiler/compiler.py
 | 
						|
===================================================================
 | 
						|
--- chromium-91.0.4472.57.orig/third_party/closure_compiler/compiler.py
 | 
						|
+++ chromium-91.0.4472.57/third_party/closure_compiler/compiler.py
 | 
						|
@@ -13,8 +13,7 @@ import subprocess
 | 
						|
 
 | 
						|
 
 | 
						|
 _CURRENT_DIR = os.path.join(os.path.dirname(__file__))
 | 
						|
-_JAVA_PATH = os.path.join(_CURRENT_DIR, "..", "jdk", "current", "bin", "java")
 | 
						|
-assert os.path.isfile(_JAVA_PATH), "java only allowed in android builds"
 | 
						|
+_JAVA_PATH = "java"
 | 
						|
 
 | 
						|
 class Compiler(object):
 | 
						|
   """Runs the Closure compiler on given source files to typecheck them
 |