Index: content/browser/devtools/devtools_resources.gyp |
diff --git a/content/browser/devtools/devtools_resources.gyp b/content/browser/devtools/devtools_resources.gyp |
index 72ae70605492208bd84d98f4c1020477ac63b97c..dd5109f025814bc1e98234d82eddf6452abffd58 100644 |
--- a/content/browser/devtools/devtools_resources.gyp |
+++ b/content/browser/devtools/devtools_resources.gyp |
@@ -70,7 +70,32 @@ |
'<(browser_protocol)', |
], |
'message': 'Generating DevTools protocol constants from <(blink_protocol)' |
- } |
+ }, |
+ { |
+ 'action_name': 'devtools_protocol_handler', |
+ 'variables': { |
+ 'blink_protocol': '../../../third_party/WebKit/Source/devtools/protocol.json', |
+ 'generator': 'protocol/devtools_protocol_handler_generator.py', |
+ 'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_handler_impl.h', |
+ 'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_handler_impl.cc', |
+ }, |
+ 'inputs': [ |
+ '<(blink_protocol)', |
+ '<(generator)', |
+ ], |
+ 'outputs': [ |
+ '<(output_h)', |
+ '<(output_cc)', |
+ ], |
+ 'action':[ |
+ 'python', |
+ '<(generator)', |
+ '<(blink_protocol)', |
+ '<(output_h)', |
+ '<(output_cc)', |
+ ], |
+ 'message': 'Generating DevTools protocol browser-side handlers from <(blink_protocol)' |
+ }, |
], |
'direct_dependent_settings': { |
'include_dirs': [ |