adba024a9f
* stable-2.15: Add optional dir_name argument to gerrit_plugin Format WORKSPACE and BUILD files with buildifier version 0.12.0 Move commons-io from lib/BUILD to lib/commons/BUILD Change-Id: I63bf9cec7e81f3f0f7ef88addf99e544bc1d7479
42 lines
815 B
Python
42 lines
815 B
Python
load(
|
|
"//tools/bzl:gwt.bzl",
|
|
"gen_ui_module",
|
|
"gwt_genrule",
|
|
"gwt_user_agent_permutations",
|
|
)
|
|
load("//tools/bzl:license.bzl", "license_test")
|
|
load("//tools/bzl:junit.bzl", "junit_tests")
|
|
|
|
gwt_genrule()
|
|
|
|
gwt_genrule("_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",
|
|
"//java/com/google/gerrit/common:client",
|
|
"//java/com/google/gerrit/extensions:client",
|
|
"//lib:junit",
|
|
"//lib/gwt:dev",
|
|
"//lib/gwt:user",
|
|
"//lib/truth",
|
|
],
|
|
)
|