blob: 1df518b1bb6c7fd627fb633347b6d43ba44c59ae [file] [log] [blame]
# Copyright (c) 2012 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': 'forwarder',
'type': 'none',
'dependencies': [
'forwarder_symbols',
],
'actions': [
{
'action_name': 'strip_forwarder',
'inputs': ['<(PRODUCT_DIR)/forwarder_symbols'],
'outputs': ['<(PRODUCT_DIR)/forwarder'],
'action': [
'<(android_strip)',
'--strip-unneeded',
'<@(_inputs)',
'-o',
'<@(_outputs)',
],
},
],
}, {
'target_name': 'forwarder_symbols',
'type': 'executable',
'dependencies': [
'../../../base/base.gyp:base',
'../common/common.gyp:android_tools_common',
],
'include_dirs': [
'../../..',
],
'sources': [
'forwarder.cc',
],
},
],
}