Add ICU message format support
[chromium-blink-merge.git] / content / browser / devtools / devtools.gyp
blob9aaaf25b9cddf69f8bcfffcef935acd50bb494fb
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.
6   'targets': [
7     {
8       'target_name': 'devtools_protocol_handler',
9       'type': 'none',
10       'actions': [
11         {
12           'action_name': 'devtools_protocol_handler',
13           'variables': {
14             'blink_protocol': '../../../third_party/WebKit/Source/devtools/protocol.json',
15             'browser_protocol': 'browser_protocol.json',
16             'generator': 'protocol/devtools_protocol_handler_generator.py',
17             'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_dispatcher.cc',
18             'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_dispatcher.h',
19           },
20           'inputs': [
21             '<(blink_protocol)',
22             '<(browser_protocol)',
23             '<(generator)',
24           ],
25           'outputs': [
26             '<(output_cc)',
27             '<(output_h)',
28           ],
29           'action':[
30             'python',
31             '<(generator)',
32             '<(blink_protocol)',
33             '<(browser_protocol)',
34             '<(output_cc)',
35             '<(output_h)',
36           ],
37           'message': 'Generating DevTools protocol browser-side handlers from <(blink_protocol) and <(browser_protocol)'
38         },
39       ],
40       'direct_dependent_settings': {
41         'include_dirs': [
42           '<(SHARED_INTERMEDIATE_DIR)',
43         ]
44       },
45     },
46   ],