Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Side by Side Diff: third_party/WebKit/Source/platform/inspector_protocol/protocol.gyp

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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',
33 'Dispatcher_h.template', 32 'Dispatcher_h.template',
34 'Dispatcher_cpp.template', 33 'Dispatcher_cpp.template',
35 'Frontend_h.template',
36 'Frontend_cpp.template',
37 'TypeBuilder_h.template', 34 'TypeBuilder_h.template',
38 'TypeBuilder_cpp.template', 35 'TypeBuilder_cpp.template',
39 ], 36 ],
40 'outputs': [ 37 'outputs': [
41 '<(blink_platform_output_dir)/inspector_protocol/Backend.h',
42 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.cpp', 38 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.cpp',
43 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.h', 39 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.h',
44 '<(blink_platform_output_dir)/inspector_protocol/Frontend.cpp',
45 '<(blink_platform_output_dir)/inspector_protocol/Frontend.h',
46 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.cpp', 40 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.cpp',
47 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.h', 41 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.h',
48 ], 42 ],
49 'action': [ 43 'action': [
50 'python', 44 'python',
51 'CodeGenerator.py', 45 'CodeGenerator.py',
52 '../../devtools/protocol.json', 46 '../../devtools/protocol.json',
53 '--output_dir', '<(blink_platform_output_dir)/inspector_protocol', 47 '--output_dir', '<(blink_platform_output_dir)/inspector_protocol',
54 ], 48 ],
55 'message': 'Generating Inspector protocol backend sources from protoco l.json', 49 'message': 'Generating Inspector protocol backend sources from protoco l.json',
(...skipping 24 matching lines...) Expand all
80 '-o', 74 '-o',
81 '<@(_outputs)', 75 '<@(_outputs)',
82 '<@(_inputs)' 76 '<@(_inputs)'
83 ], 77 ],
84 'message': 'Validate inspector protocol for backwards compatibility an d generate version file', 78 'message': 'Validate inspector protocol for backwards compatibility an d generate version file',
85 } 79 }
86 ] 80 ]
87 }, 81 },
88 ], # targets 82 ], # targets
89 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698