Merge pull request #6534 from RussKeldorph/fix6236
[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     "MsBuildParameters": {
28       "description": "MsBuild building options.",
29       "valueType": "passThrough",
30       "values": [],
31       "defaultValue": "/nologo /verbosity:minimal /clp:Summary"
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     "RestoreDuringBuild": {
58       "description": "Enables/disables package restore.",
59       "valueType": "property",
60       "values": [ true, false ],
61       "defaultValue": true
62     },
63     "Project": {
64       "description": "Project where the commands are going to be applied.",
65       "valueType": "passThrough",
66       "values": [],
67       "defaultValue": ""
68     },
69     "__BuildType": {
70       "description": "Specifies the configuration to publish packages",
71       "valueType": "property",
72       "values": [ "release", "debug", "checked" ],
73       "defaultValue": "debug"
74     },
75     "__BuildArch": {
76       "description": "Specifies the architecture to publish packages",
77       "valueType": "property",
78       "values": [ "x64", "x86", "arm", "arm64" ],
79       "defaultValue": "${CPUArch}"
80     },
81     "__BuildOS": {
82       "description": "Specifies the OS to publish packages.",
83       "valueType": "property",
84       "values": [ "Linux", "OSX", "FreeBSD", "OpenBSD", "NetBSD", "SunOS", "Windows_NT" ],
85       "defaultValue": "${OSName}"
86     },
87     "__DistroRid": {
88       "description": "Specifies the distro rid for Unix OS.",
89       "valueType": "property",
90       "values": [],
91       "defaultValue": "${OSRid}"
92     },
93     "__VSVersion": {
94       "description": "Sets the Visual Studio version to use.",
95       "valueType": "property",
96       "values": [],
97       "defaultValue": "vs2015"
98     },
99     "__ProjectDir": {
100       "description": "Directory of the dir.props file.",
101       "valueType": "property",
102       "values": [],
103       "defaultValue": ""
104     },
105     "__SourceDir": {
106       "description": "Source directory.",
107       "valueType": "property",
108       "values": [],
109       "defaultValue": ""
110     },
111     "__PackagesDir": {
112       "description": "Packages directory.",
113       "valueType": "property",
114       "values": [],
115       "defaultValue": ""
116     },
117     "__RootBinDir": {
118       "description": "Root bin directory.",
119       "valueType": "property",
120       "values": [],
121       "defaultValue": ""
122     },
123     "__BinDir": {
124       "description": "Bin directory of specific OS, Arch and Type being built.",
125       "valueType": "property",
126       "values": [],
127       "defaultValue": ""
128     },
129     "__IntermediatesDir": {
130       "description": "Intermediates bin directory.",
131       "valueType": "property",
132       "values": [],
133       "defaultValue": ""
134     },
135     "__PackagesBinDir": {
136       "description": "Packages bin directory.",
137       "valueType": "property",
138       "values": [],
139       "defaultValue": ""
140     },
141     "__TestWorkingDir": {
142       "description": "Test working directory.",
143       "valueType": "property",
144       "values": [],
145       "defaultValue": ""
146     },
147     "GenerateVersionHeader": {
148       "description": "Generates _version.h",
149       "valueType": "passThrough",
150       "values": [],
151       "defaultValue": "/t:GenerateVersionHeader /p:GenerateVersionHeader=true"
152     },
153     "GenerateVersionSourceFile": {
154       "description": "Generate version.cpp",
155       "valueType": "passThrough",
156       "values": [],
157       "defaultValue": "/t:GenerateVersionSourceFile /p:GenerateVersionSourceFile=true"
158     },
159     "NativeVersionSourceFile": {
160       "description": "Provides location for version.cpp",
161       "valueType": "property",
162       "values": [],
163       "defaultValue": ""
164     },
165     "NativeVersionHeaderFile": {
166       "description": "Provides location for _version.h",
167       "valueType": "property",
168       "values": [],
169       "defaultValue": ""
170     },
171     "OfficialBuildId": {
172       "description": "Official Build Id.",
173       "valueType": "property",
174       "values": [],
175       "defaultValue": ""
176     },
177     "Configuration": {
178       "description": "Specifies the build type for native build.",
179       "valueType": "property",
180       "values": [ "debug", "release", "checked" ],
181       "defaultValue": "debug"
182     },
183     "UseEnv": {
184       "description": "Set when building for arm64.",
185       "valueType": "property",
186       "values": [ true, false ],
187       "defaultValue": true
188     },
189     "Platform": {
190       "description": "Sets the build arch for native build.",
191       "valueType": "property",
192       "values": [ "x86", "x64", "arm", "arm64" ],
193       "defaultValue": "${CPUArch}"
194     },
195     "Rebuild": {
196       "description": "Specifies rebuild target.",
197       "valueType": "target",
198       "values": [],
199       "defaultValue": ""
200     },
201     "MsBuildLog": {
202       "description": "Specifies build logs for build alias.",
203       "valueType": "passThrough",
204       "values": [],
205       "defaultValue": ""
206     },
207     "MsBuildWrn": {
208       "description": "Specifies build logs for build alias.",
209       "valueType": "passThrough",
210       "values": [],
211       "defaultValue": ""
212     },
213     "MsBuildErr": {
214       "description": "Specifies build logs for build alias.",
215       "valueType": "passThrough",
216       "values": [],
217       "defaultValue": ""
218     },
219     "BuildNugetPackage": {
220       "description": "Specifies to build nuget packages.",
221       "valueType": "property",
222       "values": [ true, false ],
223       "defaultValue": true
224     },
225     "SignType": {
226       "description": "Sets the SignType.",
227       "valueType": "property",
228       "values": [ "real" ],
229       "defaultValue": ""
230     },
231     "maxcpucount": {
232       "description": "Msbuild internal command.",
233       "valueType": "internal",
234       "values": [],
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     "Verbosity": {
256       "description": "Sets build verbosity.",
257       "valueType": "passThrough",
258       "values": [],
259       "defaultValue": "/v:normal"
260     },
261     "Build": {
262       "description": "Runs the build target.",
263       "valueType": "target",
264       "values": [],
265       "defaultValue": ""
266     },
267     "UseSharedCompilation": {
268       "description": "Sets the use shared compilation property.",
269       "valueType": "property",
270       "values": [ true, false ],
271       "defaultValue": true
272     },
273     "UpdateInvalidPackageVersions": {
274       "description": "Runs the target to update package versions.",
275       "valueType": "target",
276       "values": [],
277       "defaultValue": ""
278     },
279     "ExtraParameters": {
280       "description": "Extra parameters will be passed to the selected command.",
281       "valueType": "passThrough",
282       "values": [],
283       "defaultValue": ""
284     }
285   },
286   "commands": {
287     "build": {
288       "alias": {
289         "generateHeaderWindows": {
290           "description": "Generates _version.h",
291           "settings": {
292             "GenerateVersionHeader": "default",
293             "NativeVersionHeaderFile": "default"
294           }
295         },
296         "generateHeaderUnix": {
297           "description": "Generates version.cpp",
298           "settings": {
299             "GenerateVersionSourceFile": "default",
300             "NativeVersionSourceFile": "default"
301           }
302         },
303         "verbose": {
304           "description": "Sets the verbosity",
305           "settings": {
306             "Verbosity": "/v:detailed"
307           }
308         },
309         "disableoss": {
310           "description": "Sets the sign type.",
311           "settings": {
312             "SignType": "real"
313           }
314         },
315         "buildType": {
316           "description": "Sets buildtype.",
317           "settings": {
318             "__BuildType": "default"
319           }
320         },
321         "buildArch": {
322           "description": "Sets buildarch.",
323           "settings": {
324             "__BuildArch": "default"
325           }
326         },
327         "buildOS": {
328           "description": "Sets the OS to build.",
329           "settings": {
330             "__BuildOS": "default"
331           }
332         },
333         "testOverlay": {
334           "description": "Runs test overlay target.",
335           "settings": {
336             "Project": "./tests/runtest.proj",
337             "CreateTestOverlay": "default"
338           }
339         },
340         "buildManagedTests": {
341           "description": "Builds managed tests.",
342           "settings": {
343             "Project": "./tests/build.proj"
344           }
345         },
346         "priority": {
347           "description": "Sets CLRTestPriorityToBuild property.",
348           "settings": {
349             "CLRTestPriorityToBuild": "default"
350           }
351         },
352         "sequential": {
353           "description": "Sets sequential build",
354           "settings": {
355             "maxcpucount": "default"
356           }
357         },
358         "skipRestore": {
359           "description": "Skips restoring packages during build.",
360           "settings": {
361             "RestoreDuringBuild": false
362           }
363         },
364         "BuildTarget": {
365           "description": "Runs the build target.",
366           "settings": {
367             "Build": "default"
368           }
369         }
370       },
371       "defaultValues": {
372         "toolName": "msbuild",
373         "settings": {
374           "maxcpucount": "default",
375           "MsBuildParameters": "default",
376           "MsBuildLog": "default",
377           "MsBuildWrn": "default",
378           "MsBuildErr": "default"
379         }
380       }
381     },
382     "sync": {
383       "alias": {
384         "p": {
385           "description": "Restores all NuGet packages for repository.",
386           "settings": {
387             "Project": "./build.proj",
388             "RestoreDuringBuild": true,
389             "RestoreNETCorePlatforms": "default"
390           }
391         },
392         "ab": {
393           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
394           "settings": {
395             "Project": "./src/syncAzure.proj"
396           }
397         },
398         "azureToken": {
399           "description": "Account token to connect to Azure Blob storage.",
400           "settings": {
401             "CloudDropAccessToken": "default"
402           }
403         },
404         "azureAccount": {
405           "description": "Account name to connect to Azure Blob storage.",
406           "settings": {
407             "CloudDropAccountName": "default"
408           }
409         },
410         "verbose": {
411           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
412           "settings": {
413             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
414           }
415         },
416         "buildMajor": {
417           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
418           "settings": {
419             "BuildNumberMajor": "default"
420           }
421         },
422         "buildMinor": {
423           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
424           "settings": {
425             "BuildNumberMinor": "default"
426           }
427         }
428       },
429       "defaultValues": {
430         "toolName": "msbuild",
431         "settings": {
432           "MsBuildParameters": "default",
433           "maxcpucount": "default",
434           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
435         }
436       }
437     },
438     "publish-packages": {
439       "alias": {
440         "azureToken": {
441           "description": "Account token to connect to Azure Blob storage.",
442           "settings": {
443             "CloudDropAccessToken": "default"
444           }
445         },
446         "azureAccount": {
447           "description": "Account name to connect to Azure Blob storage.",
448           "settings": {
449             "CloudDropAccountName": "default"
450           }
451         },
452         "buildArch": {
453           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
454           "settings": {
455             "__BuildArch": "default"
456           }
457         },
458         "buildType": {
459           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
460           "settings": {
461             "__BuildType": "default"
462           }
463         },
464         "buildOS": {
465           "description": "Specifies the OS to publish packages.",
466           "settings": {
467             "__BuildOS": "default"
468           }
469         }
470       },
471       "defaultValues": {
472         "toolName": "msbuild",
473         "settings": {
474           "Project": "./src/publish.proj",
475           "MsBuildParameters": "default",
476           "maxcpucount": "default",
477           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
478         }
479       }
480     },
481     "build-packages": {
482       "alias": {
483         "buildArch": {
484           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
485           "settings": {
486             "__BuildArch": "default"
487           }
488         },
489         "buildType": {
490           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
491           "settings": {
492             "__BuildType": "default"
493           }
494         },
495         "distroRid": {
496           "description": "Specifies distro rid for Unix OS.",
497           "settings": {
498             "__DistroRid": "default"
499           }
500         }
501       },
502       "defaultValues": {
503         "toolName": "msbuild",
504         "settings": {
505           "MsBuildParameters": "default",
506           "__BuildOS": "default",
507           "maxcpucount": "default",
508           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
509           "MsBuildEventLogging": "default"
510         }
511       }
512     }
513   },
514   "tools": {
515     "msbuild": {
516       "run": {
517         "windows": "Tools\\msbuild.cmd",
518         "unix": "Tools/msbuild.sh"
519       },
520       "valueTypes": {
521         "property": "/p:{name}={value}",
522         "target": "/t:{name}",
523         "internal": "/{name}"
524       }
525     },
526     "terminal": {
527       "run": {
528         "windows": "cmd",
529         "unix": "sh"
530       },
531       "valueTypes": {}
532     }
533   }
534 }