Sha256: 1480dc692df9a90f61cbaea365c7526945890703ba5e66539c9a9004385997bd

Contents?: true

Size: 1.25 KB

Versions: 16

Compression:

Stored size: 1.25 KB

Contents

# Copyright (c) 2010 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': [
    # This first target generates a header.
    {
      'target_name': 'generate_header',
      'type': 'none',
      'actions': [
        {
          'action_name': 'generate header',
          'inputs': [],
          'outputs': ['<(SHARED_INTERMEDIATE_DIR)/generated/header.h'],
          'action': [
            'python', '-c', 'open(<(_outputs), "w")'
          ]
        },
      ],
      'all_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)',
        ],
      },
    },

    # This intermediate target does nothing other than pull in a
    # dependency on the above generated target.
    {
      'target_name': 'chain',
      'type': 'none',
      'dependencies': [
        'generate_header',
      ],
    },

    # This final target is:
    # - a static library (so gyp doesn't transitively pull in dependencies);
    # - that relies on the generated file two dependencies away.
    {
      'target_name': 'chained',
      'type': 'static_library',
      'dependencies': [
        'chain',
      ],
      'sources': [
        'chained.c',
      ],
    },
  ],
}

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
libv8-3.11.8.17 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.16 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.13 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.12 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/libv8-3.11.8.4/vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.11 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.10 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.9 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.8 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.7 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.4 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-freebsd-3.11.8.3 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.3 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.1 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.11.8.0 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp
libv8-3.10.8.0 vendor/v8/build/gyp/test/ninja/chained-dependency/chained-dependency.gyp