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

« back to all changes in this revision

Viewing changes to protobuf/protobuf.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:
32
32
    {
33
33
      'target_name': 'protobuf',
34
34
      'type': 'static_library',
35
 
      'sources': [
36
 
        'files/src/google/protobuf/compiler/importer.cc',
37
 
        'files/src/google/protobuf/compiler/parser.cc',
38
 
        'files/src/google/protobuf/descriptor.cc',
39
 
        'files/src/google/protobuf/descriptor.pb.cc',
40
 
        'files/src/google/protobuf/descriptor_database.cc',
41
 
        'files/src/google/protobuf/dynamic_message.cc',
42
 
        'files/src/google/protobuf/extension_set.cc',
43
 
        'files/src/google/protobuf/extension_set_heavy.cc',
44
 
        'files/src/google/protobuf/generated_message_reflection.cc',
45
 
        'files/src/google/protobuf/generated_message_util.cc',
46
 
        'files/src/google/protobuf/io/coded_stream.cc',
47
 
        'files/src/google/protobuf/io/gzip_stream.cc',
48
 
        'files/src/google/protobuf/io/printer.cc',
49
 
        'files/src/google/protobuf/io/tokenizer.cc',
50
 
        'files/src/google/protobuf/io/zero_copy_stream.cc',
51
 
        'files/src/google/protobuf/io/zero_copy_stream_impl.cc',
52
 
        'files/src/google/protobuf/io/zero_copy_stream_impl_lite.cc',
53
 
        'files/src/google/protobuf/message.cc',
54
 
        'files/src/google/protobuf/message_lite.cc',
55
 
        'files/src/google/protobuf/reflection_ops.cc',
56
 
        'files/src/google/protobuf/repeated_field.cc',
57
 
        'files/src/google/protobuf/service.cc',
58
 
        'files/src/google/protobuf/stubs/common.cc',
59
 
        'files/src/google/protobuf/stubs/hash.cc',
60
 
        'files/src/google/protobuf/stubs/once.cc',
61
 
        'files/src/google/protobuf/stubs/structurally_valid.cc',
62
 
        'files/src/google/protobuf/stubs/strutil.cc',
63
 
        'files/src/google/protobuf/stubs/substitute.cc',
64
 
        'files/src/google/protobuf/text_format.cc',
65
 
        'files/src/google/protobuf/unknown_field_set.cc',
66
 
        'files/src/google/protobuf/wire_format.cc',
67
 
        'files/src/google/protobuf/wire_format_lite.cc',
68
 
      ],
69
 
      'include_dirs': [
70
 
        '.',
71
 
      ],
72
35
      'conditions': [
 
36
        ['OS!="linux"', {
 
37
          'sources': [
 
38
            'files/src/google/protobuf/compiler/importer.cc',
 
39
            'files/src/google/protobuf/compiler/parser.cc',
 
40
            'files/src/google/protobuf/descriptor.cc',
 
41
            'files/src/google/protobuf/descriptor.pb.cc',
 
42
            'files/src/google/protobuf/descriptor_database.cc',
 
43
            'files/src/google/protobuf/dynamic_message.cc',
 
44
            'files/src/google/protobuf/extension_set.cc',
 
45
            'files/src/google/protobuf/extension_set_heavy.cc',
 
46
            'files/src/google/protobuf/generated_message_reflection.cc',
 
47
            'files/src/google/protobuf/generated_message_util.cc',
 
48
            'files/src/google/protobuf/io/coded_stream.cc',
 
49
            'files/src/google/protobuf/io/gzip_stream.cc',
 
50
            'files/src/google/protobuf/io/printer.cc',
 
51
            'files/src/google/protobuf/io/tokenizer.cc',
 
52
            'files/src/google/protobuf/io/zero_copy_stream.cc',
 
53
            'files/src/google/protobuf/io/zero_copy_stream_impl.cc',
 
54
            'files/src/google/protobuf/io/zero_copy_stream_impl_lite.cc',
 
55
            'files/src/google/protobuf/message.cc',
 
56
            'files/src/google/protobuf/message_lite.cc',
 
57
            'files/src/google/protobuf/reflection_ops.cc',
 
58
            'files/src/google/protobuf/repeated_field.cc',
 
59
            'files/src/google/protobuf/service.cc',
 
60
            'files/src/google/protobuf/stubs/common.cc',
 
61
            'files/src/google/protobuf/stubs/hash.cc',
 
62
            'files/src/google/protobuf/stubs/once.cc',
 
63
            'files/src/google/protobuf/stubs/structurally_valid.cc',
 
64
            'files/src/google/protobuf/stubs/strutil.cc',
 
65
            'files/src/google/protobuf/stubs/substitute.cc',
 
66
            'files/src/google/protobuf/text_format.cc',
 
67
            'files/src/google/protobuf/unknown_field_set.cc',
 
68
            'files/src/google/protobuf/wire_format.cc',
 
69
            'files/src/google/protobuf/wire_format_lite.cc',
 
70
          ],
 
71
          'include_dirs': [
 
72
            '.',
 
73
          ],
 
74
        }, {  # else
 
75
          'link_settings': {
 
76
            'libraries': [
 
77
              '-lprotobuf',
 
78
            ],
 
79
          },
 
80
        }],
73
81
        ['OS=="mac"', {
74
82
          'xcode_settings': {
75
83
            'WARNING_CFLAGS': ['-Wno-error'],
133
141
      'variables': {
134
142
        'bin_name': 'protoc',
135
143
      },
136
 
      'includes' : [
137
 
        '../gyp/install_build_tool.gypi',
138
 
      ]
 
144
      'conditions': [
 
145
        # use system-installed protoc on Linux
 
146
        ['OS!="linux"', {
 
147
          'includes' : [
 
148
            '../gyp/install_build_tool.gypi',
 
149
          ]
 
150
        }],
 
151
      ],
139
152
    },
140
153
  ],
141
154
}