blob: e030e6ae3777b1fbe18a3a84002fdd0a6ee547a4 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "common.json#/definitions/sdk_element"
},
{
"additionalProperties": false,
"properties": {
"name": {
"description": "Always 'sysroot'",
"enum": [
"sysroot"
],
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "common.json#/definitions/kind"
},
{
"enum": [
"sysroot"
]
}
]
},
"versions": {
"additionalProperties": false,
"description": "The various versions of the sysroot, per architecture",
"maxProperties": 2,
"minProperties": 1,
"properties": {
"arm64": {
"$ref": "#/definitions/version",
"description": "arm64 version"
},
"x64": {
"$ref": "#/definitions/version",
"description": "x64 version"
}
},
"type": "object"
}
},
"required": [
"versions",
"name",
"type"
]
}
],
"definitions": {
"version": {
"additionalProperties": false,
"description": "Sysroot files for a given architecture",
"properties": {
"debug_libs": {
"description": "List of libraries for debugging",
"items": {
"$ref": "common.json#/definitions/file"
},
"type": "array"
},
"dist_dir": {
"$ref": "common.json#/definitions/file",
"description": "Path to the base directory for prebuilt libraries"
},
"dist_libs": {
"description": "List of libraries for inclusion in packages",
"items": {
"$ref": "common.json#/definitions/file"
},
"type": "array"
},
"headers": {
"description": "List of public headers",
"items": {
"$ref": "common.json#/definitions/file"
},
"type": "array"
},
"include_dir": {
"$ref": "common.json#/definitions/file",
"description": "Path to the base directory for includes"
},
"link_libs": {
"description": "List of link-time libraries",
"items": {
"$ref": "common.json#/definitions/file"
},
"type": "array"
},
"root": {
"$ref": "common.json#/definitions/file",
"description": "Path to the root of the sysroot"
}
},
"required": [
"root",
"headers",
"include_dir",
"link_libs",
"dist_libs",
"debug_libs",
"dist_dir"
],
"type": "object"
}
},
"description": "The sysroot",
"id": "http://fuchsia.com/schemas/sdk/sysroot.json",
"type": "object"
}