Sha256: 4ef8634c4cb3b159d324600cab0a4089f21db8f10146c41451e8b56001d25f4c

Contents?: true

Size: 1.25 KB

Versions: 39

Compression:

Stored size: 1.25 KB

Contents

# Copyright (c) 2009 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': {
    'conditions': [
      ['OS=="win"', {
        'defines': ['PLATFORM_WIN'],
      }],
      ['OS=="mac"', {
        'defines': ['PLATFORM_MAC'],
      }],
      ['OS=="linux"', {
        'defines': ['PLATFORM_LINUX'],
        # Support 64-bit shared libs (also works fine for 32-bit).
        'cflags': ['-fPIC'],
        'libraries': ['-ldl'],
      }],
    ],
  },
  'targets': [
    {
      'target_name': 'program',
      'type': 'executable',
      'dependencies': [
        'lib1',
        'lib2',
      ],
      'sources': [
        'program.c',
      ],
    },
    {
      'target_name': 'lib1',
      'type': 'loadable_module',
      'product_name': 'lib1',
      'product_prefix': '',
      'xcode_settings': {'OTHER_LDFLAGS': ['-dynamiclib'], 'MACH_O_TYPE': ''},
      'sources': [
        'lib1.c',
      ],
    },
    {
      'target_name': 'lib2',
      'product_name': 'lib2',
      'product_prefix': '',
      'type': 'loadable_module',
      'xcode_settings': {'OTHER_LDFLAGS': ['-dynamiclib'], 'MACH_O_TYPE': ''},
      'sources': [
        'lib2.c',
      ],
    },
  ],
}

Version data entries

39 entries across 39 versions & 5 rubygems

Version Path
libv8-3.16.14.19.1 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.19 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.18 vendor/gyp/test/module/src/module.gyp
arcabouco-0.2.13 vendor/bundle/gems/libv8-3.16.14.17/vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.17 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.16 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.15 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.14 vendor/gyp/test/module/src/module.gyp
libv8-tmpfork-3.16.14.13 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.13 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.12 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.11 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.10 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.8 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.8.rc1 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.7 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.6 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.5 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.4 vendor/gyp/test/module/src/module.gyp
libv8-3.16.14.3 vendor/gyp/test/module/src/module.gyp