# 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', 'browser_protocol': 'browser_protocol.json', 'generator': 'protocol/devtools_protocol_handler_generator.py', 'output_cc': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_dispatcher.cc', 'output_h': '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/protocol/devtools_protocol_dispatcher.h', }, 'inputs': [ '<(blink_protocol)', '<(browser_protocol)', '<(generator)', ], 'outputs': [ '<(output_cc)', '<(output_h)', ], 'action':[ 'python', '<(generator)', '<(blink_protocol)', '<(browser_protocol)', '<(output_cc)', '<(output_h)', ], 'message': 'Generating DevTools protocol browser-side handlers from <(blink_protocol) and <(browser_protocol)' }, ], 'direct_dependent_settings': { 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)', ] }, }, ], }