Home | History | Annotate | Download | only in ps_ext
      1 # Copyright 2014 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   'targets': [
      7     {
      8       'target_name': 'ps_ext-unstripped',
      9       'type': 'executable',
     10       'sources': [
     11         'ps_ext.c',
     12       ],
     13     },
     14     {
     15       'target_name': 'ps_ext',
     16       'type': 'none',
     17       'dependencies': [
     18         'ps_ext-unstripped',
     19       ],
     20       'actions': [
     21         {
     22           'action_name': 'strip_ps_ext',
     23           'inputs': ['<(PRODUCT_DIR)/ps_ext-unstripped'],
     24           'outputs': ['<(PRODUCT_DIR)/ps_ext'],
     25           'action': [
     26             '<(android_strip)',
     27             '--strip-unneeded',
     28             '<@(_inputs)',
     29             '-o',
     30             '<@(_outputs)',
     31           ],
     32         },
     33       ],
     34     },
     35   ],
     36 }
     37