Add fuchsia_gn_sdk GN variable pointing to //flutter/tools/fuchsia/gn-sdk (flutter/engine#51287)
The Dart -> Flutter Engine autoroller seems to be failing atm due to
fuchsia build errors.
The Dart SDK CL in [0] is depending on a fuchsia gn sdk import. The
import path defaults to `//third_party/fuchsia/gn-sdk` in the Dart build
rules.
Though flutter seemingly has it in `//flutter/tools/fuchsia/gn-sdk`
(which was added to DEPS in c274921fa6)
=> This is an attempt to override the default & fix autoroller
[0] https://dart-review.googlesource.com/c/sdk/+/355283/14
This commit is contained in:
committed by
GitHub
parent
53ce36aad5
commit
899fc2a7e0
@@ -769,6 +769,7 @@ def to_gn_args(args):
|
||||
|
||||
if args.target_os == 'fuchsia':
|
||||
gn_args['gn_configs_path'] = '//flutter/build/config/fuchsia/gn_configs.gni'
|
||||
gn_args['fuchsia_gn_sdk'] = '//flutter/tools/fuchsia/gn-sdk'
|
||||
if args.fuchsia_target_api_level is not None:
|
||||
gn_args['fuchsia_target_api_level'] = args.fuchsia_target_api_level
|
||||
elif args.target_os == 'fuchsia':
|
||||
|
||||
Reference in New Issue
Block a user