Refactor WebsiteSettings to operate on a SecurityInfo
[chromium-blink-merge.git] / chrome / browser / devtools / devtools_protocol_constants.gyp
blobedaa1f9257af5f5338de332ff0ec376406c31eec
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_constants',
9       'type': 'none',
10       'actions': [
11         {
12           'action_name': 'devtools_protocol_constants',
13           'variables': {
14             'blink_protocol': '../../../third_party/WebKit/Source/devtools/protocol.json',
15             'browser_protocol': '../../../content/browser/devtools/browser_protocol.json',
16             'generator': 'devtools_protocol_constants_generator.py',
17             'package': 'chrome'
18           },
19           'inputs': [
20             '<(blink_protocol)',
21             '<(browser_protocol)',
22             '<(generator)',
23           ],
24           'outputs': [
25             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.cc',
26             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.h'
27           ],
28           'action':[
29             'python',
30             '<(generator)',
31             '<(package)',
32             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.cc',
33             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.h',
34             '<(blink_protocol)',
35             '<(browser_protocol)',
36           ],
37           'message': 'Generating DevTools protocol constants from <(blink_protocol) and <(browser_protocol)'
38         }
39       ],
40     },
41   ],