Add ExtraParameters to config.json to enable --.
[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             "Project": "./build.proj"
295           }
296         },
297         "generateHeaderUnix": {
298           "description": "Generates version.cpp",
299           "settings": {
300             "GenerateVersionSourceFile": "default",
301             "NativeVersionSourceFile": "default",
302             "Project": "./build.proj"
303           }
304         },
305         "buildCoreLib": {
306           "description": "Builds System.Private.CoreLib.",
307           "settings": {
308             "Project": "./build.proj"
309           }
310         },
311         "buildPackages": {
312           "description": "Builds nuget packages.",
313           "settings": {
314             "Project": "./src/.nuget/packages.builds"
315           }
316         },
317         "verbose": {
318           "description": "Sets the verbosity",
319           "settings": {
320             "Verbosity": "/v:detailed"
321           }
322         },
323         "disableoss": {
324           "description": "Sets the sign type.",
325           "settings": {
326             "SignType": "real"
327           }
328         },
329         "buildType": {
330           "description": "Sets buildtype.",
331           "settings": {
332             "__BuildType": "default"
333           }
334         },
335         "buildArch": {
336           "description": "Sets buildarch.",
337           "settings": {
338             "__BuildArch": "default"
339           }
340         },
341         "buildOS": {
342           "description": "Sets the OS to build.",
343           "settings": {
344             "__BuildOS": "default"
345           }
346         },
347         "testOverlay": {
348           "description": "Runs test overlay target.",
349           "settings": {
350             "Project": "./tests/runtest.proj",
351             "CreateTestOverlay": "default"
352           }
353         },
354         "buildManagedTests": {
355           "description": "Builds managed tests.",
356           "settings": {
357             "Project": "./tests/build.proj"
358           }
359         },
360         "priority": {
361           "description": "Sets CLRTestPriorityToBuild property.",
362           "settings": {
363             "CLRTestPriorityToBuild": "default"
364           }
365         },
366         "sequential": {
367           "description": "Sets sequential build",
368           "settings": {
369             "maxcpucount": "default"
370           }
371         },
372         "skipRestore": {
373           "description": "Skips restoring packages during build.",
374           "settings": {
375             "RestoreDuringBuild": false
376           }
377         },
378         "BuildTarget": {
379           "description": "Runs the build target.",
380           "settings": {
381             "Build": "default"
382           }
383         }
384       },
385       "defaultValues": {
386         "toolName": "msbuild",
387         "settings": {
388           "MsBuildParameters": "default",
389           "MsBuildLog": "default",
390           "MsBuildWrn": "default",
391           "MsBuildErr": "default"
392         }
393       }
394     },
395     "sync": {
396       "alias": {
397         "p": {
398           "description": "Restores all NuGet packages for repository.",
399           "settings": {
400             "Project": "./build.proj",
401             "RestoreDuringBuild": true,
402             "RestoreNETCorePlatforms": "default"
403           }
404         },
405         "ab": {
406           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
407           "settings": {
408             "Project": "./src/syncAzure.proj"
409           }
410         },
411         "azureToken": {
412           "description": "Account token to connect to Azure Blob storage.",
413           "settings": {
414             "CloudDropAccessToken": "default"
415           }
416         },
417         "azureAccount": {
418           "description": "Account name to connect to Azure Blob storage.",
419           "settings": {
420             "CloudDropAccountName": "default"
421           }
422         },
423         "verbose": {
424           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
425           "settings": {
426             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
427           }
428         },
429         "buildMajor": {
430           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
431           "settings": {
432             "BuildNumberMajor": "default"
433           }
434         },
435         "buildMinor": {
436           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
437           "settings": {
438             "BuildNumberMinor": "default"
439           }
440         }
441       },
442       "defaultValues": {
443         "toolName": "msbuild",
444         "settings": {
445           "MsBuildParameters": "default",
446           "maxcpucount": "default",
447           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
448         }
449       }
450     },
451     "publish-packages": {
452       "alias": {
453         "azureToken": {
454           "description": "Account token to connect to Azure Blob storage.",
455           "settings": {
456             "CloudDropAccessToken": "default"
457           }
458         },
459         "azureAccount": {
460           "description": "Account name to connect to Azure Blob storage.",
461           "settings": {
462             "CloudDropAccountName": "default"
463           }
464         },
465         "buildArch": {
466           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
467           "settings": {
468             "__BuildArch": "default"
469           }
470         },
471         "buildType": {
472           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
473           "settings": {
474             "__BuildType": "default"
475           }
476         },
477         "buildOS": {
478           "description": "Specifies the OS to publish packages.",
479           "settings": {
480             "__BuildOS": "default"
481           }
482         }
483       },
484       "defaultValues": {
485         "toolName": "msbuild",
486         "settings": {
487           "Project": "./src/publish.proj",
488           "MsBuildParameters": "default",
489           "maxcpucount": "default",
490           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
491         }
492       }
493     },
494     "build-packages": {
495       "alias": {
496         "buildArch": {
497           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
498           "settings": {
499             "__BuildArch": "default"
500           }
501         },
502         "buildType": {
503           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
504           "settings": {
505             "__BuildType": "default"
506           }
507         },
508         "distroRid": {
509           "description": "Specifies distro rid for Unix OS.",
510           "settings": {
511             "__DistroRid": "default"
512           }
513         }
514       },
515       "defaultValues": {
516         "toolName": "msbuild",
517         "settings": {
518           "MsBuildParameters": "default",
519           "__BuildOS": "default",
520           "maxcpucount": "default",
521           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
522           "MsBuildEventLogging": "default"
523         }
524       }
525     }
526   },
527   "tools": {
528     "msbuild": {
529       "run": {
530         "windows": "Tools\\msbuild.cmd",
531         "unix": "Tools/msbuild.sh"
532       },
533       "valueTypes": {
534         "property": "/p:{name}={value}",
535         "target": "/t:{name}",
536         "internal": "/{name}"
537       }
538     },
539     "terminal": {
540       "run": {
541         "windows": "cmd",
542         "unix": "sh"
543       },
544       "valueTypes": {}
545     }
546   }
547 }