summaryrefslogtreecommitdiff
path: root/chromium/tools/android/forwarder/forwarder.gyp
blob: 1df518b1bb6c7fd627fb633347b6d43ba44c59ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'forwarder',
      'type': 'none',
      'dependencies': [
        'forwarder_symbols',
      ],
      'actions': [
        {
          'action_name': 'strip_forwarder',
          'inputs': ['<(PRODUCT_DIR)/forwarder_symbols'],
          'outputs': ['<(PRODUCT_DIR)/forwarder'],
          'action': [
            '<(android_strip)',
            '--strip-unneeded',
            '<@(_inputs)',
            '-o',
            '<@(_outputs)',
          ],
        },
      ],
    }, {
      'target_name': 'forwarder_symbols',
      'type': 'executable',
      'dependencies': [
        '../../../base/base.gyp:base',
        '../common/common.gyp:android_tools_common',
      ],
      'include_dirs': [
        '../../..',
      ],
      'sources': [
        'forwarder.cc',
      ],
    },
  ],
}