summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/input_method/input_method.gyp
blob: ce7da86184d0a1571e0747122a2e8e4a665da6f1 (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
41
42
43
44
45
46
# Copyright (c) 2011 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)/chrome/browser/chromeos/input_method',
  },
  'targets': [
    {
      'target_name': 'gencode',
      'type': 'none',
      'actions': [
        {
          'inputs': [
            'ibus_input_methods.txt',
            'gen_ibus_input_methods.py',
          ],
          'outputs': [
            '<(input_method_out_dir)/ibus_input_methods.h',
          ],
          'action_name': 'gen_ibus_input_methods',
          'action': [
            'python',
            'gen_ibus_input_methods.py',
            'ibus_input_methods.txt',
            '<(input_method_out_dir)/ibus_input_methods.h',
          ],
          'message': 'Generating ibus_input_methods.h',
        },
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)',
        ],
      },
    },
  ]
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: