need to account for the allocated bytes correctly for the following: (#10162)
[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/net46/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     "EnableProfileGuidedOptimization": {
190       "description": "Enables IBC profile optimizations if profile data are available.",
191       "valueType": "property",
192       "values": [ true, false ],
193       "defaultValue": false
194     },
195     "OptimizationDataDir": {
196       "description": "Sets the path where the build should look for IBC profile data.",
197       "valueType": "property",
198       "values": [],
199       "defaultValue": ""
200     },
201     "UseEnv": {
202       "description": "Set when building for arm64.",
203       "valueType": "property",
204       "values": [ true, false ],
205       "defaultValue": true
206     },
207     "Platform": {
208       "description": "Sets the build arch for native build.",
209       "valueType": "property",
210       "values": [ "x86", "x64", "arm", "arm64" ],
211       "defaultValue": "${CPUArch}"
212     },
213     "Rebuild": {
214       "description": "Specifies rebuild target.",
215       "valueType": "target",
216       "values": [],
217       "defaultValue": ""
218     },
219     "MsBuildLog": {
220       "description": "Specifies build logs for build alias.",
221       "valueType": "passThrough",
222       "values": [],
223       "defaultValue": ""
224     },
225     "MsBuildWrn": {
226       "description": "Specifies build logs for build alias.",
227       "valueType": "passThrough",
228       "values": [],
229       "defaultValue": ""
230     },
231     "MsBuildErr": {
232       "description": "Specifies build logs for build alias.",
233       "valueType": "passThrough",
234       "values": [],
235       "defaultValue": ""
236     },
237     "BuildNugetPackage": {
238       "description": "Specifies to build nuget packages.",
239       "valueType": "property",
240       "values": [ true, false ],
241       "defaultValue": true
242     },
243     "SignType": {
244       "description": "Sets the SignType.",
245       "valueType": "property",
246       "values": [ "real" ],
247       "defaultValue": ""
248     },
249     "CLRTestPriorityToBuild": {
250       "description": "Sets priority to build test.",
251       "valueType": "property",
252       "values": [],
253       "defaultValue": ""
254     },
255     "IlasmRoundTrip": {
256       "description": "Sets ilasm round trip property.",
257       "valueType": "property",
258       "values": [ true, false ],
259       "defaultValue": true
260     },
261     "CreateTestOverlay": {
262       "description": "Runs CreateTestOverlay target.",
263       "valueType": "target",
264       "values": [],
265       "defaultValue": ""
266     },
267     "CreateNonWindowsTestOverlay": {
268       "description": "Runs CreateNonWindowsTestOverlay target.",
269       "valueType": "target",
270       "values": [],
271       "defaultValue": ""
272     },
273     "Verbosity": {
274       "description": "Sets build verbosity.",
275       "valueType": "passThrough",
276       "values": [],
277       "defaultValue": "/v:normal"
278     },
279     "Build": {
280       "description": "Runs the build target.",
281       "valueType": "target",
282       "values": [],
283       "defaultValue": ""
284     },
285     "UseSharedCompilation": {
286       "description": "Sets the use shared compilation property.",
287       "valueType": "property",
288       "values": [ true, false ],
289       "defaultValue": true
290     },
291     "UpdateInvalidPackageVersions": {
292       "description": "Runs the target to update package versions.",
293       "valueType": "target",
294       "values": [],
295       "defaultValue": ""
296     },
297     "GenerateRuntimeLayout": {
298       "description": "Generates Core_Root folder",
299       "valueType": "property",
300       "values": [ true, false ],
301       "defaultValue": true
302     },
303     "BuildTestsAgainstPackages": {
304       "description": "Sets the property specifying if we're building tests against packages",
305       "valueType": "property",
306       "values": [ true, false ],
307       "defaultValue": true
308     },
309     "PublishTestNativeBins": {
310       "description": "Publishes test native binaries to Azure on non-windows",
311       "valueType": "property",
312       "values": [ true, false ],
313       "defaultValue": true
314     },
315     "BuildWrappers": {
316       "description": "Builds test Xunit wrappers",
317       "valueType": "property",
318       "values": [ true, false ],
319       "defaultValue": true
320     },
321     "RuntimeId": {
322       "description": "Specifies the OS to build Core_Root for",
323       "valueType": "property",
324       "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" ],
325       "defaultValue": "${__RuntimeId}"
326     },
327     "UpdateDependencies": {
328       "description": "MsBuild target that updates project.json dependencies.",
329       "valueType": "target",
330       "values": [],
331       "defaultValue": ""
332     },
333     "BatchRestorePackages": {
334       "description": "MsBuild target that restores the packages.",
335       "valueType": "target",
336       "values": [],
337       "defaultValue": ""
338     },
339     "BinPlaceRef": {
340       "description": "Place mscorlib.dll in bin/Product ref folder for building tests against",
341       "valueType": "target",
342       "values": [],
343       "defaultValue": ""
344     },
345     "BinPlaceProduct": {
346       "description": "Place test dependencies in bin/Product folder for building tests against",
347       "valueType": "target",
348       "values": [],
349       "defaultValue": ""
350     },
351     "CopyCrossgenToProduct": {
352       "description": "Place crossgen.exe in bin/Product folder for building tests against",
353       "valueType": "target",
354       "values": [],
355       "defaultValue": ""
356     },
357     "OptionalToolSource": {
358       "description": "URL of the nuget feed used by 'optional-tools'",
359       "valueType": "property",
360       "values": [],
361       "defaultValue": ""
362     },
363     "OptionalToolSourceUser": {
364       "description": "User name for authenticating to the optional tools feed",
365       "valueType": "property",
366       "values": [],
367       "defaultValue": ""
368     },
369     "OptionalToolSourcePassword": {
370       "description": "VSTS token for authenticating to the optional tools feed; requires 'package(READ)' permission",
371       "valueType": "property",
372       "values": [],
373       "defaultValue": ""
374     },
375     "ExtraParameters": {
376       "description": "Extra parameters will be passed to the selected command.",
377       "valueType": "passThrough",
378       "values": [],
379       "defaultValue": ""
380     }
381   },
382   "commands": {
383     "build": {
384       "alias": {
385         "generateHeaderWindows": {
386           "description": "Generates _version.h",
387           "settings": {
388             "GenerateVersionHeader": "default",
389             "NativeVersionHeaderFile": "default"
390           }
391         },
392         "generateHeaderUnix": {
393           "description": "Generates version.cpp",
394           "settings": {
395             "GenerateVersionSourceFile": "default",
396             "NativeVersionSourceFile": "default"
397           }
398         },
399         "verbose": {
400           "description": "Sets the verbosity",
401           "settings": {
402             "Verbosity": "/v:detailed"
403           }
404         },
405         "disableoss": {
406           "description": "Sets the sign type.",
407           "settings": {
408             "SignType": "real"
409           }
410         },
411         "buildType": {
412           "description": "Sets buildtype.",
413           "settings": {
414             "__BuildType": "default"
415           }
416         },
417         "buildArch": {
418           "description": "Sets buildarch.",
419           "settings": {
420             "__BuildArch": "default"
421           }
422         },
423         "buildOS": {
424           "description": "Sets the OS to build.",
425           "settings": {
426             "__BuildOS": "default"
427           }
428         },
429         "testOverlay": {
430           "description": "Runs test overlay target.",
431           "settings": {
432             "CreateTestOverlay": "default"
433           }
434         },
435         "priority": {
436           "description": "Sets CLRTestPriorityToBuild property.",
437           "settings": {
438             "CLRTestPriorityToBuild": "default"
439           }
440         },
441         "skipRestore": {
442           "description": "Skips restoring packages during build.",
443           "settings": {
444             "RestoreDuringBuild": false
445           }
446         },
447         "BuildTarget": {
448           "description": "Runs the build target.",
449           "settings": {
450             "Build": "default"
451           }
452         }
453       },
454       "defaultValues": {
455         "toolName": "msbuild",
456         "settings": {
457           "MsBuildLog": "default",
458           "MsBuildWrn": "default",
459           "MsBuildErr": "default",
460           "MsBuildEventLogging": "default"
461         }
462       }
463     },
464     "sync": {
465       "alias": {
466         "p": {
467           "description": "Restores all NuGet packages for repository.",
468           "settings": {
469             "Project": "./build.proj",
470             "RestoreDuringBuild": true,
471             "RestoreNETCorePlatforms": "default"
472           }
473         },
474         "optdata": {
475           "description": "Restores optimization profile data for the repository.",
476           "settings": {
477             "Project": "./build.proj",
478             "RestoreDuringBuild": true,
479             "RestoreOptData": "default"
480           }
481         },
482         "ab": {
483           "description": "Downloads the latests product packages from Azure. The values for '-AzureAccount' and '-AzureToken' are required",
484           "settings": {
485             "Project": "./src/syncAzure.proj"
486           }
487         },
488         "n": {
489           "description": "Downloads test native binaries. The values for '-AzureAccount', '-AzureToken', and '-Container' are required",
490           "settings": {
491             "Project": "./src/syncAzure.proj",
492             "PublishTestNativeBins": "true"
493           }
494         },
495         "azureToken": {
496           "description": "Account token to connect to Azure Blob storage.",
497           "settings": {
498             "CloudDropAccessToken": "default"
499           }
500         },
501         "azureAccount": {
502           "description": "Account name to connect to Azure Blob storage.",
503           "settings": {
504             "CloudDropAccountName": "default"
505           }
506         },
507         "container": {
508           "description": "Container name to download from in Azure Blob storage.",
509           "settings": {
510             "__Container": "default"
511           }
512         },
513         "runtimeId": {
514           "description": "Runtime ID of the binaries in the specified container.",
515           "settings": {
516             "RuntimeId": "default"
517           }
518         },
519         "verbose": {
520           "description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
521           "settings": {
522             "MsBuildFileLogging": "/flp:v=diag;LogFile=sync.log"
523           }
524         },
525         "buildMajor": {
526           "description": "To download a specific group of product packages, specify build number. The value for -BuildMinor required.",
527           "settings": {
528             "BuildNumberMajor": "default"
529           }
530         },
531         "buildMinor": {
532           "description": "To download a specific group of product packages, specify build number. The value for -BuildMajor required.",
533           "settings": {
534             "BuildNumberMinor": "default"
535           }
536         }
537       },
538       "defaultValues": {
539         "toolName": "msbuild",
540         "settings": {
541           "MsBuildFileLogging": "/flp:v=detailed;LogFile=sync.log"
542         }
543       }
544     },
545     "publish-packages": {
546       "alias": {
547         "azureToken": {
548           "description": "Account token to connect to Azure Blob storage.",
549           "settings": {
550             "CloudDropAccessToken": "default"
551           }
552         },
553         "azureAccount": {
554           "description": "Account name to connect to Azure Blob storage.",
555           "settings": {
556             "CloudDropAccountName": "default"
557           }
558         },
559         "container": {
560           "description": "Container name to upload into in Azure Blob storage.",
561           "settings": {
562             "__Container": "default"
563           }
564         },
565         "buildArch": {
566           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
567           "settings": {
568             "__BuildArch": "default"
569           }
570         },
571         "buildType": {
572           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
573           "settings": {
574             "__BuildType": "default"
575           }
576         },
577         "buildOS": {
578           "description": "Specifies the OS to publish packages.",
579           "settings": {
580             "__BuildOS": "default"
581           }
582         },
583         "distroRid": {
584           "description": "Specifies distro rid for Unix OS.",
585           "settings": {
586             "__DistroRid": "default"
587           }
588         },
589         "PublishTestNativeBins": {
590           "description": "Publishes test native binaries.",
591           "settings": {
592             "PublishTestNativeBins": "default"
593           }
594         }
595       },
596       "defaultValues": {
597         "toolName": "msbuild",
598         "settings": {
599           "Project": "./src/publish.proj",
600           "MsBuildFileLogging": "/flp:v=detailed;LogFile=publish-packages.log"
601         }
602       }
603     },
604     "build-packages": {
605       "alias": {
606         "buildArch": {
607           "description": "Specifies architecture to publish, can be x64, x86, arm or arm64",
608           "settings": {
609             "__BuildArch": "default"
610           }
611         },
612         "buildType": {
613           "description": "Specifies configuration to publish, can be Release, Debug or Checked.",
614           "settings": {
615             "__BuildType": "default"
616           }
617         },
618         "distroRid": {
619           "description": "Specifies distro rid for Unix OS.",
620           "settings": {
621             "__DistroRid": "default"
622           }
623         }
624       },
625       "defaultValues": {
626         "toolName": "msbuild",
627         "settings": {
628           "__BuildOS": "default",
629           "MsBuildFileLogging": "/flp:v=detailed;Append;LogFile=build-packages.log",
630           "MsBuildEventLogging": "default",
631           "Project": "src/.nuget/packages.builds"
632         }
633       }
634     }
635   },
636   "tools": {
637     "msbuild": {
638       "osSpecific": {
639         "windows": {
640           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
641           "path": "Tools/msbuild.cmd"
642         },
643         "unix": {
644           "defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount",
645           "path": "Tools/msbuild.sh"
646         }
647       },
648       "valueTypes": {
649         "property": "/p:{name}={value}",
650         "target": "/t:{name}",
651         "internal": "/{name}"
652       }
653     },
654     "terminal": {
655       "run": {
656         "windows": "cmd",
657         "unix": "sh"
658       },
659       "valueTypes": {}
660     }
661   }
662 }