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

« back to all changes in this revision

Viewing changes to third_party/gyp/test/assembly/src/assembly.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
  'target_defaults': {
 
7
    'conditions': [
 
8
      ['OS=="win"', {
 
9
        'defines': ['PLATFORM_WIN'],
 
10
      }],
 
11
      ['OS=="mac"', {
 
12
        'defines': ['PLATFORM_MAC'],
 
13
      }],
 
14
      ['OS=="linux"', {
 
15
        'defines': ['PLATFORM_LINUX'],
 
16
      }],
 
17
    ],
 
18
  },
 
19
  'targets': [
 
20
    {
 
21
      'target_name': 'program',
 
22
      'type': 'executable',
 
23
      'dependencies': ['lib1'],
 
24
      'sources': [
 
25
        'program.c',
 
26
      ],
 
27
    },
 
28
    {
 
29
      'target_name': 'lib1',
 
30
      'type': 'static_library',
 
31
      'sources': [
 
32
        'lib1.S',
 
33
      ],
 
34
    },
 
35
  ],
 
36
  'conditions': [
 
37
    ['OS=="win"', {
 
38
      'target_defaults': {
 
39
        'rules': [
 
40
          {
 
41
            'rule_name': 'assembler',
 
42
            'msvs_cygwin_shell': 0,
 
43
            'extension': 'S',
 
44
            'inputs': [
 
45
              'as.bat',
 
46
            ],
 
47
            'outputs': [
 
48
              '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
 
49
            ],
 
50
            'action':
 
51
              ['as.bat', 'lib1.c', '<(_outputs)'],
 
52
            'message': 'Building assembly file <(RULE_INPUT_PATH)',
 
53
            'process_outputs_as_sources': 1,
 
54
          },
 
55
        ],
 
56
      },
 
57
    },],
 
58
  ],
 
59
}