~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/ThirdParty/gyp/test/rules/src/subdir2/no_inputs.gyp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2009 Google Inc. All rights reserved.
 
2
# Use of this source code is governed by a BSD-style license that can be
 
3
# found in the LICENSE file.
 
4
 
 
5
# Test that the case where there are no inputs (other than the
 
6
# file the rule applies to).
 
7
{
 
8
  'targets': [
 
9
    {
 
10
      'target_name': 'files_no_input',
 
11
      'type': 'none',
 
12
      'msvs_cygwin_shell': 0,
 
13
      'sources': [
 
14
        'file1.in',
 
15
        'file2.in',
 
16
      ],
 
17
      'rules': [
 
18
        {
 
19
          'rule_name': 'copy_file2',
 
20
          'extension': 'in',
 
21
          'outputs': [
 
22
            '<(RULE_INPUT_ROOT).out2',
 
23
          ],
 
24
          'action': [
 
25
            'python', '../copy-file.py', '<(RULE_INPUT_PATH)', '<@(_outputs)',
 
26
          ],
 
27
          'process_outputs_as_sources': 1,
 
28
        },
 
29
      ],
 
30
    },
 
31
  ],
 
32
}