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