Merge pull request #10017 from sivarv/morphAssertFix
[platform/upstream/coreclr.git] / config.json
1 {
2   "settings": {
3     "CloudDropAccessToken": {
4       "description": "Azure access token",
5       "valueType": "property",
6       "values": [],
7       "defaultValue": ""
8     },
9     "CloudDropAccountName": {
10       "description": "Azure account name.",
11       "valueType": "property",
12       "values": [],
13       "defaultValue": ""
14     },
15     "BuildNumberMajor": {
16       "description": "Product build major number.",
17       "valueType": "property",
18       "values": [],
19       "defaultValue": ""
20     },
21     "BuildNumberMinor": {
22       "description": "Product build minor number.",
23       "valueType": "property",
24       "values": [],
25       "defaultValue": ""
26     },
27     "__Container": {
28       "description": "Container name for Azure upload.",
29       "valueType": "property",
30       "values": [],
31       "defaultValue": ""
32     },
33     "MsBuildFileLogging": {
34       "description": "MsBuild logging options.",
35       "valueType": "passThrough",
36       "values": [],
37       "defaultValue": "/flp:v=normal"
38     },
39     "MsBuildEventLogging": {
40       "description": "MsBuild logging options.",
41       "valueType": "passThrough",
42       "values": [],
43       "defaultValue": "/l:BinClashLogger,Tools/net45/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log"
44     },
45     "FilterToOSGroup": {
46       "description": "Specifies the OSGroup.",
47       "valueType": "property",
48       "values": [ "Windows_NT", "Linux", "Unix", "OSX" ],
49       "defaultValue": "${OSName}"
50     },
51     "RestoreNETCorePlatforms": {
52       "description": "MsBuild target that restores the NETCore packages.",
53       "valueType": "target",
54       "values": [],
55       "defaultValue": ""
56     },
57     "RestoreOptData": {
58       "description": "MsBuild target that restores optimization profile data.",
59       "valueType": "target",
60       "values": [],
61       "defaultValue": ""
62     },
63     "RestoreDuringBuild": {
64       "description": "Enables/disables package restore.",
65       "valueType": "property",
66       "values": [ true, false ],
67       "defaultValue": true
68     },
69     "Project": {
70       "description": "Project where the commands are going to be applied.",
71       "valueType": "passThrough",
72       "values": [],
73       "defaultValue": ""
74     },
75     "__BuildType": {
76       "description": "Specifies the configuration to publish packages",
77       "valueType": "property",
78       "values": [ "release", "debug", "checked" ],
79       "defaultValue": "debug"
80     },
81     "__BuildArch": {
82       "description": "Specifies the architecture to publish packages",
83       "valueType": "property",
84       "values": [ "x64", "x86", "arm", "arm64" ],
85       "defaultValue": "${CPUArch}"
86     },
87     "__BuildOS": {
88       "description": "Specifies the OS to publish packages.",
89       "valueType": "property",
90       "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT" ],
91       "defaultValue": "${OSName}"
92     },
93     "__DistroRid": {
94       "description": "Specifies the distro rid for Unix OS.",
95       "valueType": "property",
96       "values": [],
97       "defaultValue": "${OSRid}"
98     },
99     "__VSVersion": {
100       "description": "Sets the Visual Studio version to use.",
101       "valueType": "property",
102       "values": [],
103       "defaultValue": "vs2015"
104     },
105     "__ProjectDir": {
106       "description": "Directory of the dir.props file.",
107       "valueType": "property",
108       "values": [],
109       "defaultValue": ""
110     },
111     "__SourceDir": {
112       "description": "Source directory.",
113       "valueType": "property",
114       "values": [],
115       "defaultValue": ""
116     },
117     "__PackagesDir": {
118       "description": "Packages directory.",
119       "valueType": "property",
120       "values": [],
121       "defaultValue": ""
122     },
123     "__RootBinDir": {
124       "description": "Root bin directory.",
125       "valueType": "property",
126       "values": [],
127       "defaultValue": ""
128     },
129     "__BinDir": {
130       "description": "Bin directory of specific OS, Arch and Type being built.",
131       "valueType": "property",
132       "values": [],
133       "defaultValue": ""
134     },
135     "__IntermediatesDir": {
136       "description": "Intermediates bin directory.",
137       "valueType": "property",
138       "values": [],
139       "defaultValue": ""
140     },
141     "__PackagesBinDir": {
142       "description": "Packages bin directory.",
143       "valueType": "property",
144       "values": [],
145       "defaultValue": ""
146     },
147     "__TestWorkingDir": {
148       "description": "Test working directory.",
149       "valueType": "property",
150       "values": [],
151       "defaultValue": ""
152     },
153     "GenerateVersionHeader": {
154       "description": "Generates _version.h",
155       "valueType": "passThrough",
156       "values": [],
157       "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
158     },
159     "GenerateVersionSourceFile": {
160       "description": "Generate version.cpp",
161       "valueType": "passThrough",
162       "values": [],
163       "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
164     },
165     "NativeVersionSourceFile": {
166       "description": "Provides location for version.cpp",
167       "valueType": "property",
168       "values": [],
169       "defaultValue": ""
170     },
171     "NativeVersionHeaderFile": {
172       "description": "Provides location for _version.h",
173       "valueType": "property",
174       "values": [],
175       "defaultValue": ""
176     },
177     "OfficialBuildId": {
178       "description": "Official Build Id.",
179       "valueType": "property",
180       "values": [],
181       "defaultValue": ""
182     },
183     "Configuration": {
184       "description": "Specifies the build type for native build.",
185       "valueType": "property",
186       "values": [ "debug", "release", "checked" ],
187       "defaultValue": "debug"
188     },
189     "UseEnv": {
190       "description": "Set when building for arm64.",
191       "valueType": "property",
192       "values": [ true, false ],
193       "defaultValue": true
194     },
195     "Platform": {
196       "description": "Sets the build arch for native build.",
197       "valueType": "property",
198       "values": [ "x86", "x64", "arm", "arm64" ],
199       "defaultValue": "${CPUArch}"
200     },
201     "Rebuild": {
202       "description": "Specifies rebuild target.",
203       "valueType": "target",
204       "values": [],
205       "defaultValue": ""
206     },
207     "MsBuildLog": {
208       "description": "Specifies build logs for build alias.",
209       "valueType": "passThrough",
210       "values": [],
211       "defaultValue": ""
212     },
213     "MsBuildWrn": {
214       "description": "Specifies build logs for build alias.",
215       "valueType": "passThrough",
216       "values": [],
217       "defaultValue": ""
218     },
219     "MsBuildErr": {
220       "description": "Specifies build logs for build alias.",
221       "valueType": "passThrough",
222       "values": [],
223       "defaultValue": ""
224     },
225     "BuildNugetPackage": {
226       "description": "Specifies to build nuget packages.",
227       "valueType": "property",
228       "values": [ true, false ],
229       "defaultValue": true
230     },
231     "SignType": {
232       "description": "Sets the SignType.",
233       "valueType": "property",
234       "values": [ "real" ],
235       "defaultValue": ""
236     },
237     "CLRTestPriorityToBuild": {
238       "description": "Sets priority to build test.",
239       "valueType": "property",
240       "values": [],
241       "defaultValue": ""
242     },
243     "IlasmRoundTrip": {
244       "description": "Sets ilasm round trip property.",
245       "valueType": "property",
246       "values": [ true, false ],
247       "defaultValue": true
248     },
249     "CreateTestOverlay": {
250       "description": "Runs CreateTestOverlay target.",
251       "valueType": "target",
252       "values": [],
253       "defaultValue": ""
254     },
255     "CreateNonWindowsTestOverlay": {
256       "description": "Runs CreateNonWindowsTestOverlay target.",
257       "valueType": "target",
258       "values": [],
259       "defaultValue": ""
260     },
261     "Verbosity": {
262       "description": "Sets build verbosity.",
263       "valueType": "passThrough",
264       "values": [],
265       "defaultValue": "/v:normal"
266     },
267     "Build": {
268       "description": "Runs the build target.",
269       "valueType": "target",
270       "values": [],
271       "defaultValue": ""
272     },
273     "UseSharedCompilation": {
274       "description": "Sets the use shared compilation property.",
275       "valueType": "property",
276       "values": [ true, false ],
277       "defaultValue": true
278     },
279     "UpdateInvalidPackageVersions": {
280       "description": "Runs the target to update package versions.",
281       "valueType": "target",
282       "values": [],
283       "defaultValue": ""
284     },
285     "GenerateRuntimeLayout": {
286       "description": "Generates Core_Root folder",
287       "valueType": "property",
288       "values": [ true, false ],
289       "defaultValue": true
290     },
291     "BuildTestsAgainstPackages": {
292       "description": "Sets the property specifying if we're building tests against packages",
293       "valueType": "property",
294       "values": [ true, false ],
295       "defaultValue": true
296     },
297     "PublishTestNativeBins": {
298       "description": "Publishes test native binaries to Azure on non-windows",
299       "valueType": "property",
300       "values": [ true, false ],
301       "defaultValue": true
302     },
303     "BuildWrappers": {
304       "description": "Builds test Xunit wrappers",
305       "valueType": "property",
306       "values": [ true, false ],
307       "defaultValue": true
308     },
309     "RuntimeId": {
310       "description": "Specifies the OS to build Core_Root for",
311       "valueType": "property",
312       "values": [ "debian.8-x64", "fedora.23-x64", "opensuse.42.1-x64", "osx.10.10-x64", "rhel.7-x64", "ubuntu.14.04-x64", "ubuntu.16.04-x64", "ubuntu.16.10-x64" ],
313       "defaultValue": "${__RuntimeId}"
314     },
315     "UpdateDependencies": {
316       "description": "MsBuild target that updates project.json dependencies.",
317       "valueType": "target",
318       "values": [],
319       "defaultValue": ""
320     },
321     "BatchRestorePackages": {
322       "description": "MsBuild target that restores the packages.",
323       "valueType": "target",
324       "values": [],
325       "defaultValue": ""
326     },
327     "BinPlaceRef": {
328       "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
329       "valueType": "target",
330       "values": [],
331       "defaultValue": ""
332     },
333     "BinPlaceProduct": {
334       "description": "Place test dependencies in bin/Product folder for building tests against",
335       "valueType": "target",
336       "values": [],
337       "defaultValue": ""
338     },
339     "CopyCrossgenToProduct": {
340       "description": "Place crossgen.exe in bin/Product folder for building tests against",
341       "valueType": "target",
342       "values": [],
343       "defaultValue": ""
344     },
345     "ExtraParameters": {
346       "description": "Extra parameters will be passed to the selected command.",
347       "valueType": "passThrough",
348       "values": [],
349       "defaultValue": ""
350     }
351   },
352   "commands": {
353     "build": {
354       "alias": {
355         "generateHeaderWindows": {
356           "description": "Generates _version.h",
357           "settings": {
358             "GenerateVersionHeader": "default",
359             "NativeVersionHeaderFile": "default"
360           }
361         },
362         "generateHeaderUnix": {
363           "description": "Generates version.cpp",
364           "settings": {
365             "GenerateVersionSourceFile": "default",
366             "NativeVersionSourceFile": "default"
367           }
368         },
369         "verbose": {
370           "description": "Sets the verbosity",
371           "settings": {
372             "Verbosity": "/v:detailed"
373           }
374         },
375         "disableoss": {
376           "description": "Sets the sign type.",
377           "settings": {
378             "SignType": "real"
379           }
380         },
381         "buildType": {
382           "description": "Sets buildtype.",
383           "settings": {
384             "__BuildType": "default"
385           }
386         },
387         "buildArch": {
388           "description": "Sets buildarch.",
389           "settings": {
390             "__BuildArch": "default"
391           }
392         },
393         "buildOS": {
394           "description": "Sets the OS to build.",
395           "settings": {
396             "__BuildOS": "default"
397           }
398         },
399         "testOverlay": {
400           "description": "Runs test overlay target.",
401           "settings": {
402             "CreateTestOverlay": "default"
403           }
404         },
405         "priority": {
406           "description": "Sets CLRTestPriorityToBuild property.",
407           "settings": {
408             "CLRTestPriorityToBuild": "default"
409           }
410         },
411         "skipRestore": {
412           "description": "Skips restoring packages during build.",
413           "settings": {
414             "RestoreDuringBuild": false
415           }
416         },
417         "BuildTarget": {
418           "description": "Runs the build target.",
419           "settings": {
420             "Build": "default"
421           }
422         }
423       },
424       "defaultValues": {
425         "toolName": "msbuild",
426         "settings": {
427           "MsBuildLog": "default",
428           "MsBuildWrn": "default",
429           "MsBuildErr": "default",
430           "MsBuildEventLogging": "default"
431         }
432       }
433     },
434     "sync": {
435       "alias": {
436         "p": {
437           "description": "Restores all NuGet packages for repository.",
438           "settings": {
439             "Project": "./build.proj",
440             "RestoreDuringBuild": true,
441             "RestoreNETCorePlatforms": "default"
442           }
443         },
444         "optdata": {
445           "description": "Restores optimization profile data for the repository.",
446           "settings": {
447             "Project": "./build.proj",
448             "RestoreDuringBuild": true,
449             "RestoreOptData": "default"
450           }
451         },
452         "ab": {
453           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
454           "settings": {
455             "Project": "./src/syncAzure.proj"
456           }
457         },
458         "n": {
459           "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
460           "settings": {
461             "Project": "./src/syncAzure.proj",
462             "PublishTestNativeBins": "true"
463           }
464         },
465         "azureToken": {
466           "description": "Account token to connect to Azure Blob storage.",
467           "settings": {
468             "CloudDropAccessToken": "default"
469           }
470         },
471         "azureAccount": {
472           "description": "Account name to connect to Azure Blob storage.",
473           "settings": {
474             "CloudDropAccountName": "default"
475           }
476         },
477         "container": {
478           "description": "Container name to download from in Azure Blob storage.",
479           "settings": {
480             "__Container": "default"
481           }
482         },
483         "runtimeId": {
484           "description": "Runtime ID of the binaries in the specified container.",
485           "settings": {
486             "RuntimeId": "default"
487           }
488         },
489         "verbose": {
490           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
491           "settings": {
492             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
493           }
494         },
495         "buildMajor": {
496           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
497           "settings": {
498             "BuildNumberMajor": "default"
499           }
500         },
501         "buildMinor": {
502           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
503           "settings": {
504             "BuildNumberMinor": "default"
505           }
506         }
507       },
508       "defaultValues": {
509         "toolName": "msbuild",
510         "settings": {
511           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
512         }
513       }
514     },
515     "publish-packages": {
516       "alias": {
517         "azureToken": {
518           "description": "Account token to connect to Azure Blob storage.",
519           "settings": {
520             "CloudDropAccessToken": "default"
521           }
522         },
523         "azureAccount": {
524           "description": "Account name to connect to Azure Blob storage.",
525           "settings": {
526             "CloudDropAccountName": "default"
527           }
528         },
529         "container": {
530           "description": "Container name to upload into in Azure Blob storage.",
531           "settings": {
532             "__Container": "default"
533           }
534         },
535         "buildArch": {
536           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
537           "settings": {
538             "__BuildArch": "default"
539           }
540         },
541         "buildType": {
542           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
543           "settings": {
544             "__BuildType": "default"
545           }
546         },
547         "buildOS": {
548           "description": "Specifies the OS to publish packages.",
549           "settings": {
550             "__BuildOS": "default"
551           }
552         },
553         "distroRid": {
554           "description": "Specifies distro rid for Unix OS.",
555           "settings": {
556             "__DistroRid": "default"
557           }
558         },
559         "PublishTestNativeBins": {
560           "description": "Publishes test native binaries.",
561           "settings": {
562             "PublishTestNativeBins": "default"
563           }
564         }
565       },
566       "defaultValues": {
567         "toolName": "msbuild",
568         "settings": {
569           "Project": "./src/publish.proj",
570           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
571         }
572       }
573     },
574     "build-packages": {
575       "alias": {
576         "buildArch": {
577           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
578           "settings": {
579             "__BuildArch": "default"
580           }
581         },
582         "buildType": {
583           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
584           "settings": {
585             "__BuildType": "default"
586           }
587         },
588         "distroRid": {
589           "description": "Specifies distro rid for Unix OS.",
590           "settings": {
591             "__DistroRid": "default"
592           }
593         }
594       },
595       "defaultValues": {
596         "toolName": "msbuild",
597         "settings": {
598           "__BuildOS": "default",
599           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
600           "MsBuildEventLogging": "default",
601           "Project": "src/.nuget/packages.builds"
602         }
603       }
604     }
605   },
606   "tools": {
607     "msbuild": {
608       "osSpecific": {
609         "windows": {
610           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
611           "path": "Tools/msbuild.cmd"
612         },
613         "unix": {
614           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount",
615           "path": "Tools/msbuild.sh"
616         }
617       },
618       "valueTypes": {
619         "property": "/p:{name}={value}",
620         "target": "/t:{name}",
621         "internal": "/{name}"
622       }
623     },
624     "terminal": {
625       "run": {
626         "windows": "cmd",
627         "unix": "sh"
628       },
629       "valueTypes": {}
630     }
631   }
632 }