Commit 3d3507ce by Sean Klein

Added definition of ALLOW_WASM to CMakeLists.

This change is required to run "toolchain_build_pnacl.py --cmake", since without it, ALLOW_WASM will be undefined and throw a compilation error. BUG=None R=eholk@chromium.org Review URL: https://codereview.chromium.org/1897323002 .
parent a4d100ab
...@@ -18,6 +18,7 @@ if(PNACL_BROWSER_TRANSLATOR) ...@@ -18,6 +18,7 @@ if(PNACL_BROWSER_TRANSLATOR)
-DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_LLVM_IR_AS_INPUT=0
-DALLOW_TIMERS=0 -DALLOW_TIMERS=0
-DALLOW_MINIMAL_BUILD=1 -DALLOW_MINIMAL_BUILD=1
-DALLOW_WASM=0
-DPNACL_BROWSER_TRANSLATOR=1 -DPNACL_BROWSER_TRANSLATOR=1
) )
else() else()
...@@ -28,6 +29,7 @@ else() ...@@ -28,6 +29,7 @@ else()
-DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_LLVM_IR_AS_INPUT=1
-DALLOW_TIMERS=1 -DALLOW_TIMERS=1
-DALLOW_MINIMAL_BUILD=0 -DALLOW_MINIMAL_BUILD=0
-DALLOW_WASM=0
-DPNACL_BROWSER_TRANSLATOR=0 -DPNACL_BROWSER_TRANSLATOR=0
) )
endif() endif()
......
Markdown is supported
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