Sha256: 0f2a0f0224b2bbb21d3e9495c2c40f58525fdcf392bbe527994dd091fbf249ce

Contents?: true

Size: 990 Bytes

Versions: 5

Compression:

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

# This is a test to make sure that <|(foo.txt a b c) generates
# a pre-calculated file list at gyp time and returns foo.txt.
# This feature is useful to work around limits in the number of arguments that
# can be passed to rule/action.

{
  'variables': {
    'names': [
      'John',
      'Jacob',
      'Jingleheimer',
      'Schmidt',
    ],
  },
  'targets': [
    {
      'target_name': 'foo',
      'type': 'none',
      'variables': {
        'names_listfile': '<|(names.txt <@(names))',
      },
      'actions': [
        {
          'action_name': 'test_action',
          'msvs_cygwin_shell': 0,
          'inputs' : [ '<(names_listfile)' ],
          'outputs': [ 'dummy_foo' ],
          'action': [
            'python', 'dummy.py', '<@(_outputs)', '<(names_listfile)',
          ],
        },
      ],
    },
  ],
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/variables/filelist/src/filelist2.gyp
mt-libuv-4.1.03 ext/gyp/test/variables/filelist/src/filelist2.gyp
mt-libuv-4.1.02 ext/gyp/test/variables/filelist/src/filelist2.gyp
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/src/filelist2.gyp
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/externals/gyp/test/variables/filelist/src/filelist2.gyp