OLD | NEW |
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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'devtools_protocol_constants', | 8 'target_name': 'devtools_protocol_constants', |
9 'type': 'none', | 9 'type': 'none', |
10 'actions': [ | 10 'actions': [ |
11 { | 11 { |
12 'action_name': 'devtools_protocol_constants', | 12 'action_name': 'devtools_protocol_constants', |
| 13 'dependencies': [ |
| 14 '//third_party/WebKit/Source/core/inspector:protocol_version' |
| 15 ], |
13 'variables': { | 16 'variables': { |
14 'blink_protocol': '../../../third_party/WebKit/Source/devtools/proto
col.json', | 17 'blink_protocol': '<(SHARED_INTERMEDIATE_DIR)/blink/core/inspector/p
rotocol.json', |
15 'browser_protocol': '../../../content/browser/devtools/browser_proto
col.json', | 18 'browser_protocol': '../../../content/browser/devtools/browser_proto
col.json', |
16 'generator': 'devtools_protocol_constants_generator.py', | 19 'generator': 'devtools_protocol_constants_generator.py', |
17 'package': 'chrome' | 20 'package': 'chrome' |
18 }, | 21 }, |
19 'inputs': [ | 22 'inputs': [ |
20 '<(blink_protocol)', | 23 '<(blink_protocol)', |
21 '<(browser_protocol)', | 24 '<(browser_protocol)', |
22 '<(generator)', | 25 '<(generator)', |
23 ], | 26 ], |
24 'outputs': [ | 27 'outputs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.cc', | 28 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.cc', |
26 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.h' | 29 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.h' |
27 ], | 30 ], |
28 'action':[ | 31 'action':[ |
29 'python', | 32 'python', |
30 '<(generator)', | 33 '<(generator)', |
31 '<(package)', | 34 '<(package)', |
32 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.cc', | 35 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.cc', |
33 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.h', | 36 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro
tocol_constants.h', |
34 '<(blink_protocol)', | 37 '<(blink_protocol)', |
35 '<(browser_protocol)', | 38 '<(browser_protocol)', |
36 ], | 39 ], |
37 'message': 'Generating DevTools protocol constants from <(blink_protoc
ol) and <(browser_protocol)' | 40 'message': 'Generating DevTools protocol constants from <(blink_protoc
ol) and <(browser_protocol)' |
38 } | 41 } |
39 ], | 42 ], |
40 }, | 43 }, |
41 ], | 44 ], |
42 } | 45 } |
OLD | NEW |