From 8828a731d882242dc667419ff5e1fdb84c0421e9 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Thu, 22 Aug 2019 20:09:21 +0000 Subject: [PATCH] Revert "[canvaskit] Optimize CK builds for size" This reverts commit a3094a55fec5e31375182f85f387b6390a9a490e. Reason for revert: significant slowdown, perf bot timing out. Original change's description: > [canvaskit] Optimize CK builds for size > > canvaskit.wasm: 6855515 -> 5445330 > canvaskit.wasm.gz 2554712 -> 2189897 > > Change-Id: I9749cf8dc66e08eb95c2f996d5b631d5fcdff342 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/229078 > Reviewed-by: Mike Klein > Reviewed-by: Kevin Lubick > Commit-Queue: Florin Malita TBR=mtklein@google.com,kjlubick@google.com,fmalita@chromium.org Change-Id: I34569bdc935b9e73b6e916fe029b871fb86ebb3b No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236496 Reviewed-by: Florin Malita Commit-Queue: Florin Malita --- modules/canvaskit/compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/canvaskit/compile.sh b/modules/canvaskit/compile.sh index 1cd10c6925..5eb4fc11a5 100755 --- a/modules/canvaskit/compile.sh +++ b/modules/canvaskit/compile.sh @@ -22,7 +22,7 @@ EMCXX=`which em++` RELEASE_CONF="-Oz --closure 1 --llvm-lto 3 -DSK_RELEASE --pre-js $BASE_DIR/release.js \ -DGR_GL_CHECK_ALLOC_WITH_GET_ERROR=0" -EXTRA_CFLAGS="\"-Oz\", \"-DSK_RELEASE\", \"-DGR_GL_CHECK_ALLOC_WITH_GET_ERROR=0\"," +EXTRA_CFLAGS="\"-DSK_RELEASE\", \"-DGR_GL_CHECK_ALLOC_WITH_GET_ERROR=0\"," if [[ $@ == *debug* ]]; then echo "Building a Debug build" EXTRA_CFLAGS="\"-DSK_DEBUG\""