Build Gerrit in headless mode
buck build headless produces binary artifact without GWT. Change-Id: Ic98312e9924d32057d6876effbdf12e489d44a8b
This commit is contained in:

committed by
David Pursehouse

parent
ffa3e218d5
commit
7a29533643
@@ -9,6 +9,7 @@
|
|||||||
docs = //Documentation:searchfree
|
docs = //Documentation:searchfree
|
||||||
firefox = //:firefox
|
firefox = //:firefox
|
||||||
gerrit = //:gerrit
|
gerrit = //:gerrit
|
||||||
|
headless = //:headless
|
||||||
release = //:release
|
release = //:release
|
||||||
safari = //:safari
|
safari = //:safari
|
||||||
soyc = //gerrit-gwtui:ui_soyc
|
soyc = //gerrit-gwtui:ui_soyc
|
||||||
|
1
BUCK
1
BUCK
@@ -1,6 +1,7 @@
|
|||||||
include_defs('//tools/build.defs')
|
include_defs('//tools/build.defs')
|
||||||
|
|
||||||
gerrit_war(name = 'gerrit')
|
gerrit_war(name = 'gerrit')
|
||||||
|
gerrit_war(name = 'headless', ui = None)
|
||||||
gerrit_war(name = 'chrome', ui = 'ui_chrome')
|
gerrit_war(name = 'chrome', ui = 'ui_chrome')
|
||||||
gerrit_war(name = 'firefox', ui = 'ui_firefox')
|
gerrit_war(name = 'firefox', ui = 'ui_firefox')
|
||||||
gerrit_war(name = 'safari', ui = 'ui_safari')
|
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
|
=== Extension and Plugin API JAR Files
|
||||||
|
|
||||||
To build the extension, plugin and GWT 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 = [
|
context = [
|
||||||
'//gerrit-main:main_bin',
|
'//gerrit-main:main_bin',
|
||||||
'//gerrit-war:webapp_assets',
|
'//gerrit-war:webapp_assets',
|
||||||
'//gerrit-gwtui:' + ui,
|
] + (['//gerrit-gwtui:' + ui] if ui else []) +
|
||||||
] + context,
|
context,
|
||||||
docs = docs,
|
docs = docs,
|
||||||
visibility = visibility,
|
visibility = visibility,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user