Introduce ProfilerMetricsProvider
[chromium-blink-merge.git] / chrome / browser / devtools / devtools_protocol_constants.gyp
blob09400b62b92bb4efd05c53b56211d6ed4eec37d2
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             'generator': '../../../content/public/browser/devtools_protocol_constants_generator.py',
16             'package': 'chrome'
17           },
18           'inputs': [
19             '<(blink_protocol)',
20             '<(generator)',
21           ],
22           'outputs': [
23             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.cc',
24             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.h'
25           ],
26           'action':[
27             'python',
28             '<(generator)',
29             '<(package)',
30             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.cc',
31             '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_protocol_constants.h',
32             '<(blink_protocol)',
33           ],
34           'message': 'Generating DevTools protocol constants from <(blink_protocol)'
35         }
36       ],
37     },
38   ],