User agent specific GWT modules are used for development only. The build is triggered from the IDE (Eclipse) in GWT compile filter. It turns out, that ie11 and edge are not valid user agents, but known as gecko1_8. Change it in Buck code as well. TEST PLAN: $ bazel build gerrit-gwtui/... Contributed-By: Damien Martin-Guillerez <dmarting@google.com> Change-Id: I0c8731f765fda2824bb5145abdb12e295658fe04
17 lines
369 B
Python
17 lines
369 B
Python
load('//tools/bzl:gwt.bzl', 'gwt_genrule', 'gen_ui_module',
|
|
'gwt_user_agent_permutations')
|
|
load('//tools/bzl:license.bzl', 'license_test')
|
|
|
|
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",
|
|
)
|