 a7056ec1dd
			
		
	
	a7056ec1dd
	
	
	
		
			
			* stable-2.14: Bazel: Fix more buildifier warnings Bazel: Automatically fix lint errors with buildifier 0.20.0 Bazel: Automatically fix lint errors with buildifier Change-Id: I02ba30185683a54dca09e6e200b90fe0e86e1f83
		
			
				
	
	
		
			82 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| load("//tools/bzl:junit.bzl", "junit_tests")
 | |
| 
 | |
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| SRCS = glob(
 | |
|     ["src/main/java/**/*.java"],
 | |
| )
 | |
| 
 | |
| RESOURCES = glob(["src/main/resources/**/*"])
 | |
| 
 | |
| java_library(
 | |
|     name = "httpd",
 | |
|     srcs = SRCS,
 | |
|     resources = RESOURCES,
 | |
|     deps = [
 | |
|         "//gerrit-common:annotations",
 | |
|         "//gerrit-common:server",
 | |
|         "//gerrit-extension-api:api",
 | |
|         "//gerrit-gwtexpui:linker_server",
 | |
|         "//gerrit-gwtexpui:server",
 | |
|         "//gerrit-index:query_exception",
 | |
|         "//gerrit-launcher:launcher",
 | |
|         "//gerrit-patch-jgit:server",
 | |
|         "//gerrit-prettify:server",
 | |
|         "//gerrit-reviewdb:server",
 | |
|         "//gerrit-server:metrics",
 | |
|         "//gerrit-server:receive",
 | |
|         "//gerrit-server:server",
 | |
|         "//gerrit-util-cli:cli",
 | |
|         "//gerrit-util-http:http",
 | |
|         "//lib:args4j",
 | |
|         "//lib:gson",
 | |
|         "//lib:guava",
 | |
|         "//lib:gwtjsonrpc",
 | |
|         "//lib:gwtorm",
 | |
|         "//lib:jsch",
 | |
|         "//lib:mime-util",
 | |
|         "//lib:servlet-api-3_1",
 | |
|         "//lib:soy",
 | |
|         "//lib/auto:auto-value",
 | |
|         "//lib/auto:auto-value-annotations",
 | |
|         "//lib/commons:codec",
 | |
|         "//lib/commons:lang",
 | |
|         "//lib/guice",
 | |
|         "//lib/guice:guice-assistedinject",
 | |
|         "//lib/guice:guice-servlet",
 | |
|         "//lib/jgit/org.eclipse.jgit.http.server:jgit-servlet",
 | |
|         "//lib/jgit/org.eclipse.jgit:jgit",
 | |
|         "//lib/log:api",
 | |
|         "//lib/lucene:lucene-core-and-backward-codecs",
 | |
|     ],
 | |
| )
 | |
| 
 | |
| junit_tests(
 | |
|     name = "httpd_tests",
 | |
|     srcs = glob(["src/test/java/**/*.java"]),
 | |
|     deps = [
 | |
|         ":httpd",
 | |
|         "//gerrit-common:annotations",
 | |
|         "//gerrit-common:server",
 | |
|         "//gerrit-extension-api:api",
 | |
|         "//gerrit-reviewdb:server",
 | |
|         "//gerrit-server:server",
 | |
|         "//gerrit-util-http:http",
 | |
|         "//gerrit-util-http:testutil",
 | |
|         "//lib:gson",
 | |
|         "//lib:guava",
 | |
|         "//lib:gwtorm",
 | |
|         "//lib:jimfs",
 | |
|         "//lib:junit",
 | |
|         "//lib:servlet-api-3_1-without-neverlink",
 | |
|         "//lib:soy",
 | |
|         "//lib:truth",
 | |
|         "//lib/easymock",
 | |
|         "//lib/guice",
 | |
|         "//lib/guice:guice-servlet",
 | |
|         "//lib/jgit/org.eclipse.jgit:jgit",
 | |
|         "//lib/jgit/org.eclipse.jgit.junit:junit",
 | |
|         "//lib/joda:joda-time",
 | |
|     ],
 | |
| )
 |