Build Gerrit in headless mode
buck build headless produces binary artifact without GWT. Change-Id: Ic98312e9924d32057d6876effbdf12e489d44a8b
This commit is contained in:
parent
ffa3e218d5
commit
7a29533643
@ -9,6 +9,7 @@
|
||||
docs = //Documentation:searchfree
|
||||
firefox = //:firefox
|
||||
gerrit = //:gerrit
|
||||
headless = //:headless
|
||||
release = //:release
|
||||
safari = //:safari
|
||||
soyc = //gerrit-gwtui:ui_soyc
|
||||
|
1
BUCK
1
BUCK
@ -1,6 +1,7 @@
|
||||
include_defs('//tools/build.defs')
|
||||
|
||||
gerrit_war(name = 'gerrit')
|
||||
gerrit_war(name = 'headless', ui = None)
|
||||
gerrit_war(name = 'chrome', ui = 'ui_chrome')
|
||||
gerrit_war(name = 'firefox', ui = 'ui_firefox')
|
||||
gerrit_war(name = 'safari', ui = 'ui_safari')
|
||||
|
@ -116,6 +116,20 @@ The output executable WAR will be placed in:
|
||||
----
|
||||
|
||||
|
||||
=== Headless Mode
|
||||
|
||||
To build Gerrit in headless mode, i.e. without the GWT Web UI:
|
||||
|
||||
----
|
||||
buck build headless
|
||||
----
|
||||
|
||||
The output executable WAR will be placed in:
|
||||
|
||||
----
|
||||
buck-out/gen/headless.war
|
||||
----
|
||||
|
||||
=== Extension and Plugin API JAR Files
|
||||
|
||||
To build the extension, plugin and GWT API JAR files:
|
||||
|
@ -71,8 +71,8 @@ def gerrit_war(name, ui = 'ui_optdbg', context = [], docs = False, visibility =
|
||||
context = [
|
||||
'//gerrit-main:main_bin',
|
||||
'//gerrit-war:webapp_assets',
|
||||
'//gerrit-gwtui:' + ui,
|
||||
] + context,
|
||||
] + (['//gerrit-gwtui:' + ui] if ui else []) +
|
||||
context,
|
||||
docs = docs,
|
||||
visibility = visibility,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user