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 'actions': [ | 10 'actions': [ |
11 { | 11 { |
12 'action_name': 'devtools_protocol_handler', | 12 'action_name': 'devtools_protocol_handler', |
13 'variables': { | 13 'variables': { |
14 'blink_protocol': '../../../third_party/WebKit/Source/devtools/proto
col.json', | 14 'blink_protocol': '../../../third_party/WebKit/Source/devtools/proto
col.json', |
| 15 'browser_protocol': 'browser_protocol.json', |
15 'generator': 'protocol/devtools_protocol_handler_generator.py', | 16 'generator': 'protocol/devtools_protocol_handler_generator.py', |
16 'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/pr
otocol/devtools_protocol_handler_impl.cc', | 17 'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/pr
otocol/devtools_protocol_handler_impl.cc', |
17 'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/pro
tocol/devtools_protocol_handler_impl.h', | 18 'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/pro
tocol/devtools_protocol_handler_impl.h', |
18 }, | 19 }, |
19 'inputs': [ | 20 'inputs': [ |
20 '<(blink_protocol)', | 21 '<(blink_protocol)', |
| 22 '<(browser_protocol)', |
21 '<(generator)', | 23 '<(generator)', |
22 ], | 24 ], |
23 'outputs': [ | 25 'outputs': [ |
24 '<(output_cc)', | 26 '<(output_cc)', |
25 '<(output_h)', | 27 '<(output_h)', |
26 ], | 28 ], |
27 'action':[ | 29 'action':[ |
28 'python', | 30 'python', |
29 '<(generator)', | 31 '<(generator)', |
30 '<(blink_protocol)', | 32 '<(blink_protocol)', |
| 33 '<(browser_protocol)', |
31 '<(output_cc)', | 34 '<(output_cc)', |
32 '<(output_h)', | 35 '<(output_h)', |
33 ], | 36 ], |
34 'message': 'Generating DevTools protocol browser-side handlers from <(
blink_protocol)' | 37 'message': 'Generating DevTools protocol browser-side handlers from <(
blink_protocol) and <(browser_protocol)' |
35 }, | 38 }, |
36 ], | 39 ], |
37 'direct_dependent_settings': { | 40 'direct_dependent_settings': { |
38 'include_dirs': [ | 41 'include_dirs': [ |
39 '<(SHARED_INTERMEDIATE_DIR)', | 42 '<(SHARED_INTERMEDIATE_DIR)', |
40 ] | 43 ] |
41 }, | 44 }, |
42 }, | 45 }, |
43 ], | 46 ], |
44 } | 47 } |
OLD | NEW |