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': 'md5sum', | 8 'target_name': 'md5sum', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 'md5sum_stripped_device_bin', | 11 'md5sum_stripped_device_bin', |
12 'md5sum_bin_host#host', | 12 'md5sum_bin_host#host', |
13 ], | 13 ], |
| 14 # For the component build, ensure dependent shared libraries are stripped |
| 15 # and put alongside md5sum to simplify pushing to the device. |
| 16 'variables': { |
| 17 'output_dir': '<(PRODUCT_DIR)/md5sum_dist/', |
| 18 'native_binary': '<(PRODUCT_DIR)/md5sum_bin', |
| 19 }, |
| 20 'includes': ['../../../build/android/native_app_dependencies.gypi'], |
14 }, | 21 }, |
15 { | 22 { |
16 'target_name': 'md5sum_device_bin', | 23 'target_name': 'md5sum_device_bin', |
17 'type': 'executable', | 24 'type': 'executable', |
18 'dependencies': [ | 25 'dependencies': [ |
19 '../../../base/base.gyp:base', | 26 '../../../base/base.gyp:base', |
20 ], | 27 ], |
21 'include_dirs': [ | 28 'include_dirs': [ |
22 '../../..', | 29 '../../..', |
23 ], | 30 ], |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 ], | 63 ], |
57 'include_dirs': [ | 64 'include_dirs': [ |
58 '../../..', | 65 '../../..', |
59 ], | 66 ], |
60 'sources': [ | 67 'sources': [ |
61 'md5sum.cc', | 68 'md5sum.cc', |
62 ], | 69 ], |
63 }, | 70 }, |
64 ], | 71 ], |
65 } | 72 } |
OLD | NEW |