summaryrefslogtreecommitdiffstats
path: root/gerrit-gwtui/BUILD
blob: bda9aed079fd7eb9ec50ba25d291176c051baaf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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:truth",
        "//lib/gwt:dev",
        "//lib/gwt:user",
    ],
)