{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://fuchsia.com/schemas/sdk/cc_source_library.json", "description": "A set of C/C++ sources", "type": "object", "allOf": [ { "$ref": "common.json#/definitions/sdk_element" }, { "properties": { "type": { "allOf": [ { "$ref": "common.json#/definitions/type" }, { "enum": [ "cc_source_library" ] } ] }, "name": { "description": "Name of the library", "$ref": "common.json#/definitions/cc_library_name" }, "root": { "description": "The root of the element in the SDK", "type": "string" }, "sources": { "description": "List of library sources", "type": "array", "items": { "$ref": "common.json#/definitions/file" } }, "headers": { "description": "List of public headers", "type": "array", "minItems": 1, "items": { "$ref": "common.json#/definitions/file" } }, "include_dir": { "description": "Path to the base directory for includes", "$ref": "common.json#/definitions/file" }, "deps": { "description": "List of C/C++ libraries this library depends on", "type": "array", "items": { "$ref": "common.json#/definitions/cc_library_name" } }, "fidl_deps": { "description": "List of FIDL libraries this library depends on", "type": "array", "items": { "$ref": "common.json#/definitions/fidl_library_name" } }, "banjo_deps": { "description": "List of BANJO libraries this library depends on", "type": "array", "items": { "$ref": "common.json#/definitions/banjo_library_name" } } }, "required": [ "banjo_deps", "deps", "fidl_deps", "headers", "include_dir", "root", "sources", "name", "type" ], "additionalProperties": false } ] }