Cleanup script and disable the JIT again
Change-Id: Iafac8de859633c07a69d3b6454511268ab3d1b8c
diff --git a/Tools/fuchsia/build_webkit.sh b/Tools/fuchsia/build_webkit.sh
index 4a8ea60..5b9cfe1 100755
--- a/Tools/fuchsia/build_webkit.sh
+++ b/Tools/fuchsia/build_webkit.sh
@@ -21,7 +21,6 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-clean_manifest=false
update_prebuilts=false
run_after_building=false
build_dir=Debug
@@ -32,7 +31,7 @@
set -e
-while getopts ":hcrufmpl" arg; do
+while getopts ":hcrumpl" arg; do
case $arg in
c) # Do a clean build
clean_build=true
@@ -40,9 +39,6 @@
m) # Clean CMake files
clean_cmake=true
;;
- f) # Clean manifest
- clean_manifest=true
- ;;
r) # Run after building
run_after_building=true
;;
@@ -50,7 +46,7 @@
build_dir=Release
build_flag=--release
;;
- l)
+ l) # Update prebuilds.
update_prebuilts=true
;;
h | *) # Display help.
@@ -81,14 +77,11 @@
JSC_STRIPPED=$WEBKIT_BUILD/bin/jsc_stripped
$WEBKIT_ROOT/Tools/Scripts/build-webkit $build_flag --fuchsia \
+ --no-jit \
--cmakeargs="-DCMAKE_TOOLCHAIN_FILE=$script_dir/FuchsiaClangToolchain.txt -DENABLE_XSLT=OFF -DENABLE_DRAG_SUPPORT=OFF -DENABLE_STATIC_JSC=ON"
MANIFEST_FILE=$WEBKIT_BUILD/minibrowser_manifest.txt
-if [ $clean_manifest == true ] ; then
- rm $MANIFEST_FILE
-fi
-
cd $script_dir
if [ $run_after_building == true ] ; then