Reverts "Change location of emsdk. (#833)" (#835)
Reverts: flutter/buildroot#833
Initiated by: eyebrowsoffire
Reason for reverting: corresponding change https://github.com/flutter/engine/commit/6cefbe183546461bdcdf7633a4cd5021cce2f210 was reverted
Original PR Author: eyebrowsoffire
Reviewed By: {matanlurey}
This change reverts the following previous change:
This changes the location the build files look for the emscripten toolchain. It is meant to go in alongside https://github.com/flutter/engine/pull/51299 which actually changes the DEPS file to place emsdk in a different place.diff --git a/build/toolchain/wasm.gni b/build/toolchain/wasm.gni
index 5fbb321..24947ef 100644
--- a/build/toolchain/wasm.gni
+++ b/build/toolchain/wasm.gni
@@ -10,7 +10,7 @@
declare_args() {
# The location of an activated embedded emsdk.
- emsdk_dir = rebase_path("//flutter/prebuilts/emsdk")
+ emsdk_dir = rebase_path("//buildtools/emsdk")
wasm_use_pthreads = false
wasm_use_dwarf = false