Remove Mozilla Rhino from our build
Since we don't render the syntax highlighting on the server, because its just too damn slow, we don't need a full JavaScript language implementation in our runtime directory. Drop that dependency to save WAR file size and reduce the amount of code we have to keep track of. Change-Id: I937871a8053995f36b92a99b41bb5f6e97f0d1ed Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -23,7 +23,6 @@ import com.google.gerrit.httpd.auth.ldap.LdapAuthModule;
|
||||
import com.google.gerrit.httpd.auth.openid.OpenIdModule;
|
||||
import com.google.gerrit.httpd.gitweb.GitWebModule;
|
||||
import com.google.gerrit.httpd.rpc.UiRpcModule;
|
||||
import com.google.gerrit.prettify.server.PrettifyModule;
|
||||
import com.google.gerrit.reviewdb.AuthType;
|
||||
import com.google.gerrit.server.CurrentUser;
|
||||
import com.google.gerrit.server.IdentifiedUser;
|
||||
@@ -122,7 +121,6 @@ public class WebModule extends FactoryModule {
|
||||
install(new UiRpcModule());
|
||||
install(new GerritRequestModule());
|
||||
install(new ProjectServlet.Module());
|
||||
install(new PrettifyModule());
|
||||
|
||||
bind(SshInfo.class).toProvider(sshInfoProvider);
|
||||
bind(SshKeyCache.class).toProvider(sshKeyCacheProvider);
|
||||
|
||||
Reference in New Issue
Block a user