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

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',
34 'Dispatcher_cpp.template',
35 'Frontend_h.template',
36 'Frontend_cpp.template',
37 'TypeBuilder_h.template', 32 'TypeBuilder_h.template',
38 'TypeBuilder_cpp.template', 33 'TypeBuilder_cpp.template',
39 ], 34 ],
40 'outputs': [ 35 'outputs': [
41 '<(blink_platform_output_dir)/inspector_protocol/Backend.h',
42 '<(blink_platform_output_dir)/inspector_protocol/Dispatcher.cpp',
43 '<(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', 36 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.cpp',
47 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.h', 37 '<(blink_platform_output_dir)/inspector_protocol/TypeBuilder.h',
48 ], 38 ],
49 'action': [ 39 'action': [
50 'python', 40 'python',
51 'CodeGenerator.py', 41 'CodeGenerator.py',
52 '../../devtools/protocol.json', 42 '../../devtools/protocol.json',
53 '--output_dir', '<(blink_platform_output_dir)/inspector_protocol', 43 '--output_dir', '<(blink_platform_output_dir)/inspector_protocol',
54 ], 44 ],
55 'message': 'Generating Inspector protocol backend sources from protoco l.json', 45 'message': 'Generating Inspector protocol backend sources from protoco l.json',
(...skipping 24 matching lines...) Expand all
80 '-o', 70 '-o',
81 '<@(_outputs)', 71 '<@(_outputs)',
82 '<@(_inputs)' 72 '<@(_inputs)'
83 ], 73 ],
84 'message': 'Validate inspector protocol for backwards compatibility an d generate version file', 74 'message': 'Validate inspector protocol for backwards compatibility an d generate version file',
85 } 75 }
86 ] 76 ]
87 }, 77 },
88 ], # targets 78 ], # targets
89 } 79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698