summaryrefslogtreecommitdiffstats
path: root/content/browser/devtools/devtools.gyp
blob: a67eca87890aeeceaf196e82a2a9810d26d43ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'devtools_protocol_handler',
      'type': 'none',
      'actions': [
        {
          'action_name': 'devtools_protocol_handler',
          'variables': {
            'blink_protocol': '../../../third_party/WebKit/Source/devtools/protocol.json',
            'generator': 'protocol/devtools_protocol_handler_generator.py',
            'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_handler_impl.cc',
            'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_handler_impl.h',
          },
          'inputs': [
            '<(blink_protocol)',
            '<(generator)',
          ],
          'outputs': [
            '<(output_cc)',
            '<(output_h)',
          ],
          'action':[
            'python',
            '<(generator)',
            '<(blink_protocol)',
            '<(output_cc)',
            '<(output_h)',
          ],
          'message': 'Generating DevTools protocol browser-side handlers from <(blink_protocol)'
        },
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)',
        ]
      },
    },
  ],
}