You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
2.9 KiB
117 lines
2.9 KiB
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"id": "http://fuchsia.com/schemas/sdk/sysroot.json",
|
|
"description": "The sysroot",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"$ref": "common.json#/definitions/sdk_element"
|
|
},
|
|
{
|
|
"properties": {
|
|
"type": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "common.json#/definitions/type"
|
|
},
|
|
{
|
|
"enum": [
|
|
"sysroot"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "Always 'sysroot'",
|
|
"type": "string",
|
|
"enum": [
|
|
"sysroot"
|
|
]
|
|
},
|
|
"versions": {
|
|
"description": "The various versions of the sysroot, per architecture",
|
|
"type": "object",
|
|
"properties": {
|
|
"x64": {
|
|
"description": "x64 version",
|
|
"$ref": "#/definitions/version"
|
|
},
|
|
"arm64": {
|
|
"description": "arm64 version",
|
|
"$ref": "#/definitions/version"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"minProperties": 1,
|
|
"maxProperties": 2
|
|
}
|
|
},
|
|
"required": [
|
|
"versions",
|
|
|
|
"name",
|
|
"type"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
],
|
|
"definitions": {
|
|
"version": {
|
|
"description": "Sysroot files for a given architecture",
|
|
"type": "object",
|
|
"properties": {
|
|
"root": {
|
|
"description": "Path to the root of the sysroot",
|
|
"$ref": "common.json#/definitions/file"
|
|
},
|
|
"headers": {
|
|
"description": "List of public headers",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.json#/definitions/file"
|
|
}
|
|
},
|
|
"dist_dir": {
|
|
"description": "Path to the base directory for prebuilt libraries",
|
|
"$ref": "common.json#/definitions/file"
|
|
},
|
|
"include_dir": {
|
|
"description": "Path to the base directory for includes",
|
|
"$ref": "common.json#/definitions/file"
|
|
},
|
|
"link_libs": {
|
|
"description": "List of link-time libraries",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.json#/definitions/file"
|
|
}
|
|
},
|
|
"dist_libs": {
|
|
"description": "List of libraries for inclusion in packages",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.json#/definitions/file"
|
|
}
|
|
},
|
|
"debug_libs": {
|
|
"description": "List of libraries for debugging",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.json#/definitions/file"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"root",
|
|
"headers",
|
|
"include_dir",
|
|
"link_libs",
|
|
"dist_libs",
|
|
"debug_libs",
|
|
"dist_dir"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|