| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'forwarder', | 8 'target_name': 'forwarder', |
| 9 'type': 'none', | |
| 10 'dependencies': [ | |
| 11 'forwarder_symbols', | |
| 12 ], | |
| 13 'actions': [ | |
| 14 { | |
| 15 'action_name': 'strip_forwarder', | |
| 16 'inputs': ['<(PRODUCT_DIR)/forwarder_symbols'], | |
| 17 'outputs': ['<(PRODUCT_DIR)/forwarder'], | |
| 18 'action': [ | |
| 19 '<(android_strip)', | |
| 20 '--strip-unneeded', | |
| 21 '<@(_inputs)', | |
| 22 '-o', | |
| 23 '<@(_outputs)', | |
| 24 ], | |
| 25 }, | |
| 26 ], | |
| 27 }, { | |
| 28 'target_name': 'forwarder_symbols', | |
| 29 'type': 'executable', | 9 'type': 'executable', |
| 30 'dependencies': [ | 10 'dependencies': [ |
| 31 '../../../base/base.gyp:base', | 11 '../../../base/base.gyp:base', |
| 32 '../common/common.gyp:android_tools_common', | 12 '../common/common.gyp:android_tools_common', |
| 33 ], | 13 ], |
| 34 'include_dirs': [ | 14 'include_dirs': [ |
| 35 '../../..', | 15 '../../..', |
| 36 ], | 16 ], |
| 37 'sources': [ | 17 'sources': [ |
| 38 'forwarder.cc', | 18 'forwarder.cc', |
| 39 ], | 19 ], |
| 40 }, | 20 }, |
| 41 ], | 21 ], |
| 42 } | 22 } |
| 43 | 23 |
| OLD | NEW |