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': 'device_stats_monitor', | 8 'target_name': 'device_stats_monitor', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 'device_stats_monitor_symbols', | 11 'device_stats_monitor_symbols', |
12 ], | 12 ], |
13 'actions': [ | 13 'actions': [ |
14 { | 14 { |
15 'action_name': 'strip_device_stats_monitor', | 15 'action_name': 'strip_device_stats_monitor', |
16 'inputs': ['<(PRODUCT_DIR)/device_stats_monitor_symbols'], | 16 'inputs': ['<(PRODUCT_DIR)/device_stats_monitor_symbols'], |
17 'outputs': ['<(PRODUCT_DIR)/device_stats_monitor'], | 17 'outputs': ['<(PRODUCT_DIR)/device_stats_monitor'], |
18 'action': [ | 18 'action': [ |
19 '<!(/bin/echo -n $STRIP)', | 19 '<(android_strip)', |
20 '--strip-unneeded', | 20 '--strip-unneeded', |
21 '<@(_inputs)', | 21 '<@(_inputs)', |
22 '-o', | 22 '-o', |
23 '<@(_outputs)', | 23 '<@(_outputs)', |
24 ], | 24 ], |
25 }, | 25 }, |
26 ], | 26 ], |
27 }, { | 27 }, { |
28 'target_name': 'device_stats_monitor_symbols', | 28 'target_name': 'device_stats_monitor_symbols', |
29 'type': 'executable', | 29 'type': 'executable', |
30 'dependencies': [ | 30 'dependencies': [ |
31 '../../../base/base.gyp:base', | 31 '../../../base/base.gyp:base', |
32 ], | 32 ], |
33 'include_dirs': [ | 33 'include_dirs': [ |
34 '../../..', | 34 '../../..', |
35 ], | 35 ], |
36 'sources': [ | 36 'sources': [ |
37 'device_stats_monitor.cc', | 37 'device_stats_monitor.cc', |
38 ], | 38 ], |
39 }, | 39 }, |
40 ], | 40 ], |
41 } | 41 } |
OLD | NEW |