Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: build: gwt draft build support
......................................................................

packaging: build: gwt draft build support

Change-Id: I90e52c7880a5b403937c3b179db6ea39e35fd2e7
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M Makefile
M README.developer
2 files changed, 8 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/26/15726/1

diff --git a/Makefile b/Makefile
index 3e82405..5452fe5 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,7 @@
 BUILD_GWT_USERPORTAL=1
 BUILD_GWT_WEBADMIN=1
 BUILD_LOCALES=0
+DEV_BUILD_GWT_DRAFT=0
 
 MVN=mvn
 EXTRA_BUILD_FLAGS=
@@ -52,7 +53,10 @@
 endif
 BUILD_TEST_FLAGS=-D skipTests
 EXTRA_BUILD_FLAGS_DEV=
-EXTRA_BUILD_FLAGS_DEV_GWT=-D gwt.userAgent=gecko1_8
+EXTRA_BUILD_FLAGS_DEV_GWT:=-D gwt.userAgent=gecko1_8
+ifneq ($(DEV_BUILD_GWT_DRAFT),0)
+EXTRA_BUILD_FLAGS_DEV_GWT:=$(EXTRA_BUILD_FLAGS_DEV_GWT) 
-Dgwt.draftCompile=true -Dgwt.optimizationLevel=0
+endif
 BUILD_TARGET=deploy
 ENGINE_NAME=$(PACKAGE_NAME)
 PREFIX=/usr/local
diff --git a/README.developer b/README.developer
index 0b09bf1..4ec6214 100644
--- a/README.developer
+++ b/README.developer
@@ -119,6 +119,9 @@
 DEV_REBUILD [1]
     Disable if only packaging components were modified.
 
+DEV_BUILD_GWT_DRAFT [0]
+    Build draft gwt application without optimizations.
+
 SETUP
 
 To setup the product use the following command:


-- 
To view, visit http://gerrit.ovirt.org/15726
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I90e52c7880a5b403937c3b179db6ea39e35fd2e7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to