| OLD | NEW |
| 1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'protocol_path': '<(PRODUCT_DIR)/../../third_party/WebKit/Source/platform/in
spector_protocol', | 7 'protocol_path': '<(PRODUCT_DIR)/../../third_party/WebKit/Source/platform/in
spector_protocol', |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 'inspector.gypi', | 10 'inspector.gypi', |
| 11 '<(PRODUCT_DIR)/../../../third_party/WebKit/Source/platform/inspector_protoc
ol/inspector_protocol.gypi', | 11 '<(PRODUCT_DIR)/../../../third_party/WebKit/Source/platform/inspector_protoc
ol/inspector_protocol.gypi', |
| 12 ], | 12 ], |
| 13 'targets': [ | 13 'targets': [ |
| 14 { 'target_name': 'inspector_injected_script', | 14 { 'target_name': 'inspector_injected_script', |
| 15 'type': 'none', | 15 'type': 'none', |
| 16 'actions': [ | 16 'actions': [ |
| 17 { | 17 { |
| 18 'action_name': 'convert_js_to_cpp_char_array', | 18 'action_name': 'convert_js_to_cpp_char_array', |
| 19 'inputs': [ | 19 'inputs': [ |
| 20 'build/xxd.py', | 20 'build/xxd.py', |
| 21 '<(inspector_injected_script_source)', | 21 '<(inspector_injected_script_source)', |
| 22 ], | 22 ], |
| 23 'outputs': [ | 23 'outputs': [ |
| 24 '<(inspector_generated_injected_script)', | 24 '<(inspector_generated_injected_script)', |
| 25 ], | 25 ], |
| 26 'action': [ | 26 'action': [ |
| 27 'python', | 27 'python', |
| 28 'build/xxd.py', | 28 'build/xxd.py', |
| 29 'InjectedScriptSource_js', | 29 'InjectedScriptSource_js', |
| 30 'InjectedScriptSource.js', | 30 'injected-script-source.js', |
| 31 '<@(_outputs)' | 31 '<@(_outputs)' |
| 32 ], | 32 ], |
| 33 }, | 33 }, |
| 34 ], | 34 ], |
| 35 # Since this target generates header files, it needs to be a hard dependen
cy. | 35 # Since this target generates header files, it needs to be a hard dependen
cy. |
| 36 'hard_dependency': 1, | 36 'hard_dependency': 1, |
| 37 }, | 37 }, |
| 38 { 'target_name': 'inspector_debugger_script', | 38 { 'target_name': 'inspector_debugger_script', |
| 39 'type': 'none', | 39 'type': 'none', |
| 40 'actions': [ | 40 'actions': [ |
| 41 { | 41 { |
| 42 'action_name': 'convert_js_to_cpp_char_array', | 42 'action_name': 'convert_js_to_cpp_char_array', |
| 43 'inputs': [ | 43 'inputs': [ |
| 44 'build/xxd.py', | 44 'build/xxd.py', |
| 45 '<(inspector_debugger_script_source)', | 45 '<(inspector_debugger_script_source)', |
| 46 ], | 46 ], |
| 47 'outputs': [ | 47 'outputs': [ |
| 48 '<(inspector_generated_debugger_script)', | 48 '<(inspector_generated_debugger_script)', |
| 49 ], | 49 ], |
| 50 'action': [ | 50 'action': [ |
| 51 'python', | 51 'python', |
| 52 'build/xxd.py', | 52 'build/xxd.py', |
| 53 'DebuggerScript_js', | 53 'DebuggerScript_js', |
| 54 'DebuggerScript.js', | 54 'debugger-script.js', |
| 55 '<@(_outputs)' | 55 '<@(_outputs)' |
| 56 ], | 56 ], |
| 57 }, | 57 }, |
| 58 ], | 58 ], |
| 59 # Since this target generates header files, it needs to be a hard dependen
cy. | 59 # Since this target generates header files, it needs to be a hard dependen
cy. |
| 60 'hard_dependency': 1, | 60 'hard_dependency': 1, |
| 61 }, | 61 }, |
| 62 { 'target_name': 'protocol_compatibility', | 62 { 'target_name': 'protocol_compatibility', |
| 63 'type': 'none', | 63 'type': 'none', |
| 64 'actions': [ | 64 'actions': [ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 '--jinja_dir', '<(PRODUCT_DIR)/../../third_party', | 100 '--jinja_dir', '<(PRODUCT_DIR)/../../third_party', |
| 101 '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/inspector', | 101 '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/inspector', |
| 102 '--config', 'inspector_protocol_config.json', | 102 '--config', 'inspector_protocol_config.json', |
| 103 ], | 103 ], |
| 104 'message': 'Generating inspector protocol sources from protocol json', | 104 'message': 'Generating inspector protocol sources from protocol json', |
| 105 }, | 105 }, |
| 106 ] | 106 ] |
| 107 }, | 107 }, |
| 108 ], | 108 ], |
| 109 } | 109 } |
| OLD | NEW |