blob: 00c6785b2c607ebd7ff343878e106c9550ad5d20 [file] [log] [blame]
abarth@chromium.org55537ae2013-12-11 02:18:28 +09001# 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.orgc9576692014-07-17 03:55:26 +090014 'source_binary': '<(PRODUCT_DIR)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED_LIB_SUFFIX)',
abarth@chromium.org55537ae2013-12-11 02:18:28 +090015 '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}