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