summaryrefslogtreecommitdiffstats
path: root/chromeos/ime/input_method.gyp
blob: 1da130ef289203fa61689dffcfad33abd81a8075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'input_method_out_dir':
      '<(SHARED_INTERMEDIATE_DIR)/chromeos/ime',
  },
  'targets': [
    {
      'target_name': 'gencode',
      'type': 'none',
      'actions': [
        {
          'inputs': [
            'input_methods.txt',
            'gen_input_methods.py',
          ],
          'outputs': [
            '<(input_method_out_dir)/input_methods.h',
          ],
          'action_name': 'gen_input_methods',
          'action': [
            'python',
            'gen_input_methods.py',
            'input_methods.txt',
            '<(input_method_out_dir)/input_methods.h',
          ],
          'message': 'Generating input_methods.h',
        },
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)',
        ],
      },
    },
  ]
}