summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ninja/use-console/use-console.gyp
blob: 84e63184c675d731796e3d44fcaf3d84383f362b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright (c) 2014 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.

{
  'targets': [
    {
      'target_name': 'no_pool',
      'type': 'none',
      'actions': [
        {
          'action_name': 'some_action',
          'action': ['echo', 'hello'],
          'inputs': ['foo.bar'],
          'outputs': ['dummy'],
        },
      ],
      'rules': [
        {
          'rule_name': 'some_rule',
          'extension': 'bar',
          'action': ['echo', 'hello'],
          'outputs': ['dummy'],
        },
      ],
      'sources': [
        'foo.bar',
      ],
    },
    {
      'target_name': 'action_pool',
      'type': 'none',
      'actions': [
        {
          'action_name': 'some_action',
          'action': ['echo', 'hello'],
          'inputs': ['foo.bar'],
          'outputs': ['dummy'],
          'ninja_use_console': 1,
        },
      ],
    },
    {
      'target_name': 'rule_pool',
      'type': 'none',
      'rules': [
        {
          'rule_name': 'some_rule',
          'extension': 'bar',
          'action': ['echo', 'hello'],
          'outputs': ['dummy'],
          'ninja_use_console': 1,
        },
      ],
      'sources': [
        'foo.bar',
      ],
    },
  ],
}