This change fixes the following issues: * server needs bcpkix for parsing public/private keys. * do not special-case "jdk15on" in pkg_war. We only have these in the BC jars. * remove BC specific license checking exceptions. * remove language about requiring BC installed separately. * remove BC special-casing from eclipse setup. Tested: rm bin/* lib/* in testsite ran 141 -> 142 schema upgrade successfully ran daemon successfully LICENSE.txt in war file has an entry for the BC license Loaded new project in eclipse; verified that BouncyCastleUtil.java loads. Change-Id: I80c2b0c038ada8397b44373194bd199f491a39c3
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
load("//tools/bzl:pkg_war.bzl", "LIBS", "PGMLIBS")
 | 
						|
load("//tools/bzl:classpath.bzl", "classpath_collector")
 | 
						|
load(
 | 
						|
    "//tools/bzl:plugins.bzl",
 | 
						|
    "CORE_PLUGINS",
 | 
						|
    "CUSTOM_PLUGINS",
 | 
						|
)
 | 
						|
 | 
						|
TEST_DEPS = [
 | 
						|
    "//gerrit-gpg:gpg_tests",
 | 
						|
    "//gerrit-gwtui:ui_tests",
 | 
						|
    "//gerrit-httpd:httpd_tests",
 | 
						|
    "//gerrit-patch-jgit:jgit_patch_tests",
 | 
						|
    "//gerrit-reviewdb:client_tests",
 | 
						|
    "//gerrit-server:server_tests",
 | 
						|
]
 | 
						|
 | 
						|
DEPS = [
 | 
						|
    "//gerrit-acceptance-tests:lib",
 | 
						|
    "//gerrit-gwtdebug:gwtdebug",
 | 
						|
    "//gerrit-gwtui:ui_module",
 | 
						|
    "//gerrit-main:main_lib",
 | 
						|
    "//gerrit-plugin-gwtui:gwtui-api-lib",
 | 
						|
    "//gerrit-server:server",
 | 
						|
    "//lib/asciidoctor:asciidoc_lib",
 | 
						|
    "//lib/asciidoctor:doc_indexer_lib",
 | 
						|
    "//lib/auto:auto-value",
 | 
						|
    "//lib/gwt:ant",
 | 
						|
    "//lib/gwt:colt",
 | 
						|
    "//lib/gwt:javax-validation",
 | 
						|
    "//lib/gwt:javax-validation_src",
 | 
						|
    "//lib/gwt:jsinterop-annotations",
 | 
						|
    "//lib/gwt:jsinterop-annotations_src",
 | 
						|
    "//lib/gwt:tapestry",
 | 
						|
    "//lib/gwt:w3c-css-sac",
 | 
						|
    "//lib/jetty:servlets",
 | 
						|
    "//lib/prolog:compiler_lib",
 | 
						|
    # TODO(davido): I do not understand why it must be on the Eclipse classpath
 | 
						|
    #'//Documentation:index',
 | 
						|
]
 | 
						|
 | 
						|
java_library(
 | 
						|
    name = "classpath",
 | 
						|
    testonly = 1,
 | 
						|
    runtime_deps = LIBS + PGMLIBS + DEPS,
 | 
						|
)
 | 
						|
 | 
						|
classpath_collector(
 | 
						|
    name = "main_classpath_collect",
 | 
						|
    testonly = 1,
 | 
						|
    deps = LIBS + PGMLIBS + DEPS + TEST_DEPS +
 | 
						|
           ["//plugins/%s:%s__plugin" % (n, n) for n in CORE_PLUGINS + CUSTOM_PLUGINS],
 | 
						|
)
 | 
						|
 | 
						|
classpath_collector(
 | 
						|
    name = "gwt_classpath_collect",
 | 
						|
    deps = ["//gerrit-gwtui:ui_module"],
 | 
						|
)
 | 
						|
 | 
						|
classpath_collector(
 | 
						|
    name = "autovalue_classpath_collect",
 | 
						|
    deps = ["//lib/auto:auto-value"],
 | 
						|
)
 |