This fixes buildifier warnings that were not fixed in automatic
mode:
  $ find . \( -name BUILD -o -name "*.bzl" \) -print \
      | xargs buildifier --lint=warn
* Remove unused variables
* Pattern `src/test/java/com/google/gerrit/server/project/Util.java`
  has no wildcard ('*')
* All calls to rules or macros should pass arguments by keyword
  (arg_name=value) syntax
* ctx.new_file is deprecated, used ctx.actions.declare_file instead
Change-Id: I1f8a04e8d576ab637ba8a46118720218ec486fff
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			772 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			772 B
		
	
	
	
		
			Python
		
	
	
	
	
	
load(
 | 
						|
    "//tools/bzl:gwt.bzl",
 | 
						|
    "gen_ui_module",
 | 
						|
    "gwt_genrule",
 | 
						|
    "gwt_user_agent_permutations",
 | 
						|
)
 | 
						|
load("//tools/bzl:junit.bzl", "junit_tests")
 | 
						|
load("//tools/bzl:license.bzl", "license_test")
 | 
						|
 | 
						|
gwt_genrule()
 | 
						|
 | 
						|
gwt_genrule(suffix = "_r")
 | 
						|
 | 
						|
gen_ui_module(name = "ui_module")
 | 
						|
 | 
						|
gen_ui_module(
 | 
						|
    name = "ui_module",
 | 
						|
    suffix = "_r",
 | 
						|
)
 | 
						|
 | 
						|
gwt_user_agent_permutations()
 | 
						|
 | 
						|
license_test(
 | 
						|
    name = "ui_module_license_test",
 | 
						|
    target = ":ui_module",
 | 
						|
)
 | 
						|
 | 
						|
junit_tests(
 | 
						|
    name = "ui_tests",
 | 
						|
    srcs = glob(["src/test/java/**/*.java"]),
 | 
						|
    visibility = ["//visibility:public"],
 | 
						|
    deps = [
 | 
						|
        ":ui_module",
 | 
						|
        "//gerrit-common:client",
 | 
						|
        "//gerrit-extension-api:client",
 | 
						|
        "//lib:junit",
 | 
						|
        "//lib/gwt:dev",
 | 
						|
        "//lib/gwt:user",
 | 
						|
    ],
 | 
						|
)
 |