 c5f8066629
			
		
	
	c5f8066629
	
	
	
		
			
			We cannot shade bouncycastle in the plugin API. Still we need it to be included in the gerrit.war, licenses file and Eclipse classpath. Expose bouncycastle libraries in PLUGIN_TEST_DEPS constant, so that the plugins don't need to change anything in tree build mode. gerrit_api() bazlet in bazlets repository is extended too, so that the plugins don't need to change anything in standalone build mode. One side effect of this change, is that bouncycastle libraries are now listed with neverlink suffix, e.g.: * bouncycastle:bcprov-neverlink Bug: Issue 5826 Change-Id: Idb8051e16b14e20c8dd528783ab297ee25707bb3
		
			
				
	
	
		
			45 lines
		
	
	
		
			1008 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1008 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| java_library(
 | |
|     name = "bcprov",
 | |
|     data = ["//lib:LICENSE-bouncycastle"],
 | |
|     visibility = ["//visibility:public"],
 | |
|     exports = ["@bcprov//jar"],
 | |
| )
 | |
| 
 | |
| java_library(
 | |
|     name = "bcpg",
 | |
|     data = ["//lib:LICENSE-bouncycastle"],
 | |
|     visibility = ["//visibility:public"],
 | |
|     exports = ["@bcpg//jar"],
 | |
| )
 | |
| 
 | |
| java_library(
 | |
|     name = "bcpkix",
 | |
|     data = ["//lib:LICENSE-bouncycastle"],
 | |
|     visibility = ["//visibility:public"],
 | |
|     exports = ["@bcpkix//jar"],
 | |
| )
 | |
| 
 | |
| java_library(
 | |
|     name = "bcprov-neverlink",
 | |
|     data = ["//lib:LICENSE-bouncycastle"],
 | |
|     neverlink = 1,
 | |
|     visibility = ["//visibility:public"],
 | |
|     exports = ["@bcprov//jar"],
 | |
| )
 | |
| 
 | |
| java_library(
 | |
|     name = "bcpg-neverlink",
 | |
|     data = ["//lib:LICENSE-bouncycastle"],
 | |
|     neverlink = 1,
 | |
|     visibility = ["//visibility:public"],
 | |
|     exports = ["@bcpg//jar"],
 | |
| )
 | |
| 
 | |
| java_library(
 | |
|     name = "bcpkix-neverlink",
 | |
|     data = ["//lib:LICENSE-bouncycastle"],
 | |
|     neverlink = 1,
 | |
|     visibility = ["//visibility:public"],
 | |
|     exports = ["@bcpkix//jar"],
 | |
| )
 |