Matan Lurey d740f70f7d Fix build/dart/rules.gni which contains erroneous code after my refactor. (flutter/engine#54867)
In https://github.com/flutter/engine/pull/54845, I removed `common_vm_args = ['--disable-dart-dev']`, but the resulting change created invalid code `vm_args = (args = common_args)`. We don't seem to run this configuration on our own CI, so it wasn't noticed, but it broke the Dart monorepo build, which does use it:

https://ci.chromium.org/p/dart/g/monorepo/console

https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8738311211510911329/+/u/gn_--runtime-mode_debug_--full-dart-sdk_--rbe_--no-goma_--unoptimized_--no-prebuilt-dart-sdk_--gn-args_engine_version__5295ec1b816af727165015d84d4a1091520122ae__--rbe-server-address_unix:___b_s_w_ir_x_w_recipe_cleanup_rbe4v23ir8o_reproxy.sock/stdout

I am open to reverting instead, but this seems straight-forward enough for something that isn't tested on either pre or post-submit.
2024-08-29 16:50:55 +00:00
..