|
1017 | 1017 | }], |
1018 | 1018 | ], |
1019 | 1019 | }, # v8_compiler_for_mksnapshot |
| 1020 | + { |
| 1021 | + 'target_name': 'v8_inspector_headers', |
| 1022 | + 'type': 'none', |
| 1023 | + 'toolsets': ['host', 'target'], |
| 1024 | + 'hard_dependency': 1, |
| 1025 | + 'includes': ['inspector.gypi'], |
| 1026 | + 'direct_dependent_settings': { |
| 1027 | + 'include_dirs': [ |
| 1028 | + '<(inspector_generated_output_root)/include', |
| 1029 | + ], |
| 1030 | + }, |
| 1031 | + 'actions': [ |
| 1032 | + { |
| 1033 | + 'action_name': 'protocol_compatibility', |
| 1034 | + 'inputs': [ |
| 1035 | + '<(v8_inspector_js_protocol)', |
| 1036 | + ], |
| 1037 | + 'outputs': [ |
| 1038 | + '<@(inspector_generated_output_root)/src/js_protocol.stamp', |
| 1039 | + ], |
| 1040 | + 'action': [ |
| 1041 | + '<(python)', |
| 1042 | + '<(inspector_protocol_path)/check_protocol_compatibility.py', |
| 1043 | + '--stamp', '<@(_outputs)', |
| 1044 | + '<@(_inputs)', |
| 1045 | + ], |
| 1046 | + 'message': 'Checking inspector protocol compatibility', |
| 1047 | + }, |
| 1048 | + { |
| 1049 | + 'action_name': 'protocol_generated_sources', |
| 1050 | + 'inputs': [ |
| 1051 | + '<(v8_inspector_js_protocol)', |
| 1052 | + '<(inspector_path)/inspector_protocol_config.json', |
| 1053 | + '<@(inspector_protocol_files)', |
| 1054 | + ], |
| 1055 | + 'outputs': [ |
| 1056 | + '<@(inspector_generated_sources)', |
| 1057 | + ], |
| 1058 | + 'process_outputs_as_sources': 1, |
| 1059 | + 'action': [ |
| 1060 | + '<(python)', |
| 1061 | + '<(inspector_protocol_path)/code_generator.py', |
| 1062 | + '--jinja_dir', '<(V8_ROOT)/third_party', |
| 1063 | + '--output_base', '<(inspector_generated_output_root)/src/inspector', |
| 1064 | + '--config', '<(inspector_path)/inspector_protocol_config.json', |
| 1065 | + '--config_value', 'protocol.path=<(v8_inspector_js_protocol)', |
| 1066 | + '--inspector_protocol_dir', '<(inspector_protocol_path)', |
| 1067 | + ], |
| 1068 | + 'message': 'Generating inspector protocol sources from protocol json', |
| 1069 | + }, |
| 1070 | + ], |
| 1071 | + }, # v8_inspector_headers |
1020 | 1072 | { |
1021 | 1073 | 'target_name': 'v8_base_without_compiler', |
1022 | 1074 | 'type': 'static_library', |
|
1026 | 1078 | 'v8_bigint', |
1027 | 1079 | 'v8_headers', |
1028 | 1080 | 'v8_heap_base', |
| 1081 | + 'v8_inspector_headers', |
1029 | 1082 | 'v8_libbase', |
1030 | 1083 | 'v8_shared_internal_headers', |
1031 | 1084 | 'v8_version', |
|
0 commit comments