Index: third_party/WebKit/Source/devtools/devtools.gyp |
diff --git a/third_party/WebKit/Source/devtools/devtools.gyp b/third_party/WebKit/Source/devtools/devtools.gyp |
index 5d7e8fbb6ad0938bd6efcebadeae65a13929e5f8..6c3a11a466eb5339b6fd33335c8be69a51ec8c68 100644 |
--- a/third_party/WebKit/Source/devtools/devtools.gyp |
+++ b/third_party/WebKit/Source/devtools/devtools.gyp |
@@ -191,11 +191,14 @@ |
'actions': [ |
{ |
'action_name': 'generateInspectorProtocolFrontendSources', |
+ 'dependencies': [ |
+ '../core/inspector:protocol_version' |
+ ], |
'inputs': [ |
# The python script in action below. |
'scripts/CodeGeneratorFrontend.py', |
# Input file for the script. |
- 'protocol.json', |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/core/inspector/protocol.json', |
], |
'outputs': [ |
'<(PRODUCT_DIR)/resources/inspector/InspectorBackendCommands.js', |
@@ -203,10 +206,10 @@ |
'action': [ |
'python', |
'scripts/CodeGeneratorFrontend.py', |
- 'protocol.json', |
+ '<(SHARED_INTERMEDIATE_DIR)/blink/core/inspector/protocol.json', |
'--output_js_dir', '<(PRODUCT_DIR)/resources/inspector/', |
], |
- 'message': 'Generating Inspector protocol frontend sources from protocol.json', |
+ 'message': 'Generating Inspector protocol frontend sources from json definitions.', |
}, |
] |
}, |