Generic Virtual calls for CoreRT
[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     "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     "CLRTestPriorityToBuild": {
232       "description": "Sets priority to build test.",
233       "valueType": "property",
234       "values": [],
235       "defaultValue": ""
236     },
237     "IlasmRoundTrip": {
238       "description": "Sets ilasm round trip property.",
239       "valueType": "property",
240       "values": [ true, false ],
241       "defaultValue": true
242     },
243     "CreateTestOverlay": {
244       "description": "Runs CreateTestOverlay target.",
245       "valueType": "target",
246       "values": [],
247       "defaultValue": ""
248     },
249     "CreateNonWindowsTestOverlay": {
250       "description": "Runs CreateNonWindowsTestOverlay 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     "GenerateRuntimeLayout": {
280       "description": "Generates Core_Root folder",
281       "valueType": "property",
282       "values": [ true, false ],
283       "defaultValue": true
284     },
285     "BuildTestsAgainstPackages": {
286       "description": "Sets the property specifying if we're building tests against packages",
287       "valueType": "property",
288       "values": [ true, false ],
289       "defaultValue": true
290     },
291     "PublishTestNativeBins": {
292       "description": "Publishes test native binaries to Azure on non-windows",
293       "valueType": "property",
294       "values": [ true, false ],
295       "defaultValue": true
296     },
297     "BuildWrappers": {
298       "description": "Builds test Xunit wrappers",
299       "valueType": "property",
300       "values": [ true, false ],
301       "defaultValue": true
302     },
303     "RuntimeId": {
304       "description": "Specifies the OS to build Core_Root for",
305       "valueType": "property",
306       "values": [ "debian.8-x64", "fedora.23-x64", "opensuse.13.2-x64", "opensuse.42.1-x64", "osx.10.10-x64", "rhel.7-x64", "ubuntu.14.04-x64", "ubuntu.16.04-x64", "ubuntu.16.10-x64" ],
307       "defaultValue": "${__RuntimeId}"
308     },
309     "UpdateDependencies": {
310       "description": "MsBuild target that updates project.json dependencies.",
311       "valueType": "target",
312       "values": [],
313       "defaultValue": ""
314     },
315     "BatchRestorePackages": {
316       "description": "MsBuild target that restores the packages.",
317       "valueType": "target",
318       "values": [],
319       "defaultValue": ""
320     },
321     "BinPlaceRef": {
322       "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
323       "valueType": "target",
324       "values": [],
325       "defaultValue": ""
326     },
327     "BinPlaceProduct": {
328       "description": "Place test dependencies in bin/Product folder for building tests against",
329       "valueType": "target",
330       "values": [],
331       "defaultValue": ""
332     },
333     "CopyCrossgenToProduct": {
334       "description": "Place crossgen.exe in bin/Product folder for building tests against",
335       "valueType": "target",
336       "values": [],
337       "defaultValue": ""
338     },
339     "ExtraParameters": {
340       "description": "Extra parameters will be passed to the selected command.",
341       "valueType": "passThrough",
342       "values": [],
343       "defaultValue": ""
344     }
345   },
346   "commands": {
347     "build": {
348       "alias": {
349         "generateHeaderWindows": {
350           "description": "Generates _version.h",
351           "settings": {
352             "GenerateVersionHeader": "default",
353             "NativeVersionHeaderFile": "default"
354           }
355         },
356         "generateHeaderUnix": {
357           "description": "Generates version.cpp",
358           "settings": {
359             "GenerateVersionSourceFile": "default",
360             "NativeVersionSourceFile": "default"
361           }
362         },
363         "verbose": {
364           "description": "Sets the verbosity",
365           "settings": {
366             "Verbosity": "/v:detailed"
367           }
368         },
369         "disableoss": {
370           "description": "Sets the sign type.",
371           "settings": {
372             "SignType": "real"
373           }
374         },
375         "buildType": {
376           "description": "Sets buildtype.",
377           "settings": {
378             "__BuildType": "default"
379           }
380         },
381         "buildArch": {
382           "description": "Sets buildarch.",
383           "settings": {
384             "__BuildArch": "default"
385           }
386         },
387         "buildOS": {
388           "description": "Sets the OS to build.",
389           "settings": {
390             "__BuildOS": "default"
391           }
392         },
393         "testOverlay": {
394           "description": "Runs test overlay target.",
395           "settings": {
396             "CreateTestOverlay": "default"
397           }
398         },
399         "priority": {
400           "description": "Sets CLRTestPriorityToBuild property.",
401           "settings": {
402             "CLRTestPriorityToBuild": "default"
403           }
404         },
405         "skipRestore": {
406           "description": "Skips restoring packages during build.",
407           "settings": {
408             "RestoreDuringBuild": false
409           }
410         },
411         "BuildTarget": {
412           "description": "Runs the build target.",
413           "settings": {
414             "Build": "default"
415           }
416         }
417       },
418       "defaultValues": {
419         "toolName": "msbuild",
420         "settings": {
421           "MsBuildLog": "default",
422           "MsBuildWrn": "default",
423           "MsBuildErr": "default",
424           "MsBuildEventLogging": "default"
425         }
426       }
427     },
428     "sync": {
429       "alias": {
430         "p": {
431           "description": "Restores all NuGet packages for repository.",
432           "settings": {
433             "Project": "./build.proj",
434             "RestoreDuringBuild": true,
435             "RestoreNETCorePlatforms": "default"
436           }
437         },
438         "ab": {
439           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
440           "settings": {
441             "Project": "./src/syncAzure.proj"
442           }
443         },
444         "n": {
445           "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
446           "settings": {
447             "Project": "./src/syncAzure.proj",
448             "PublishTestNativeBins": "true"
449           }
450         },
451         "azureToken": {
452           "description": "Account token to connect to Azure Blob storage.",
453           "settings": {
454             "CloudDropAccessToken": "default"
455           }
456         },
457         "azureAccount": {
458           "description": "Account name to connect to Azure Blob storage.",
459           "settings": {
460             "CloudDropAccountName": "default"
461           }
462         },
463         "container": {
464           "description": "Container name to download from in Azure Blob storage.",
465           "settings": {
466             "__Container": "default"
467           }
468         },
469         "runtimeId": {
470           "description": "Runtime ID of the binaries in the specified container.",
471           "settings": {
472             "RuntimeId": "default"
473           }
474         },
475         "verbose": {
476           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
477           "settings": {
478             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
479           }
480         },
481         "buildMajor": {
482           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
483           "settings": {
484             "BuildNumberMajor": "default"
485           }
486         },
487         "buildMinor": {
488           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
489           "settings": {
490             "BuildNumberMinor": "default"
491           }
492         }
493       },
494       "defaultValues": {
495         "toolName": "msbuild",
496         "settings": {
497           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
498         }
499       }
500     },
501     "publish-packages": {
502       "alias": {
503         "azureToken": {
504           "description": "Account token to connect to Azure Blob storage.",
505           "settings": {
506             "CloudDropAccessToken": "default"
507           }
508         },
509         "azureAccount": {
510           "description": "Account name to connect to Azure Blob storage.",
511           "settings": {
512             "CloudDropAccountName": "default"
513           }
514         },
515         "container": {
516           "description": "Container name to upload into in Azure Blob storage.",
517           "settings": {
518             "__Container": "default"
519           }
520         },
521         "buildArch": {
522           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
523           "settings": {
524             "__BuildArch": "default"
525           }
526         },
527         "buildType": {
528           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
529           "settings": {
530             "__BuildType": "default"
531           }
532         },
533         "buildOS": {
534           "description": "Specifies the OS to publish packages.",
535           "settings": {
536             "__BuildOS": "default"
537           }
538         },
539         "distroRid": {
540           "description": "Specifies distro rid for Unix OS.",
541           "settings": {
542             "__DistroRid": "default"
543           }
544         },
545         "PublishTestNativeBins": {
546           "description": "Publishes test native binaries.",
547           "settings": {
548             "PublishTestNativeBins": "default"
549           }
550         }
551       },
552       "defaultValues": {
553         "toolName": "msbuild",
554         "settings": {
555           "Project": "./src/publish.proj",
556           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
557         }
558       }
559     },
560     "build-packages": {
561       "alias": {
562         "buildArch": {
563           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
564           "settings": {
565             "__BuildArch": "default"
566           }
567         },
568         "buildType": {
569           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
570           "settings": {
571             "__BuildType": "default"
572           }
573         },
574         "distroRid": {
575           "description": "Specifies distro rid for Unix OS.",
576           "settings": {
577             "__DistroRid": "default"
578           }
579         }
580       },
581       "defaultValues": {
582         "toolName": "msbuild",
583         "settings": {
584           "__BuildOS": "default",
585           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
586           "MsBuildEventLogging": "default",
587           "Project": "src/.nuget/packages.builds"
588         }
589       }
590     }
591   },
592   "tools": {
593     "msbuild": {
594       "osSpecific": {
595         "windows": {
596           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
597           "path": "Tools/msbuild.cmd"
598         },
599         "unix": {
600           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount",
601           "path": "Tools/msbuild.sh"
602         }
603       },
604       "valueTypes": {
605         "property": "/p:{name}={value}",
606         "target": "/t:{name}",
607         "internal": "/{name}"
608       }
609     },
610     "terminal": {
611       "run": {
612         "windows": "cmd",
613         "unix": "sh"
614       },
615       "valueTypes": {}
616     }
617   }
618 }