Skip to content

GN warning about dart_include_wasm_opt in some configs #123629

@zanderso

Description

@zanderso

The GN step is issuing a warning in some configs. One is android_debug_unopt:

./flutter/tools/gn --android --no-lto --unopt --runtime-mode debug --goma
Generating GN files in: out/android_debug_unopt
WARNING at the command-line "--args":1:781: Build argument has no effect.
is_debug=true use_goma=true goma_dir="/usr/local/google/home/zra/flutter_goma" full_dart_sdk=false skia_enable_flutter_defines=true skia_use_dng_sdk=false skia_use_sfntly=false skia_enable_pdf=false skia_use_x11=false skia_use_wuffs=true skia_use_expat=true skia_use_fontconfig=false skia_use_legacy_layer_bounds=true skia_use_icu=true is_official_build=true android_full_debug=true is_clang=true skia_gl_standard="gles" use_clang_static_analyzer=false enable_coverage=false enable_lto=false target_os="android" target_cpu="arm" dart_target_arch="arm" flutter_use_fontconfig=false dart_component_kind="static_library" embedder_for_target=false dart_lib_export_symbols=false flutter_runtime_mode="debug" dart_version_git_info=true dart_runtime_mode="develop" dart_include_wasm_opt=false enable_desktop_embeddings=true bssl_use_clang_integrated_as=true skia_use_gl=true skia_use_vulkan=true skia_use_vma=false shell_enable_vulkan=true disable_hidden_visibility=false stripped_symbols=true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^----
The variable "dart_include_wasm_opt" was set as a build argument
but never appeared in a declare_args() block in any buildfile.

To view all possible args, run "gn args --list <out_dir>"

The build continued as if that argument was unspecified.

Generating compile_commands took 49ms
Done. Made 742 targets from 271 files in 3080ms

cc @eyebrowsoffire

Metadata

Metadata

Labels

c: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions