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