Skip to content

Commit

Permalink
one more deprecated key
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes committed Jan 8, 2025
1 parent 3892c92 commit cdb29b8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pkgs/native_assets_cli/test/code_assets/config_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,14 @@ void main() async {
},
},
},
'c_compiler': {
'ar': fakeAr.toFilePath(),
'ld': fakeLd.toFilePath(),
'cc': fakeClang.toFilePath(),
'env_script': fakeVcVars.toFilePath(),
'env_script_arguments': ['arg0', 'arg1'],
},
if (includeDeprecated)
'c_compiler': {
'ar': fakeAr.toFilePath(),
'ld': fakeLd.toFilePath(),
'cc': fakeClang.toFilePath(),
'env_script': fakeVcVars.toFilePath(),
'env_script_arguments': ['arg0', 'arg1'],
},
if (hookType == 'build' && includeDeprecated) 'dry_run': false,
if (hookType == 'build' && includeDeprecated) 'linking_enabled': false,
if (includeDeprecated) 'link_mode_preference': 'prefer-static',
Expand Down

0 comments on commit cdb29b8

Please sign in to comment.