Sha256: c371ead13056fc198ada2af53519cfd2c27134b09609f524b4b7248c9f8d8e87

Contents?: true

Size: 1006 Bytes

Versions: 28

Compression:

Stored size: 1006 Bytes

Contents

# Copyright (c) 2012 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 an action is only specified under a conditional is
# evaluated appropriately.
{
  'targets': [
    {
      'target_name': 'extension_does_not_match_sources_and_no_action',
      'type': 'none',
      'msvs_cygwin_shell': 0,
      'sources': [
        'file1.in',
        'file2.in',
      ],
      'rules': [
        {
          'rule_name': 'assemble',
          'extension': 'asm',
          'outputs': [
            '<(RULE_INPUT_ROOT).fail',
          ],
          'conditions': [
            # Always fails.
            [ '"true"=="false"', {
              'action': [
                'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs)',
              ],
              'process_outputs_as_sources': 1,
              'message': 'test_rule',
            }],
          ],
        },
      ],
    },
  ],
}

Version data entries

28 entries across 28 versions & 5 rubygems

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