| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'blink_platform_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/platform', | |
| 8 'jinja_module_files': [ | |
| 9 # jinja2/__init__.py contains version string, so sufficient for package | |
| 10 '<(DEPTH)/third_party/jinja2/__init__.py', | |
| 11 '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep | |
| 12 ], | |
| 13 }, | |
| 14 'targets': [ | |
| 15 { | |
| 16 # GN version: //third_party/WebKit/Source/platform/inspector_protocol_vers
ion | |
| 17 'target_name': 'protocol_version', | |
| 18 'type': 'none', | |
| 19 'actions': [ | |
| 20 { | |
| 21 'action_name': 'generateInspectorProtocolVersion', | |
| 22 'inputs': [ | |
| 23 'generate-inspector-protocol-version', | |
| 24 '../../devtools/protocol.json', | |
| 25 ], | |
| 26 'outputs': [ | |
| 27 '<(blink_platform_output_dir)/inspector_protocol/InspectorProtocolVe
rsion.h', | |
| 28 ], | |
| 29 'action': [ | |
| 30 'python', | |
| 31 'generate-inspector-protocol-version', | |
| 32 '-o', | |
| 33 '<@(_outputs)', | |
| 34 '<@(_inputs)' | |
| 35 ], | |
| 36 'message': 'Validate inspector protocol for backwards compatibility an
d generate version file', | |
| 37 } | |
| 38 ] | |
| 39 }, | |
| 40 ], # targets | |
| 41 } | |
| OLD | NEW |