- add sources.
[platform/framework/web/crosswalk.git] / src / chromeos / ime / input_method.gyp
1 # Copyright (c) 2012 The Chromium Authors. 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   'variables': {
7     'input_method_out_dir':
8       '<(SHARED_INTERMEDIATE_DIR)/chromeos/ime',
9   },
10   'targets': [
11     {
12       'target_name': 'gencode',
13       'type': 'none',
14       'actions': [
15         {
16           'inputs': [
17             'input_methods.txt',
18             'gen_input_methods.py',
19           ],
20           'outputs': [
21             '<(input_method_out_dir)/input_methods.h',
22           ],
23           'action_name': 'gen_input_methods',
24           'action': [
25             'python',
26             'gen_input_methods.py',
27             'input_methods.txt',
28             '<(input_method_out_dir)/input_methods.h',
29           ],
30           'message': 'Generating input_methods.h',
31         },
32       ],
33       'direct_dependent_settings': {
34         'include_dirs': [
35           '<(SHARED_INTERMEDIATE_DIR)',
36         ],
37       },
38     },
39   ]
40 }