11cb0ef41Sopenharmony_ci{ 21cb0ef41Sopenharmony_ci 'variables': { 31cb0ef41Sopenharmony_ci 'protocol_tool_path': '../../tools/inspector_protocol', 41cb0ef41Sopenharmony_ci 'node_inspector_generated_sources': [ 51cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Forward.h', 61cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Protocol.cpp', 71cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Protocol.h', 81cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeWorker.cpp', 91cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeWorker.h', 101cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeTracing.cpp', 111cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeTracing.h', 121cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeRuntime.cpp', 131cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeRuntime.h', 141cb0ef41Sopenharmony_ci ], 151cb0ef41Sopenharmony_ci 'node_protocol_files': [ 161cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Allocator_h.template', 171cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Array_h.template', 181cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/base_string_adapter_cc.template', 191cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/base_string_adapter_h.template', 201cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/DispatcherBase_cpp.template', 211cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/DispatcherBase_h.template', 221cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/encoding_cpp.template', 231cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/encoding_h.template', 241cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/ErrorSupport_cpp.template', 251cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/ErrorSupport_h.template', 261cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Forward_h.template', 271cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/FrontendChannel_h.template', 281cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Maybe_h.template', 291cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Object_cpp.template', 301cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Object_h.template', 311cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Parser_cpp.template', 321cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Parser_h.template', 331cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Protocol_cpp.template', 341cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/ValueConversions_h.template', 351cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Values_cpp.template', 361cb0ef41Sopenharmony_ci '<(protocol_tool_path)/lib/Values_h.template', 371cb0ef41Sopenharmony_ci '<(protocol_tool_path)/templates/Exported_h.template', 381cb0ef41Sopenharmony_ci '<(protocol_tool_path)/templates/Imported_h.template', 391cb0ef41Sopenharmony_ci '<(protocol_tool_path)/templates/TypeBuilder_cpp.template', 401cb0ef41Sopenharmony_ci '<(protocol_tool_path)/templates/TypeBuilder_h.template', 411cb0ef41Sopenharmony_ci '<(protocol_tool_path)/code_generator.py', 421cb0ef41Sopenharmony_ci ] 431cb0ef41Sopenharmony_ci }, 441cb0ef41Sopenharmony_ci 'defines': [ 451cb0ef41Sopenharmony_ci 'HAVE_INSPECTOR=1', 461cb0ef41Sopenharmony_ci ], 471cb0ef41Sopenharmony_ci 'sources': [ 481cb0ef41Sopenharmony_ci '../../src/inspector_agent.cc', 491cb0ef41Sopenharmony_ci '../../src/inspector_io.cc', 501cb0ef41Sopenharmony_ci '../../src/inspector_agent.h', 511cb0ef41Sopenharmony_ci '../../src/inspector_io.h', 521cb0ef41Sopenharmony_ci '../../src/inspector_profiler.h', 531cb0ef41Sopenharmony_ci '../../src/inspector_profiler.cc', 541cb0ef41Sopenharmony_ci '../../src/inspector_js_api.cc', 551cb0ef41Sopenharmony_ci '../../src/inspector_socket.cc', 561cb0ef41Sopenharmony_ci '../../src/inspector_socket.h', 571cb0ef41Sopenharmony_ci '../../src/inspector_socket_server.cc', 581cb0ef41Sopenharmony_ci '../../src/inspector_socket_server.h', 591cb0ef41Sopenharmony_ci '../../src/inspector/main_thread_interface.cc', 601cb0ef41Sopenharmony_ci '../../src/inspector/main_thread_interface.h', 611cb0ef41Sopenharmony_ci '../../src/inspector/node_string.cc', 621cb0ef41Sopenharmony_ci '../../src/inspector/node_string.h', 631cb0ef41Sopenharmony_ci '../../src/inspector/runtime_agent.cc', 641cb0ef41Sopenharmony_ci '../../src/inspector/runtime_agent.h', 651cb0ef41Sopenharmony_ci '../../src/inspector/tracing_agent.cc', 661cb0ef41Sopenharmony_ci '../../src/inspector/tracing_agent.h', 671cb0ef41Sopenharmony_ci '../../src/inspector/worker_agent.cc', 681cb0ef41Sopenharmony_ci '../../src/inspector/worker_agent.h', 691cb0ef41Sopenharmony_ci '../../src/inspector/worker_inspector.cc', 701cb0ef41Sopenharmony_ci '../../src/inspector/worker_inspector.h', 711cb0ef41Sopenharmony_ci ], 721cb0ef41Sopenharmony_ci 'include_dirs': [ 731cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/include', # for inspector 741cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)', 751cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src', # for inspector 761cb0ef41Sopenharmony_ci ], 771cb0ef41Sopenharmony_ci 'actions': [ 781cb0ef41Sopenharmony_ci { 791cb0ef41Sopenharmony_ci 'action_name': 'convert_node_protocol_to_json', 801cb0ef41Sopenharmony_ci 'inputs': [ 811cb0ef41Sopenharmony_ci 'node_protocol.pdl', 821cb0ef41Sopenharmony_ci ], 831cb0ef41Sopenharmony_ci 'outputs': [ 841cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node_protocol.json', 851cb0ef41Sopenharmony_ci ], 861cb0ef41Sopenharmony_ci 'action': [ 871cb0ef41Sopenharmony_ci '<(python)', 881cb0ef41Sopenharmony_ci 'tools/inspector_protocol/convert_protocol_to_json.py', 891cb0ef41Sopenharmony_ci '<@(_inputs)', 901cb0ef41Sopenharmony_ci '<@(_outputs)', 911cb0ef41Sopenharmony_ci ], 921cb0ef41Sopenharmony_ci }, 931cb0ef41Sopenharmony_ci { 941cb0ef41Sopenharmony_ci 'action_name': 'node_protocol_generated_sources', 951cb0ef41Sopenharmony_ci 'inputs': [ 961cb0ef41Sopenharmony_ci 'node_protocol_config.json', 971cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node_protocol.json', 981cb0ef41Sopenharmony_ci '<@(node_protocol_files)', 991cb0ef41Sopenharmony_ci ], 1001cb0ef41Sopenharmony_ci 'outputs': [ 1011cb0ef41Sopenharmony_ci '<@(node_inspector_generated_sources)', 1021cb0ef41Sopenharmony_ci ], 1031cb0ef41Sopenharmony_ci 'process_outputs_as_sources': 1, 1041cb0ef41Sopenharmony_ci 'action': [ 1051cb0ef41Sopenharmony_ci '<(python)', 1061cb0ef41Sopenharmony_ci 'tools/inspector_protocol/code_generator.py', 1071cb0ef41Sopenharmony_ci '--jinja_dir', '<@(protocol_tool_path)', 1081cb0ef41Sopenharmony_ci '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/', 1091cb0ef41Sopenharmony_ci '--config', 'src/inspector/node_protocol_config.json', 1101cb0ef41Sopenharmony_ci ], 1111cb0ef41Sopenharmony_ci 'message': 'Generating node protocol sources from protocol json', 1121cb0ef41Sopenharmony_ci }, 1131cb0ef41Sopenharmony_ci { 1141cb0ef41Sopenharmony_ci 'action_name': 'concatenate_protocols', 1151cb0ef41Sopenharmony_ci 'inputs': [ 1161cb0ef41Sopenharmony_ci '../../deps/v8/include/js_protocol.pdl', 1171cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/src/node_protocol.json', 1181cb0ef41Sopenharmony_ci ], 1191cb0ef41Sopenharmony_ci 'outputs': [ 1201cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/concatenated_protocol.json', 1211cb0ef41Sopenharmony_ci ], 1221cb0ef41Sopenharmony_ci 'action': [ 1231cb0ef41Sopenharmony_ci '<(python)', 1241cb0ef41Sopenharmony_ci 'tools/inspector_protocol/concatenate_protocols.py', 1251cb0ef41Sopenharmony_ci '<@(_inputs)', 1261cb0ef41Sopenharmony_ci '<@(_outputs)', 1271cb0ef41Sopenharmony_ci ], 1281cb0ef41Sopenharmony_ci }, 1291cb0ef41Sopenharmony_ci { 1301cb0ef41Sopenharmony_ci 'action_name': 'v8_inspector_compress_protocol_json', 1311cb0ef41Sopenharmony_ci 'inputs': [ 1321cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/concatenated_protocol.json', 1331cb0ef41Sopenharmony_ci ], 1341cb0ef41Sopenharmony_ci 'outputs': [ 1351cb0ef41Sopenharmony_ci '<(SHARED_INTERMEDIATE_DIR)/v8_inspector_protocol_json.h', 1361cb0ef41Sopenharmony_ci ], 1371cb0ef41Sopenharmony_ci 'process_outputs_as_sources': 1, 1381cb0ef41Sopenharmony_ci 'action': [ 1391cb0ef41Sopenharmony_ci '<(python)', 1401cb0ef41Sopenharmony_ci 'tools/compress_json.py', 1411cb0ef41Sopenharmony_ci '<@(_inputs)', 1421cb0ef41Sopenharmony_ci '<@(_outputs)', 1431cb0ef41Sopenharmony_ci ], 1441cb0ef41Sopenharmony_ci }, 1451cb0ef41Sopenharmony_ci ], 1461cb0ef41Sopenharmony_ci} 147