abarth@chromium.org | 55537ae | 2013-12-11 02:18:28 +0900 | [diff] [blame] | 1 | # Copyright (c) 2013 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 | 'type': 'none', |
| 7 | 'dependencies': [ |
| 8 | '<(app_name)', |
| 9 | ], |
| 10 | 'conditions': [ |
| 11 | ['OS=="android"', { |
| 12 | 'variables': { |
| 13 | 'mojo_app_dir': '<(PRODUCT_DIR)/apps', |
davemoore@chromium.org | c957669 | 2014-07-17 03:55:26 +0900 | [diff] [blame] | 14 | 'source_binary': '<(PRODUCT_DIR)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED_LIB_SUFFIX)', |
abarth@chromium.org | 55537ae | 2013-12-11 02:18:28 +0900 | [diff] [blame] | 15 | 'target_binary': '<(mojo_app_dir)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED_LIB_SUFFIX)', |
| 16 | }, |
| 17 | 'actions': [{ |
| 18 | 'action_name': 'strip', |
| 19 | 'inputs': [ '<(source_binary)', ], |
| 20 | 'outputs': [ '<(target_binary)', ], |
| 21 | 'action': [ |
| 22 | '<(android_strip)', |
| 23 | '<@(_inputs)', |
| 24 | '--strip-unneeded', |
| 25 | '-o', |
| 26 | '<@(_outputs)', |
| 27 | ], |
| 28 | }], |
| 29 | }], |
| 30 | ], |
| 31 | } |