Sha256: f605664d6a7576bbefed1cb02a60fef26ed6f2426f2173aa76f9bd4d1acaac62

Contents?: true

Size: 1.82 KB

Versions: 28

Compression:

Stored size: 1.82 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.

{
  'includes': ['cross_compile.gypi'],
  'target_defaults': {
    'variables': {
      'nix_lame%': 0,
    },
    'target_conditions': [
      ['nix_lame==1', {
        'sources/': [
          ['exclude', 'lame'],
        ],
      }],
    ],
  },
  'targets': [
    {
      'target_name': 'program',
      'type': 'executable',
      'dependencies': [
        'program_inc',
      ],
      'include_dirs': [
        '<(SHARED_INTERMEDIATE_DIR)',
      ],
      'sources': [
        'program.cc',
      ],
    },
    {
      'target_name': 'program_inc',
      'type': 'none',
      'dependencies': ['cross_program'],
      'actions': [
        {
          'action_name': 'program_inc',
          'inputs': ['<(SHARED_INTERMEDIATE_DIR)/cross_program.fake'],
          'outputs': ['<(SHARED_INTERMEDIATE_DIR)/cross_program.h'],
          'action': ['python', 'tochar.py', '<@(_inputs)', '<@(_outputs)'],
        },
      ],
      # Allows the test to run without hermetic cygwin on windows.
      'msvs_cygwin_shell': 0,
    },
    {
      'target_name': 'cross_program',
      'type': 'none',
      'variables': {
        'cross': 1,
        'nix_lame': 1,
      },
      'dependencies': ['cross_lib'],
      'sources': [
        'test1.cc',
        'test2.c',
        'very_lame.cc',
        '<(SHARED_INTERMEDIATE_DIR)/cross_lib.fake',
      ],
    },
    {
      'target_name': 'cross_lib',
      'type': 'none',
      'variables': {
        'cross': 1,
        'nix_lame': 1,
      },
      'sources': [
        'test3.cc',
        'test4.c',
        'bogus1.cc',
        'bogus2.c',
        'sort_of_lame.cc',
      ],
      'sources!': [
        'bogus1.cc',
        'bogus2.c',
      ],
    },
  ],
}

Version data entries

28 entries across 28 versions & 5 rubygems

Version Path
libv8-3.16.14.19.1 vendor/gyp/test/external-cross-compile/src/cross.gyp
mt-libuv-4.1.04 ext/gyp/test/external-cross-compile/src/cross.gyp
mt-libuv-4.1.03 ext/gyp/test/external-cross-compile/src/cross.gyp
mt-libuv-4.1.02 ext/gyp/test/external-cross-compile/src/cross.gyp
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.19 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.18 vendor/gyp/test/external-cross-compile/src/cross.gyp
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/external-cross-compile/src/cross.gyp
arcabouco-0.2.13 vendor/bundle/gems/libv8-3.16.14.17/vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.17 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.16 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.15 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.14 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-tmpfork-3.16.14.13 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.13 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.12 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.11 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.10 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.8 vendor/gyp/test/external-cross-compile/src/cross.gyp
libv8-3.16.14.8.rc1 vendor/gyp/test/external-cross-compile/src/cross.gyp