Home | History | Annotate | Download | only in devtools
      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.
      4 
      5 {
      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   ],
     39 }
     40