Flip this flag to false, so that in-tree builds will not attempt to (flutter/engine#40195)

Do not include wasm-opt with in-tree dart sdk build
This commit is contained in:
Jackson Gardner 2023-03-09 17:03:01 -08:00 committed by GitHub
parent c133a2fe45
commit e35bbd1b89

View File

@ -380,6 +380,10 @@ def to_gn_args(args):
else:
gn_args['dart_runtime_mode'] = runtime_mode
# If we are building the dart sdk in-tree, exclude the wasm-opt target, as
# it doesn't build properly with our gn configuration.
gn_args['dart_include_wasm_opt'] = False
# Desktop embeddings can have more dependencies than the engine library,
# which can be problematic in some build environments (e.g., building on
# Linux will bring in pkg-config dependencies at generation time). These