@@ -36,7 +36,7 @@ public EnvironmentFile (string path, string abi)
36
36
}
37
37
}
38
38
39
- // This must be identical to the like-named structure in src/monodroid/jni /xamarin-app.h
39
+ // This must be identical to the like-named structure in src/native/xamarin-app-stub /xamarin-app.hh
40
40
public sealed class ApplicationConfig
41
41
{
42
42
public bool uses_mono_llvm ;
@@ -49,6 +49,7 @@ public sealed class ApplicationConfig
49
49
public bool have_runtime_config_blob ;
50
50
public bool have_assemblies_blob ;
51
51
public bool marshal_methods_enabled ;
52
+ public bool ignore_split_configs ;
52
53
public byte bound_stream_io_exception_type ;
53
54
public uint package_naming_policy ;
54
55
public uint environment_variable_count ;
@@ -66,7 +67,7 @@ public sealed class ApplicationConfig
66
67
public string android_package_name = String . Empty ;
67
68
}
68
69
69
- const uint ApplicationConfigFieldCount = 25 ;
70
+ const uint ApplicationConfigFieldCount = 26 ;
70
71
71
72
const string ApplicationConfigSymbolName = "application_config" ;
72
73
const string AppEnvironmentVariablesSymbolName = "app_environment_variables" ;
@@ -255,77 +256,82 @@ static ApplicationConfig ReadApplicationConfig (EnvironmentFile envFile)
255
256
ret . marshal_methods_enabled = ConvertFieldToBool ( "marshal_methods_enabled" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
256
257
break ;
257
258
258
- case 10 : // bound_stream_io_exception_type: byte / .byte
259
+ case 10 : // ignore_split_configs: bool / .byte
260
+ AssertFieldType ( envFile . Path , parser . SourceFilePath , ".byte" , field [ 0 ] , item . LineNumber ) ;
261
+ ret . ignore_split_configs = ConvertFieldToBool ( "ignore_split_configs" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
262
+ break ;
263
+
264
+ case 11 : // bound_stream_io_exception_type: byte / .byte
259
265
AssertFieldType ( envFile . Path , parser . SourceFilePath , ".byte" , field [ 0 ] , item . LineNumber ) ;
260
266
ret . bound_stream_io_exception_type = ConvertFieldToByte ( "bound_stream_io_exception_type" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
261
267
break ;
262
268
263
- case 11 : // package_naming_policy: uint32_t / .word | .long
269
+ case 12 : // package_naming_policy: uint32_t / .word | .long
264
270
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
265
271
ret . package_naming_policy = ConvertFieldToUInt32 ( "package_naming_policy" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
266
272
break ;
267
273
268
- case 12 : // environment_variable_count: uint32_t / .word | .long
274
+ case 13 : // environment_variable_count: uint32_t / .word | .long
269
275
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
270
276
ret . environment_variable_count = ConvertFieldToUInt32 ( "environment_variable_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
271
277
break ;
272
278
273
- case 13 : // system_property_count: uint32_t / .word | .long
279
+ case 14 : // system_property_count: uint32_t / .word | .long
274
280
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
275
281
ret . system_property_count = ConvertFieldToUInt32 ( "system_property_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
276
282
break ;
277
283
278
- case 14 : // number_of_assemblies_in_apk: uint32_t / .word | .long
284
+ case 15 : // number_of_assemblies_in_apk: uint32_t / .word | .long
279
285
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
280
286
ret . number_of_assemblies_in_apk = ConvertFieldToUInt32 ( "number_of_assemblies_in_apk" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
281
287
break ;
282
288
283
- case 15 : // bundled_assembly_name_width: uint32_t / .word | .long
289
+ case 16 : // bundled_assembly_name_width: uint32_t / .word | .long
284
290
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
285
291
ret . bundled_assembly_name_width = ConvertFieldToUInt32 ( "bundled_assembly_name_width" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
286
292
break ;
287
293
288
- case 16 : // number_of_assembly_store_files: uint32_t / .word | .long
294
+ case 17 : // number_of_assembly_store_files: uint32_t / .word | .long
289
295
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
290
296
ret . number_of_assembly_store_files = ConvertFieldToUInt32 ( "number_of_assembly_store_files" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
291
297
break ;
292
298
293
- case 17 : // number_of_dso_cache_entries: uint32_t / .word | .long
299
+ case 18 : // number_of_dso_cache_entries: uint32_t / .word | .long
294
300
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
295
301
ret . number_of_dso_cache_entries = ConvertFieldToUInt32 ( "number_of_dso_cache_entries" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
296
302
break ;
297
303
298
- case 18 : // android_runtime_jnienv_class_token: uint32_t / .word | .long
304
+ case 19 : // android_runtime_jnienv_class_token: uint32_t / .word | .long
299
305
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
300
306
ret . number_of_dso_cache_entries = ConvertFieldToUInt32 ( "android_runtime_jnienv_class_token" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
301
307
break ;
302
308
303
- case 19 : // jnienv_initialize_method_token: uint32_t / .word | .long
309
+ case 20 : // jnienv_initialize_method_token: uint32_t / .word | .long
304
310
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
305
311
ret . number_of_dso_cache_entries = ConvertFieldToUInt32 ( "jnienv_initialize_method_token" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
306
312
break ;
307
313
308
- case 20 : // jnienv_registerjninatives_method_token: uint32_t / .word | .long
314
+ case 21 : // jnienv_registerjninatives_method_token: uint32_t / .word | .long
309
315
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
310
316
ret . number_of_dso_cache_entries = ConvertFieldToUInt32 ( "jnienv_registerjninatives_method_token" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
311
317
break ;
312
318
313
- case 21 : // jni_remapping_replacement_type_count: uint32_t / .word | .long
319
+ case 22 : // jni_remapping_replacement_type_count: uint32_t / .word | .long
314
320
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
315
321
ret . jni_remapping_replacement_type_count = ConvertFieldToUInt32 ( "jni_remapping_replacement_type_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
316
322
break ;
317
323
318
- case 22 : // jni_remapping_replacement_method_index_entry_count: uint32_t / .word | .long
324
+ case 23 : // jni_remapping_replacement_method_index_entry_count: uint32_t / .word | .long
319
325
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
320
326
ret . jni_remapping_replacement_method_index_entry_count = ConvertFieldToUInt32 ( "jni_remapping_replacement_method_index_entry_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
321
327
break ;
322
328
323
- case 23 : // mono_components_mask: uint32_t / .word | .long
329
+ case 24 : // mono_components_mask: uint32_t / .word | .long
324
330
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
325
331
ret . mono_components_mask = ConvertFieldToUInt32 ( "mono_components_mask" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
326
332
break ;
327
333
328
- case 24 : // android_package_name: string / [pointer type]
334
+ case 25 : // android_package_name: string / [pointer type]
329
335
Assert . IsTrue ( expectedPointerTypes . Contains ( field [ 0 ] ) , $ "Unexpected pointer field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
330
336
pointers . Add ( field [ 1 ] . Trim ( ) ) ;
331
337
break ;
0 commit comments