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_handler', | |
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_handler', | |
16 'variables': { | |
17 'blink_protocol': '<(SHARED_INTERMEDIATE_DIR)/blink/core/inspector/p
rotocol.json', | |
18 'generator': 'protocol/devtools_protocol_handler_generator.py', | |
19 'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/pr
otocol/devtools_protocol_dispatcher.cc', | |
20 'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/pro
tocol/devtools_protocol_dispatcher.h', | |
21 }, | |
22 'inputs': [ | |
23 '<(blink_protocol)', | |
24 '<(generator)', | |
25 ], | |
26 'outputs': [ | |
27 '<(output_cc)', | |
28 '<(output_h)', | |
29 ], | |
30 'action':[ | |
31 'python', | |
32 '<(generator)', | |
33 '<(blink_protocol)', | |
34 '<(output_cc)', | |
35 '<(output_h)', | |
36 ], | |
37 'message': 'Generating DevTools protocol browser-side handlers from <(
blink_protocol)' | |
38 }, | |
39 ], | |
40 'direct_dependent_settings': { | |
41 'include_dirs': [ | |
42 '<(SHARED_INTERMEDIATE_DIR)', | |
43 ] | |
44 }, | |
45 }, | |
46 ], | |
47 } | |
OLD | NEW |