@@ -46,6 +46,7 @@ public sealed class ApplicationConfig
46
46
public bool broken_exception_transitions ;
47
47
public bool jni_add_native_method_registration_attribute_present ;
48
48
public bool have_runtime_config_blob ;
49
+ public bool fastdev_enabled ;
49
50
public bool marshal_methods_enabled ;
50
51
public bool ignore_split_configs ;
51
52
public byte bound_stream_io_exception_type ;
@@ -65,7 +66,7 @@ public sealed class ApplicationConfig
65
66
public string android_package_name = String . Empty ;
66
67
}
67
68
68
- const uint ApplicationConfigFieldCount = 24 ;
69
+ const uint ApplicationConfigFieldCount = 25 ;
69
70
70
71
const string ApplicationConfigSymbolName = "application_config" ;
71
72
const string AppEnvironmentVariablesSymbolName = "app_environment_variables" ;
@@ -239,87 +240,92 @@ static ApplicationConfig ReadApplicationConfig (EnvironmentFile envFile)
239
240
ret . have_runtime_config_blob = ConvertFieldToBool ( "have_runtime_config_blob" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
240
241
break ;
241
242
242
- case 7 : // marshal_methods_enabled: bool / .byte
243
+ case 7 : // fastdev_enabled: bool / .byte
244
+ AssertFieldType ( envFile . Path , parser . SourceFilePath , ".byte" , field [ 0 ] , item . LineNumber ) ;
245
+ ret . fastdev_enabled = ConvertFieldToBool ( "fastdev_enabled" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
246
+ break ;
247
+
248
+ case 8 : // marshal_methods_enabled: bool / .byte
243
249
AssertFieldType ( envFile . Path , parser . SourceFilePath , ".byte" , field [ 0 ] , item . LineNumber ) ;
244
250
ret . marshal_methods_enabled = ConvertFieldToBool ( "marshal_methods_enabled" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
245
251
break ;
246
252
247
- case 8 : // ignore_split_configs: bool / .byte
253
+ case 9 : // ignore_split_configs: bool / .byte
248
254
AssertFieldType ( envFile . Path , parser . SourceFilePath , ".byte" , field [ 0 ] , item . LineNumber ) ;
249
255
ret . ignore_split_configs = ConvertFieldToBool ( "ignore_split_configs" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
250
256
break ;
251
257
252
- case 9 : // bound_stream_io_exception_type: byte / .byte
258
+ case 10 : // bound_stream_io_exception_type: byte / .byte
253
259
AssertFieldType ( envFile . Path , parser . SourceFilePath , ".byte" , field [ 0 ] , item . LineNumber ) ;
254
260
ret . bound_stream_io_exception_type = ConvertFieldToByte ( "bound_stream_io_exception_type" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
255
261
break ;
256
262
257
- case 10 : // package_naming_policy: uint32_t / .word | .long
263
+ case 11 : // package_naming_policy: uint32_t / .word | .long
258
264
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
259
265
ret . package_naming_policy = ConvertFieldToUInt32 ( "package_naming_policy" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
260
266
break ;
261
267
262
- case 11 : // environment_variable_count: uint32_t / .word | .long
268
+ case 12 : // environment_variable_count: uint32_t / .word | .long
263
269
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
264
270
ret . environment_variable_count = ConvertFieldToUInt32 ( "environment_variable_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
265
271
break ;
266
272
267
- case 12 : // system_property_count: uint32_t / .word | .long
273
+ case 13 : // system_property_count: uint32_t / .word | .long
268
274
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
269
275
ret . system_property_count = ConvertFieldToUInt32 ( "system_property_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
270
276
break ;
271
277
272
- case 13 : // number_of_assemblies_in_apk: uint32_t / .word | .long
278
+ case 14 : // number_of_assemblies_in_apk: uint32_t / .word | .long
273
279
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
274
280
ret . number_of_assemblies_in_apk = ConvertFieldToUInt32 ( "number_of_assemblies_in_apk" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
275
281
break ;
276
282
277
- case 14 : // number_of_assembly_store_files: uint32_t / .word | .long
283
+ case 15 : // number_of_assembly_store_files: uint32_t / .word | .long
278
284
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
279
285
ret . number_of_assembly_store_files = ConvertFieldToUInt32 ( "number_of_assembly_store_files" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
280
286
break ;
281
287
282
- case 15 : // number_of_dso_cache_entries: uint32_t / .word | .long
288
+ case 16 : // number_of_dso_cache_entries: uint32_t / .word | .long
283
289
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
284
290
ret . number_of_dso_cache_entries = ConvertFieldToUInt32 ( "number_of_dso_cache_entries" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
285
291
break ;
286
292
287
- case 16 : // number_of_aot_cache_entries: uint32_t / .word | .long
293
+ case 17 : // number_of_aot_cache_entries: uint32_t / .word | .long
288
294
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
289
295
ret . number_of_aot_cache_entries = ConvertFieldToUInt32 ( "number_of_aot_cache_entries" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
290
296
break ;
291
297
292
- case 17 : // android_runtime_jnienv_class_token: uint32_t / .word | .long
298
+ case 18 : // android_runtime_jnienv_class_token: uint32_t / .word | .long
293
299
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
294
300
ret . android_runtime_jnienv_class_token = ConvertFieldToUInt32 ( "android_runtime_jnienv_class_token" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
295
301
break ;
296
302
297
- case 18 : // jnienv_initialize_method_token: uint32_t / .word | .long
303
+ case 19 : // jnienv_initialize_method_token: uint32_t / .word | .long
298
304
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
299
305
ret . jnienv_initialize_method_token = ConvertFieldToUInt32 ( "jnienv_initialize_method_token" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
300
306
break ;
301
307
302
- case 19 : // jnienv_registerjninatives_method_token: uint32_t / .word | .long
308
+ case 20 : // jnienv_registerjninatives_method_token: uint32_t / .word | .long
303
309
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
304
310
ret . jnienv_registerjninatives_method_token = ConvertFieldToUInt32 ( "jnienv_registerjninatives_method_token" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
305
311
break ;
306
312
307
- case 20 : // jni_remapping_replacement_type_count: uint32_t / .word | .long
313
+ case 21 : // jni_remapping_replacement_type_count: uint32_t / .word | .long
308
314
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
309
315
ret . jni_remapping_replacement_type_count = ConvertFieldToUInt32 ( "jni_remapping_replacement_type_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
310
316
break ;
311
317
312
- case 21 : // jni_remapping_replacement_method_index_entry_count: uint32_t / .word | .long
318
+ case 22 : // jni_remapping_replacement_method_index_entry_count: uint32_t / .word | .long
313
319
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
314
320
ret . jni_remapping_replacement_method_index_entry_count = ConvertFieldToUInt32 ( "jni_remapping_replacement_method_index_entry_count" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
315
321
break ;
316
322
317
- case 22 : // mono_components_mask: uint32_t / .word | .long
323
+ case 23 : // mono_components_mask: uint32_t / .word | .long
318
324
Assert . IsTrue ( expectedUInt32Types . Contains ( field [ 0 ] ) , $ "Unexpected uint32_t field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
319
325
ret . mono_components_mask = ConvertFieldToUInt32 ( "mono_components_mask" , envFile . Path , parser . SourceFilePath , item . LineNumber , field [ 1 ] ) ;
320
326
break ;
321
327
322
- case 23 : // android_package_name: string / [pointer type]
328
+ case 24 : // android_package_name: string / [pointer type]
323
329
Assert . IsTrue ( expectedPointerTypes . Contains ( field [ 0 ] ) , $ "Unexpected pointer field type in '{ envFile . Path } :{ item . LineNumber } ': { field [ 0 ] } ") ;
324
330
pointers . Add ( field [ 1 ] . Trim ( ) ) ;
325
331
break ;
0 commit comments