forked from firka/flutter
This reverts commit b2a4a05683.
This has been causing issues when rolling to flutter/packages repo. See
https://github.com/flutter/flutter/issues/165347.
This commit is contained in:
@@ -277,9 +277,9 @@ config("compiler") {
|
||||
}
|
||||
|
||||
if (is_wasm) {
|
||||
if (wasm_use_workers) {
|
||||
cflags += [ "-sWASM_WORKERS=1" ]
|
||||
ldflags += [ "-sWASM_WORKERS=1" ]
|
||||
if (wasm_use_pthreads) {
|
||||
cflags += [ "-pthread" ]
|
||||
ldflags += [ "-pthread" ]
|
||||
} if (wasm_shared_memory) {
|
||||
cflags += [ "-sSHARED_MEMORY=1" ]
|
||||
ldflags += [ "-sSHARED_MEMORY=1" ]
|
||||
@@ -396,12 +396,12 @@ config("compiler") {
|
||||
# to say that it does. Define them here instead.
|
||||
defines += [ "HAVE_SYS_UIO_H" ]
|
||||
|
||||
# When Android requires new flags consider also editing the flags in
|
||||
# the following locations.
|
||||
# When Android requires new flags consider also editing the flags in
|
||||
# the following locations.
|
||||
# Framework plugin_ffi template: packages/flutter_tools/templates/plugin_ffi/src.tmpl/CMakeLists.txt.tmpl
|
||||
# Example PR: https://github.com/flutter/flutter/pull/155508
|
||||
# Dart Lang JNI package: pkgs/jni/src/CMakeLists.txt
|
||||
# Example PR: https://github.com/dart-lang/native/pull/1615
|
||||
# Dart Lang JNI package: pkgs/jni/src/CMakeLists.txt
|
||||
# Example PR: https://github.com/dart-lang/native/pull/1615
|
||||
ldflags += [
|
||||
"-Wl,--no-undefined",
|
||||
"-Wl,--exclude-libs,ALL",
|
||||
|
||||
@@ -11,7 +11,7 @@ declare_args() {
|
||||
# The location of an activated embedded emsdk.
|
||||
emsdk_dir = rebase_path("//flutter/prebuilts/emsdk")
|
||||
|
||||
wasm_use_workers = false
|
||||
wasm_use_pthreads = false
|
||||
wasm_shared_memory = false
|
||||
wasm_use_dwarf = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user