~ubuntu-branches/ubuntu/oneiric/mozc/oneiric

« back to all changes in this revision

Viewing changes to third_party/gyp/test/actions/src/subdir1/executable.gyp

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2010-07-14 03:26:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100714032647-13qjisj6m8cm8jdx
Tags: 0.12.410.102-1
* New upstream release (Closes: #588971).
  - Add mozc-server, mozc-utils-gui and scim-mozc packages.
* Update debian/rules.
  Add --gypdir option to build_mozc.py.
* Update debian/control.
  - Bumped standards-version to 3.9.0.
  - Update description.
* Add mozc icon (Closes: #588972).
* Add patch which revises issue 18.
  ibus_mozc_issue18.patch
* kFreeBSD build support.
  support_kfreebsd.patch

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
{
 
6
  'targets': [
 
7
    {
 
8
      'target_name': 'program',
 
9
      'type': 'executable',
 
10
      'msvs_cygwin_shell': 0,
 
11
      'sources': [
 
12
        'program.c',
 
13
      ],
 
14
      'actions': [
 
15
        {
 
16
          'action_name': 'make-prog1',
 
17
          'inputs': [
 
18
            'make-prog1.py',
 
19
          ],
 
20
          'outputs': [
 
21
            '<(INTERMEDIATE_DIR)/prog1.c',
 
22
          ],
 
23
          'action': [
 
24
            'python', '<(_inputs)', '<@(_outputs)',
 
25
          ],
 
26
          'process_outputs_as_sources': 1,
 
27
        },
 
28
        {
 
29
          'action_name': 'make-prog2',
 
30
          'inputs': [
 
31
            'make-prog2.py',
 
32
          ],
 
33
          'outputs': [
 
34
            'actions-out/prog2.c',
 
35
          ],
 
36
          'action': [
 
37
            'python', '<(_inputs)', '<@(_outputs)',
 
38
          ],
 
39
          'process_outputs_as_sources': 1,
 
40
          # Allows the test to run without hermetic cygwin on windows.
 
41
          'msvs_cygwin_shell': 0,
 
42
        },
 
43
      ],
 
44
    },
 
45
    {
 
46
      'target_name': 'counter',
 
47
      'type': 'none',
 
48
      'actions': [
 
49
        {
 
50
          # This action should always run, regardless of whether or not it's
 
51
          # inputs or the command-line change. We do this by creating a dummy
 
52
          # first output, which is always missing, thus causing the build to
 
53
          # always try to recreate it. Actual output files should be listed
 
54
          # after the dummy one, and dependent targets should list the real
 
55
          # output(s) in their inputs
 
56
          # (see '../actions.gyp:depend_on_always_run_action').
 
57
          'action_name': 'action_counter',
 
58
          'inputs': [
 
59
            'counter.py',
 
60
          ],
 
61
          'outputs': [
 
62
            'actions-out/action-counter.txt.always',
 
63
            'actions-out/action-counter.txt',
 
64
          ],
 
65
          'action': [
 
66
            'python', '<(_inputs)', 'actions-out/action-counter.txt', '2',
 
67
          ],
 
68
          # Allows the test to run without hermetic cygwin on windows.
 
69
          'msvs_cygwin_shell': 0,
 
70
        },
 
71
      ],
 
72
    },
 
73
  ],
 
74
}