@@ -360,12 +360,6 @@ namespace
360
360
coreclr_shutdown_2_ptr * shutdownCoreCLR,
361
361
const char * clrFilesAbsolutePath)
362
362
{
363
- // TODO: WIP remove COREBUNDLE_BUILD
364
- #ifdef COREBUNDLE_BUILD
365
- * initializeCoreCLR = coreclr_initialize;
366
- *executeAssembly = coreclr_execute_assembly;
367
- *shutdownCoreCLR = coreclr_shutdown_2;
368
- #else
369
363
std::string coreClrDllPath (clrFilesAbsolutePath);
370
364
coreClrDllPath.append (" /" );
371
365
coreClrDllPath.append (coreClrDll);
@@ -404,7 +398,7 @@ namespace
404
398
fprintf (stderr, " Function coreclr_shutdown_2 not found in the libcoreclr.so\n " );
405
399
return false ;
406
400
}
407
- # endif
401
+
408
402
return true ;
409
403
}
410
404
}
@@ -471,13 +465,9 @@ int ExecuteManagedAssembly(
471
465
coreclr_shutdown_2_ptr shutdownCoreCLR;
472
466
if (!GetCoreClrFunctions (&initializeCoreCLR, &executeAssembly, &shutdownCoreCLR, clrFilesAbsolutePath))
473
467
return -1 ;
474
- #ifdef COREBUNDLE_BUILD
475
- bool useServerGcDefault = true ;
476
- #else
477
- bool useServerGcDefault = false ;
478
- #endif
479
468
480
469
// Check whether we are enabling server GC (off by default)
470
+ bool useServerGcDefault = false ;
481
471
const char * useServerGc = GetEnvValueBoolean (serverGcVar, useServerGcDefault);
482
472
483
473
// Check Globalization Invariant mode (false by default)
@@ -506,9 +496,6 @@ int ExecuteManagedAssembly(
506
496
" NATIVE_DLL_SEARCH_DIRECTORIES" ,
507
497
" System.GC.Server" ,
508
498
" System.Globalization.Invariant" ,
509
- #ifdef COREBUNDLE_BUILD
510
- " OVERRIDE_SYSTEM_PATH" ,
511
- #endif
512
499
};
513
500
const char *propertyValues[] = {
514
501
// TRUSTED_PLATFORM_ASSEMBLIES
@@ -523,9 +510,6 @@ int ExecuteManagedAssembly(
523
510
useServerGc,
524
511
// System.Globalization.Invariant
525
512
globalizationInvariant,
526
- #ifdef COREBUNDLE_BUILD
527
- clrFilesAbsolutePath,
528
- #endif
529
513
};
530
514
531
515
void * hostHandle;
0 commit comments