Sha256: b65089138ca0b2bfc82398f415bd404d46c93ecc11d8cfddf362cfd0a2e9e112

Contents?: true

Size: 918 Bytes

Versions: 5

Compression:

Stored size: 918 Bytes

Contents

# 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.

{
  'target_defaults': {
    'allow_sharedlib_linksettings_propagation': 0,
  },
  'targets': [
    {
      'target_name': 'sharedlib',
      'type': 'shared_library',
      'sources': [ 'sharedlib.c' ],
      'link_settings': {
        'defines': [ 'TEST_DEFINE=1' ],
      },
      'conditions': [
        ['OS=="linux"', {
          # Support 64-bit shared libs (also works fine for 32-bit).
          'cflags': ['-fPIC'],
        }],
      ],
    },
    {
      'target_name': 'staticlib',
      'type': 'static_library',
      'sources': [ 'staticlib.c' ],
      'dependencies': [ 'sharedlib' ],
    },
    {
      'target_name': 'program',
      'type': 'executable',
      'sources': [ 'program.c' ],
      'dependencies': [ 'staticlib' ],
    },
  ],
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/dependencies/sharedlib-linksettings/test.gyp
mt-libuv-4.1.03 ext/gyp/test/dependencies/sharedlib-linksettings/test.gyp
mt-libuv-4.1.02 ext/gyp/test/dependencies/sharedlib-linksettings/test.gyp
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/test.gyp
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/sharedlib-linksettings/test.gyp