|
14 | 14 | 'targets': [
|
15 | 15 | { 'target_name': 'inspector_injected_script',
|
16 | 16 | 'type': 'none',
|
17 |
| - 'toolsets': ['target'], |
18 |
| - 'actions': [ |
19 |
| - { |
20 |
| - 'action_name': 'convert_js_to_cpp_char_array', |
21 |
| - 'inputs': [ |
22 |
| - '<(inspector_path)/build/xxd.py', |
23 |
| - '<(inspector_injected_script_source)', |
24 |
| - ], |
25 |
| - 'outputs': [ |
26 |
| - '<(inspector_generated_injected_script)', |
27 |
| - ], |
28 |
| - 'action': [ |
29 |
| - 'python', |
30 |
| - '<(inspector_path)/build/xxd.py', |
31 |
| - 'InjectedScriptSource_js', |
32 |
| - '<(inspector_path)/injected-script-source.js', |
33 |
| - '<@(_outputs)' |
34 |
| - ], |
35 |
| - }, |
36 |
| - ], |
37 |
| - # Since this target generates header files, it needs to be a hard dependency. |
38 |
| - 'hard_dependency': 1, |
39 |
| - }, |
40 |
| - { 'target_name': 'protocol_compatibility', |
41 |
| - 'type': 'none', |
42 |
| - 'toolsets': ['target'], |
43 | 17 | 'actions': [
|
44 | 18 | {
|
45 | 19 | 'action_name': 'protocol_compatibility',
|
|
55 | 29 | '--stamp', '<@(_outputs)',
|
56 | 30 | '<(inspector_path)/js_protocol.json',
|
57 | 31 | ],
|
58 |
| - 'message': 'Generating inspector protocol sources from protocol json definition', |
| 32 | + 'message': 'Checking inspector protocol compatibility', |
59 | 33 | },
|
60 |
| - ] |
61 |
| - }, |
62 |
| - { 'target_name': 'protocol_generated_sources', |
63 |
| - 'type': 'none', |
64 |
| - 'dependencies': [ 'protocol_compatibility' ], |
65 |
| - 'toolsets': ['target'], |
66 |
| - 'actions': [ |
67 | 34 | {
|
68 | 35 | 'action_name': 'protocol_generated_sources',
|
69 | 36 | 'inputs': [
|
|
83 | 50 | ],
|
84 | 51 | 'message': 'Generating inspector protocol sources from protocol json',
|
85 | 52 | },
|
| 53 | + { |
| 54 | + 'action_name': 'convert_js_to_cpp_char_array', |
| 55 | + 'inputs': [ |
| 56 | + '<(inspector_path)/build/xxd.py', |
| 57 | + '<(inspector_injected_script_source)', |
| 58 | + ], |
| 59 | + 'outputs': [ |
| 60 | + '<(inspector_generated_injected_script)', |
| 61 | + ], |
| 62 | + 'action': [ |
| 63 | + 'python', |
| 64 | + '<(inspector_path)/build/xxd.py', |
| 65 | + 'InjectedScriptSource_js', |
| 66 | + '<(inspector_path)/injected-script-source.js', |
| 67 | + '<@(_outputs)' |
| 68 | + ], |
| 69 | + }, |
86 | 70 | ]
|
87 | 71 | },
|
88 | 72 | ],
|
|
0 commit comments