forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBuildOptions.cs
51 lines (47 loc) · 2.09 KB
/
BuildOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
#nullable enable
namespace Wasm.Build.Tests;
public record BuildOptions : MSBuildOptions
{
public BuildOptions(
bool IsPublish = false,
bool AOT = false,
NativeFilesType ExpectedFileType = NativeFilesType.FromRuntimePack,
string? TargetFramework = null,
GlobalizationMode GlobalizationMode = GlobalizationMode.Sharded,
string CustomIcuFile = "",
bool UseCache = true,
bool ExpectSuccess = true,
bool AssertAppBundle = true,
string Label = "",
bool WarnAsError = true,
RuntimeVariant RuntimeType = RuntimeVariant.SingleThreaded,
IDictionary<string, string>? ExtraBuildEnvironmentVariables = null,
string BootConfigFileName = "dotnet.boot.js",
string NonDefaultFrameworkDir = "",
string ExtraMSBuildArgs = "",
bool FeaturePerfTracing = false
) : base(
IsPublish,
TargetFramework ?? BuildTestBase.DefaultTargetFramework,
AOT,
ExpectedFileType,
GlobalizationMode,
CustomIcuFile,
UseCache,
ExpectSuccess,
AssertAppBundle,
Label,
WarnAsError,
RuntimeType,
ExtraBuildEnvironmentVariables,
BootConfigFileName,
NonDefaultFrameworkDir,
ExtraMSBuildArgs,
FeaturePerfTracing
)
{
}
}