OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'md5sum', |
| 9 'type': 'none', |
| 10 'dependencies': [ |
| 11 'md5sum_stripped_device_bin', |
| 12 'md5sum_bin_host#host', |
| 13 ], |
| 14 }, |
| 15 { |
| 16 'target_name': 'md5sum_device_bin', |
| 17 'type': 'executable', |
| 18 'dependencies': [ |
| 19 '../../../base/base.gyp:base', |
| 20 ], |
| 21 'include_dirs': [ |
| 22 '../../..', |
| 23 ], |
| 24 'sources': [ |
| 25 'md5sum.cc', |
| 26 ], |
| 27 }, |
| 28 { |
| 29 'target_name': 'md5sum_stripped_device_bin', |
| 30 'type': 'none', |
| 31 'dependencies': [ |
| 32 'md5sum_device_bin', |
| 33 ], |
| 34 'actions': [ |
| 35 { |
| 36 'action_name': 'strip_md5sum_device_bin', |
| 37 'inputs': ['<(PRODUCT_DIR)/md5sum_device_bin'], |
| 38 'outputs': ['<(PRODUCT_DIR)/md5sum_bin'], |
| 39 'action': [ |
| 40 '<(android_strip)', |
| 41 '--strip-unneeded', |
| 42 '<@(_inputs)', |
| 43 '-o', |
| 44 '<@(_outputs)', |
| 45 ], |
| 46 }, |
| 47 ], |
| 48 }, |
| 49 # Same binary but for the host rather than the device. |
| 50 { |
| 51 'target_name': 'md5sum_bin_host', |
| 52 'toolsets': ['host'], |
| 53 'type': 'executable', |
| 54 'dependencies': [ |
| 55 '../../../base/base.gyp:base', |
| 56 ], |
| 57 'include_dirs': [ |
| 58 '../../..', |
| 59 ], |
| 60 'sources': [ |
| 61 'md5sum.cc', |
| 62 ], |
| 63 }, |
| 64 ], |
| 65 } |
OLD | NEW |