summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/linux/implicit-rpath/test.gyp
blob: b546106986e19d3b295e117e4712ca16cc35513f (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
44
45
46
47
# Copyright (c) 2013 Google Inc. 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': 'shared',
      'type': 'shared_library',
      'sources': [ 'file.c' ],
    },
    {
      'target_name': 'shared_no_so_suffix',
      'product_extension': 'so.0.1',
      'type': 'shared_library',
      'sources': [ 'file.c' ],
    },
    {
      'target_name': 'static',
      'type': 'static_library',
      'sources': [ 'file.c' ],
    },
    {
      'target_name': 'shared_executable',
      'type': 'executable',
      'sources': [ 'main.c' ],
      'dependencies': [
        'shared',
      ]
    },
    {
      'target_name': 'shared_executable_no_so_suffix',
      'type': 'executable',
      'sources': [ 'main.c' ],
      'dependencies': [
        'shared_no_so_suffix',
      ]
    },
    {
      'target_name': 'static_executable',
      'type': 'executable',
      'sources': [ 'main.c' ],
      'dependencies': [
        'static',
      ]
    },
  ],
}