| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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 'type': 'none', | 6 'type': 'none', |
| 7 'dependencies': [ | 7 'dependencies': [ |
| 8 '<(app_name)', | 8 '<(app_name)', |
| 9 ], | 9 ], |
| 10 'conditions': [ | 10 'conditions': [ |
| 11 ['OS=="android"', { | 11 ['OS=="android"', { |
| 12 'variables': { | 12 'variables': { |
| 13 'mojo_app_dir': '<(PRODUCT_DIR)/apps', | 13 'mojo_app_dir': '<(PRODUCT_DIR)/apps', |
| 14 'source_binary': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)<(app_name)<(SHA
RED_LIB_SUFFIX)', | 14 'source_binary': '<(PRODUCT_DIR)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED
_LIB_SUFFIX)', |
| 15 'target_binary': '<(mojo_app_dir)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARE
D_LIB_SUFFIX)', | 15 'target_binary': '<(mojo_app_dir)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARE
D_LIB_SUFFIX)', |
| 16 }, | 16 }, |
| 17 'actions': [{ | 17 'actions': [{ |
| 18 'action_name': 'strip', | 18 'action_name': 'strip', |
| 19 'inputs': [ '<(source_binary)', ], | 19 'inputs': [ '<(source_binary)', ], |
| 20 'outputs': [ '<(target_binary)', ], | 20 'outputs': [ '<(target_binary)', ], |
| 21 'action': [ | 21 'action': [ |
| 22 '<(android_strip)', | 22 '<(android_strip)', |
| 23 '<@(_inputs)', | 23 '<@(_inputs)', |
| 24 '--strip-unneeded', | 24 '--strip-unneeded', |
| 25 '-o', | 25 '-o', |
| 26 '<@(_outputs)', | 26 '<@(_outputs)', |
| 27 ], | 27 ], |
| 28 }], | 28 }], |
| 29 }], | 29 }], |
| 30 ], | 30 ], |
| 31 } | 31 } |
| OLD | NEW |