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

Unified Diff: content/browser/devtools/devtools_resources.gyp

Issue 508973003: DevTools: Protocol handler generator for content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fit generated code in 80 chars per line Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
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',
dgozman 2014/09/16 15:38:05 Let's put .cc first.
vkuzkokov 2014/09/16 16:37:55 Done.
+ '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': [

Powered by Google App Engine
This is Rietveld 408576698