inspector_protocol_config.json 1.49 KB
Newer Older
1 2
{
    "protocol": {
3
        "path": "../../include/js_protocol.pdl",
4
        "package": "src/inspector/protocol",
5
        "output": "protocol",
6 7 8
        "namespace": ["v8_inspector", "protocol"],
        "options": [
            {
9 10
                "domain": "Schema",
                "exported": ["Domain"]
11 12 13
            },
            {
                "domain": "Runtime",
14
                "async": ["evaluate", "awaitPromise", "callFunctionOn", "runScript", "terminateExecution"],
15
                "exported": ["StackTrace", "StackTraceId", "RemoteObject", "ExecutionContextId"]
16 17
            },
            {
18 19
                "domain": "Debugger",
                "exported": ["SearchMatch", "paused.reason"]
20 21 22 23 24 25 26 27
            },
            {
                "domain": "Console"
            },
            {
                "domain": "Profiler"
            },
            {
28 29
                "domain": "HeapProfiler",
                "async": ["collectGarbage"]
30 31
            }
        ]
32 33 34
    },

    "exported": {
35 36 37
        "package": "include/inspector",
        "output": "../../include/inspector",
        "string_header": "v8-inspector.h",
38 39
        "string_in": "StringView",
        "string_out": "std::unique_ptr<StringBuffer>",
40
        "to_string_out": "StringBufferFrom(std::move(%s))",
41
        "export_macro": "V8_EXPORT"
42 43 44 45
    },

    "lib": {
        "package": "src/inspector/protocol",
46
        "output": "protocol",
47
        "string_header": "src/inspector/string-util.h"
48 49
    },

50 51
    "crdtp": {
        "namespace": "v8_crdtp"
52 53
    }
}