Files
gerrit/gerrit-gwtui/BUILD
David Ostrovsky 13a2fc4561 Bazel: Build user agent specific GWT modules
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
2016-11-03 14:58:37 +00:00

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",
)