Make some Polymer elements accessible through chrome://resources.
[chromium-blink-merge.git] / mojo / build / package_app.gypi
blob00c6785b2c607ebd7ff343878e106c9550ad5d20
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.
6   'type': 'none',
7   'dependencies': [
8     '<(app_name)',
9   ],
10   'conditions': [
11     ['OS=="android"', {
12       'variables': {
13         'mojo_app_dir': '<(PRODUCT_DIR)/apps',
14         'source_binary': '<(PRODUCT_DIR)/<(SHARED_LIB_PREFIX)<(app_name)<(SHARED_LIB_SUFFIX)',
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   ],