public AndroidApkToolchain(AndroidNdk ndk, bool useStatic, bool mainTarget) : base(ndk)
 {
     DynamicLibraryFormat = useStatic ? new AndroidApkStaticLibraryFormat(this) as NativeProgramFormat :
                            new AndroidApkDynamicLibraryFormat(this) as NativeProgramFormat;
     ExecutableFormat = mainTarget ?
                        new AndroidApkFormat(this) as NativeProgramFormat :
                        new AndroidApkMainModuleFormat(this) as NativeProgramFormat;
     CppCompiler = new AndroidNdkCompilerNoThumb(ActionName, Architecture, Platform, Sdk, ndk.ApiLevel, useStatic);
 }
 public DotsRuntimeNativeProgramConfiguration(CodeGen codeGen, ToolChain toolChain, string identifier, DotsRuntimeCSharpProgramConfiguration cSharpConfig, NativeProgramFormat executableFormat = null) : base(codeGen, toolChain, false)
 {
     Identifier        = identifier;
     CSharpConfig      = cSharpConfig;
     _executableFormat = executableFormat;
 }
 public DotsRuntimeCSharpProgramConfiguration(CSharpCodeGen csharpCodegen, CodeGen cppCodegen,
                                              //The stevedore global manifest will override DownloadableCsc.Csc72 artifacts and use Csc73
                                              ToolChain nativeToolchain, ScriptingBackend scriptingBackend, string identifier, bool enableUnityCollectionsChecks, NativeProgramFormat executableFormat = null) : base(csharpCodegen, DownloadableCsc.Csc72, HostPlatform.IsWindows ? (DebugFormat)DebugFormat.Pdb : DebugFormat.PortablePdb, nativeToolchain.Architecture is x86Architecture ? nativeToolchain.Architecture : null)
 {
     NativeProgramConfiguration = new DotsRuntimeNativeProgramConfiguration(cppCodegen, nativeToolchain, identifier, this, executableFormat: executableFormat);
     Identifier = identifier;
     EnableUnityCollectionsChecks = enableUnityCollectionsChecks;
     ScriptingBackend             = scriptingBackend;
 }
 public IOSStaticLibsAppToolchain(IOSSimulatorSdk sdk, string minOSVersion) : base(sdk, minOSVersion)
 {
     DynamicLibraryFormat = StaticLibraryFormat;
 }