
Also add missing unit test for gerrit-gwtui package. Change-Id: I0eb40451a781ff141fc4a2d21a66fb1759dc98f2
32 lines
698 B
Python
32 lines
698 B
Python
load('//tools/bzl:gwt.bzl', 'gwt_genrule', 'gen_ui_module',
|
|
'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']),
|
|
deps = [
|
|
':ui_module',
|
|
'//gerrit-common:client',
|
|
'//gerrit-extension-api:client',
|
|
'//lib:junit',
|
|
'//lib/gwt:dev',
|
|
'//lib/gwt:user',
|
|
],
|
|
visibility = ['//visibility:public'],
|
|
)
|