OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 'actions': [ | 72 'actions': [ |
73 { | 73 { |
74 'action_name': 'generateV8InspectorProtocolBackendSources', | 74 'action_name': 'generateV8InspectorProtocolBackendSources', |
75 'inputs': [ | 75 'inputs': [ |
76 '<@(jinja_module_files)', | 76 '<@(jinja_module_files)', |
77 # The python script in action below. | 77 # The python script in action below. |
78 '../inspector_protocol/CodeGenerator.py', | 78 '../inspector_protocol/CodeGenerator.py', |
79 # Source code templates. | 79 # Source code templates. |
80 '../inspector_protocol/TypeBuilder_h.template', | 80 '../inspector_protocol/TypeBuilder_h.template', |
81 '../inspector_protocol/TypeBuilder_cpp.template', | 81 '../inspector_protocol/TypeBuilder_cpp.template', |
| 82 '../inspector_protocol/Exported_h.template', |
| 83 '../inspector_protocol/Imported_h.template', |
82 # Protocol definitions | 84 # Protocol definitions |
83 'js_protocol.json', | 85 'js_protocol.json', |
84 ], | 86 ], |
85 'outputs': [ | 87 'outputs': [ |
86 '<(blink_platform_output_dir)/v8_inspector/protocol/Console.cpp', | 88 '<(blink_platform_output_dir)/v8_inspector/protocol/Console.cpp', |
87 '<(blink_platform_output_dir)/v8_inspector/protocol/Console.h', | 89 '<(blink_platform_output_dir)/v8_inspector/protocol/Console.h', |
88 '<(blink_platform_output_dir)/v8_inspector/protocol/Debugger.cpp', | 90 '<(blink_platform_output_dir)/v8_inspector/protocol/Debugger.cpp', |
89 '<(blink_platform_output_dir)/v8_inspector/protocol/Debugger.h', | 91 '<(blink_platform_output_dir)/v8_inspector/protocol/Debugger.h', |
90 '<(blink_platform_output_dir)/v8_inspector/protocol/HeapProfiler.cpp
', | 92 '<(blink_platform_output_dir)/v8_inspector/protocol/HeapProfiler.cpp
', |
91 '<(blink_platform_output_dir)/v8_inspector/protocol/HeapProfiler.h', | 93 '<(blink_platform_output_dir)/v8_inspector/protocol/HeapProfiler.h', |
92 '<(blink_platform_output_dir)/v8_inspector/protocol/Profiler.cpp', | 94 '<(blink_platform_output_dir)/v8_inspector/protocol/Profiler.cpp', |
93 '<(blink_platform_output_dir)/v8_inspector/protocol/Profiler.h', | 95 '<(blink_platform_output_dir)/v8_inspector/protocol/Profiler.h', |
94 '<(blink_platform_output_dir)/v8_inspector/protocol/Runtime.cpp', | 96 '<(blink_platform_output_dir)/v8_inspector/protocol/Runtime.cpp', |
95 '<(blink_platform_output_dir)/v8_inspector/protocol/Runtime.h', | 97 '<(blink_platform_output_dir)/v8_inspector/protocol/Runtime.h', |
| 98 '<(blink_platform_output_dir)/v8_inspector/public/protocol/Runtime.h
', |
| 99 '<(blink_platform_output_dir)/v8_inspector/public/protocol/Debugger.
h', |
96 ], | 100 ], |
97 'action': [ | 101 'action': [ |
98 'python', | 102 'python', |
99 '../inspector_protocol/CodeGenerator.py', | 103 '../inspector_protocol/CodeGenerator.py', |
100 '--protocol', 'js_protocol.json', | 104 '--protocol', 'js_protocol.json', |
101 '--string_type', 'String16', | 105 '--string_type', 'String16', |
102 '--export_macro', 'PLATFORM_EXPORT', | 106 '--export_macro', 'PLATFORM_EXPORT', |
103 '--output_dir', '<(blink_platform_output_dir)/v8_inspector/protocol'
, | 107 '--output_dir', '<(blink_platform_output_dir)/v8_inspector/protocol'
, |
104 '--output_package', 'platform/v8_inspector/protocol', | 108 '--output_package', 'platform/v8_inspector/protocol', |
| 109 '--exported_dir', '<(blink_platform_output_dir)/v8_inspector/public/
protocol', |
| 110 '--exported_package', 'platform/v8_inspector/public/protocol', |
105 ], | 111 ], |
106 'message': 'Generating protocol backend sources from json definitions.
', | 112 'message': 'Generating protocol backend sources from json definitions.
', |
107 }, | 113 }, |
108 ] | 114 ] |
109 }, | 115 }, |
110 { | 116 { |
111 # GN version: //third_party/WebKit/Source/core/inspector:protocol_version | 117 # GN version: //third_party/WebKit/Source/core/inspector:protocol_version |
112 'target_name': 'protocol_version', | 118 'target_name': 'protocol_version', |
113 'type': 'none', | 119 'type': 'none', |
114 'actions': [ | 120 'actions': [ |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 'public/V8Inspector.h', | 241 'public/V8Inspector.h', |
236 'public/V8InspectorSession.h', | 242 'public/V8InspectorSession.h', |
237 'public/V8StackTrace.h', | 243 'public/V8StackTrace.h', |
238 | 244 |
239 '<(blink_platform_output_dir)/v8_inspector/DebuggerScript.h', | 245 '<(blink_platform_output_dir)/v8_inspector/DebuggerScript.h', |
240 '<(blink_platform_output_dir)/v8_inspector/InjectedScriptSource.h', | 246 '<(blink_platform_output_dir)/v8_inspector/InjectedScriptSource.h', |
241 ], | 247 ], |
242 }, | 248 }, |
243 ], # targets | 249 ], # targets |
244 } | 250 } |
OLD | NEW |