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

« back to all changes in this revision

Viewing changes to mozc_build_tools/gyp/test/module/src/module.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
        # Support 64-bit shared libs (also works fine for 32-bit).
 
17
        'cflags': ['-fPIC'],
 
18
        'ldflags': ['-ldl'],
 
19
      }],
 
20
    ],
 
21
  },
 
22
  'targets': [
 
23
    {
 
24
      'target_name': 'program',
 
25
      'type': 'executable',
 
26
      'dependencies': [
 
27
        'lib1',
 
28
        'lib2',
 
29
      ],
 
30
      'sources': [
 
31
        'program.c',
 
32
      ],
 
33
    },
 
34
    {
 
35
      'target_name': 'lib1',
 
36
      'type': 'loadable_module',
 
37
      'product_name': 'lib1',
 
38
      'product_prefix': '',
 
39
      'xcode_settings': {'OTHER_LDFLAGS': ['-dynamiclib'], 'MACH_O_TYPE': ''},
 
40
      'sources': [
 
41
        'lib1.c',
 
42
      ],
 
43
    },
 
44
    {
 
45
      'target_name': 'lib2',
 
46
      'product_name': 'lib2',
 
47
      'product_prefix': '',
 
48
      'type': 'loadable_module',
 
49
      'xcode_settings': {'OTHER_LDFLAGS': ['-dynamiclib'], 'MACH_O_TYPE': ''},
 
50
      'sources': [
 
51
        'lib2.c',
 
52
      ],
 
53
    },
 
54
  ],
 
55
}