Commit b0307054 authored by Morten Johan Sørvig's avatar Morten Johan Sørvig Committed by Morten Johan Sørvig
Browse files

Work around eager emscripten optimizer.


Add INCLUDE_FULL_LIBRARY linker flag to make sure
requestAnimationFrame etc gets included in the.js
‘binary’.

Change-Id: Iaef51dce283147c9b164c76b726a601e404ac98c
Reviewed-by: default avatarTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
parent f4f5219f
No related merge requests found
Showing with 1 addition and 0 deletions
......@@ -42,6 +42,7 @@ QMAKE_LFLAGS += \
-s RESERVED_FUNCTION_POINTERS=400\
-s TOTAL_MEMORY=1280000000\
-s FULL_ES2=1 \
-s INCLUDE_FULL_LIBRARY=1 \
-s EXPORTED_FUNCTIONS=\"[\'_DoPostMessage\', \'_DoChangeView\', \'_DoChangeFocus\', \'_NativeCreateInstance\', \'_HandleInputEvent\']\"\
--pre-js $${PEPPER_JS_PATH}/ppapi_preamble.js\
--pre-js $${PEPPER_JS_PATH}/base.js\
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment