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