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