Skip to content

Commit cdb29b8

Browse files
committed
one more deprecated key
1 parent 3892c92 commit cdb29b8

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pkgs/native_assets_cli/test/code_assets/config_test.dart

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,14 @@ void main() async {
103103
},
104104
},
105105
},
106-
'c_compiler': {
107-
'ar': fakeAr.toFilePath(),
108-
'ld': fakeLd.toFilePath(),
109-
'cc': fakeClang.toFilePath(),
110-
'env_script': fakeVcVars.toFilePath(),
111-
'env_script_arguments': ['arg0', 'arg1'],
112-
},
106+
if (includeDeprecated)
107+
'c_compiler': {
108+
'ar': fakeAr.toFilePath(),
109+
'ld': fakeLd.toFilePath(),
110+
'cc': fakeClang.toFilePath(),
111+
'env_script': fakeVcVars.toFilePath(),
112+
'env_script_arguments': ['arg0', 'arg1'],
113+
},
113114
if (hookType == 'build' && includeDeprecated) 'dry_run': false,
114115
if (hookType == 'build' && includeDeprecated) 'linking_enabled': false,
115116
if (includeDeprecated) 'link_mode_preference': 'prefer-static',

0 commit comments

Comments
 (0)