Home | History | Annotate | Download | only in build
      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',
     14         'source_binary': '<(SHARED_LIB_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   ],
     31 }
     32