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

« back to all changes in this revision

Viewing changes to prediction/prediction.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:
45
45
      ],
46
46
      'dependencies': [
47
47
        '../base/base.gyp:base',
 
48
        '../converter/converter.gyp:segments',
 
49
        '../usage_stats/usage_stats.gyp:usage_stats',
48
50
        'genproto_prediction',
49
51
      ],
50
52
      'conditions': [['two_pass_build==0', {
150
152
      'sources': [
151
153
        'user_history_predictor.proto',
152
154
      ],
153
 
      'conditions': [['two_pass_build==0', {
154
 
        'dependencies': [
155
 
          '../protobuf/protobuf.gyp:install_protoc',
156
 
        ],
157
 
      }]],
158
 
      'rules': [
159
 
        {
160
 
          'rule_name': 'genproto',
161
 
          'extension': 'proto',
162
 
          'inputs': [
163
 
            '../build_tools/run_after_chdir.py',
164
 
          ],
165
 
          'outputs': [
166
 
            '<(proto_out_dir)/<(relative_dir)/<(RULE_INPUT_ROOT).pb.h',
167
 
            '<(proto_out_dir)/<(relative_dir)/<(RULE_INPUT_ROOT).pb.cc',
168
 
          ],
169
 
          'action': [
170
 
            'python', '../build_tools/run_after_chdir.py',
171
 
            '<(DEPTH)',
172
 
            'protoc<(EXECUTABLE_SUFFIX)',
173
 
            '<(relative_dir)/<(RULE_INPUT_NAME)',
174
 
            '--cpp_out=<(proto_out_dir)',
175
 
          ],
176
 
          'message': 'Generating C++ code from <(RULE_INPUT_PATH)',
177
 
        },
 
155
      'includes': [
 
156
        '../protobuf/genproto.gypi',
178
157
      ],
179
158
    },
180
159
    {
181
160
      'target_name': 'prediction_test',
182
161
      'type': 'executable',
183
162
      'sources': [
184
 
        'suggestion_filter_test',
185
 
        'dictionary_predictor_test',
186
 
        'user_history_predictor_test',
 
163
        'suggestion_filter_test.cc',
 
164
        'dictionary_predictor_test.cc',
 
165
        'user_history_predictor_test.cc',
187
166
      ],
188
167
      'dependencies': [
189
168
        '../testing/testing.gyp:gtest_main',
190
169
        'prediction',
191
 
      ]
 
170
      ],
 
171
      'variables': {
 
172
        'test_size': 'small',
 
173
        'test_data_subdir': 'data/dictionary',
 
174
        'test_data': [
 
175
          '../<(test_data_subdir)/suggestion_filter.txt',
 
176
          '../<(test_data_subdir)/dictionary1.txt',
 
177
        ],
 
178
      },
 
179
      'includes': [ '../gyp/install_testdata.gypi' ],
 
180
    },
 
181
    # Test cases meta target: this target is referred from gyp/tests.gyp
 
182
    {
 
183
      'target_name': 'prediction_all_test',
 
184
      'type': 'none',
 
185
      'dependencies': [
 
186
        'prediction_test',
 
187
      ],
192
188
    },
193
189
  ],
194
190
}