| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium 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 'blink_platform_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/platform', | 7 'blink_platform_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/platform', |
| 8 'jinja_module_files': [ | 8 'jinja_module_files': [ |
| 9 # jinja2/__init__.py contains version string, so sufficient for package | 9 # jinja2/__init__.py contains version string, so sufficient for package |
| 10 '<(DEPTH)/third_party/jinja2/__init__.py', | 10 '<(DEPTH)/third_party/jinja2/__init__.py', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 ], | 22 ], |
| 23 'actions': [ | 23 'actions': [ |
| 24 { | 24 { |
| 25 'action_name': 'generateInspectorProtocolBackendSources', | 25 'action_name': 'generateInspectorProtocolBackendSources', |
| 26 'inputs': [ | 26 'inputs': [ |
| 27 '<@(jinja_module_files)', | 27 '<@(jinja_module_files)', |
| 28 # The python script in action below. | 28 # The python script in action below. |
| 29 'CodeGenerator.py', | 29 'CodeGenerator.py', |
| 30 # Input files for the script. | 30 # Input files for the script. |
| 31 '../../devtools/protocol.json', | 31 '../../devtools/protocol.json', |
| 32 'Backend_h.template', |
| 32 'Dispatcher_h.template', | 33 'Dispatcher_h.template', |
| 33 'Dispatcher_cpp.template', | 34 'Dispatcher_cpp.template', |
| 34 'Frontend_h.template', | 35 'Frontend_h.template', |
| 35 'Frontend_cpp.template', | 36 'Frontend_cpp.template', |
| 36 'TypeBuilder_h.template', | 37 'TypeBuilder_h.template', |
| 37 'TypeBuilder_cpp.template', | 38 'TypeBuilder_cpp.template', |
| 38 ], | 39 ], |
| 39 'outputs': [ | 40 'outputs': [ |
| 41 '<(blink_platform_output_dir)/inspector_protocol/Backend.h', |
| 40 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.cpp', | 42 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.cpp', |
| 41 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.h', | 43 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.h', |
| 42 '<(blink_platform_output_dir)/inspector_protocol/Frontend.cpp', | 44 '<(blink_platform_output_dir)/inspector_protocol/Frontend.cpp', |
| 43 '<(blink_platform_output_dir)/inspector_protocol/Frontend.h', | 45 '<(blink_platform_output_dir)/inspector_protocol/Frontend.h', |
| 44 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.cpp', | 46 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.cpp', |
| 45 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.h', | 47 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.h', |
| 46 ], | 48 ], |
| 47 'action': [ | 49 'action': [ |
| 48 'python', | 50 'python', |
| 49 'CodeGenerator.py', | 51 'CodeGenerator.py', |
| (...skipping 28 matching lines...) Expand all Loading... |
| 78 '-o', | 80 '-o', |
| 79 '<@(_outputs)', | 81 '<@(_outputs)', |
| 80 '<@(_inputs)' | 82 '<@(_inputs)' |
| 81 ], | 83 ], |
| 82 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', | 84 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', |
| 83 } | 85 } |
| 84 ] | 86 ] |
| 85 }, | 87 }, |
| 86 ], # targets | 88 ], # targets |
| 87 } | 89 } |
| OLD | NEW |