Sha256: c6c956cb710ce8807551733f037077f925ec652fa99c628f77ce976ada23702f

Contents?: true

Size: 1.66 KB

Versions: 44

Compression:

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

# Test that the case where there are no inputs (other than the
# file the rule applies to).
{
  'target_defaults': {
    'msvs_cygwin_dirs': ['../../../../../../<(DEPTH)/third_party/cygwin'],
  },
  'targets': [
    {
      'target_name': 'external_rules',
      'type': 'none',
      'sources': [
        'file1.in',
        'file2.in',
      ],
      'conditions': [
        ['OS=="win"', {
          'dependencies': [
            'cygwin',
          ],
        }],
      ],
      'rules': [
        {
          'rule_name': 'copy_file',
          'extension': 'in',
          'msvs_external_rule': 1,
          'outputs': [
            '<(RULE_INPUT_ROOT).external_rules.out',
          ],
          'action': [
            'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs)',
          ],
        },
      ],
    },
  ],
  'conditions': [
    ['OS=="win"', {
      'targets': [
        {
          'target_name': 'cygwin',
          'type': 'none',
          'actions': [
            {
              'action_name': 'setup_mount',
              'msvs_cygwin_shell': 0,
              'inputs': [
                '../../../../../../<(DEPTH)/third_party/cygwin/setup_mount.bat',
              ],
              # Visual Studio requires an output file, or else the
              # custom build step won't run.
              'outputs': [
                '<(INTERMEDIATE_DIR)/_always_run_setup_mount.marker',
              ],
              'action': ['<@(_inputs)'],
            },
          ],
        },
      ],
    }],
  ],
}

Version data entries

44 entries across 44 versions & 7 rubygems

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