summaryrefslogtreecommitdiff
path: root/deps/gyp/test/same-source-file-name/src/double-shared.gyp
blob: 438b50f3f1168d6c0f9b16310f83bbecd67ac320 (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
# Copyright (c) 2012 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': 'lib',
      'product_name': 'test_shared_lib',
      'type': 'shared_library',
      'sources': [
        'prog2.c',
        'func.c',
        'subdir1/func.c',
        'subdir2/func.c',
      ],
      'defines': [
        'PROG="prog2"',
      ],
      'conditions': [
        ['OS=="linux"', {
          'cflags': ['-fPIC'],
        }],
      ],
    },
  ],
}