Remove deperacated wrapper ExtensionAdapter
[platform/framework/web/tizen-extensions-crosswalk.git] / speech / speech.gyp
1 {
2   'includes':[
3     '../common/common.gypi',
4   ],
5   'variables': {
6     'gdbus_codegen_path': '<(SHARED_INTERMEDIATE_DIR)/speech',
7   },
8   'targets': [
9     {
10       'target_name': 'tizen_speech',
11       'type': 'loadable_module',
12       'variables': {
13         'packages': [
14           'glib-2.0',
15           'gio-2.0',
16           'gio-unix-2.0',
17         ],
18       },
19       'includes': [
20         '../common/pkg-config.gypi',
21       ],
22       'dependencies': [
23         'tizen_speech_gen',
24       ],
25       'sources': [
26         'speech_api.js',
27         'speech_extension.cc',
28         'speech_extension.h',
29         'speech_instance.cc',
30         'speech_instance.h',
31       ],
32     },
33     {
34       'target_name': 'tizen_speech_gen',
35       'type': 'static_library',
36       'variables': {
37         'packages': [
38           'gio-2.0',
39           'gio-unix-2.0',
40         ],
41       },
42       'include_dirs': [
43         './',
44       ],
45       'actions': [
46         {
47           'variables': {
48             'generate_args': [
49               '--interface-prefix',
50               'org.tizen',
51               '--c-namespace',
52               'Tizen',
53               '--generate-c-code',
54               '<(gdbus_codegen_path)/tizen_srs_gen',
55             ],
56           },
57           'action_name': 'srs_gen',
58           'inputs': [
59             'org.tizen.srs.xml',
60           ],
61           'outputs': [
62             '<(gdbus_codegen_path)/tizen_srs_gen.c',
63             '<(gdbus_codegen_path)/tizen_srs_gen.h',
64           ],
65           'action': [
66             'gdbus-codegen',
67             '<@(generate_args)',
68             '<@(_inputs)',
69           ],
70         },
71       ],
72       'cflags!': [ '-std=c++0x' ],
73       'sources': [
74         '<(gdbus_codegen_path)/tizen_srs_gen.c',
75         '<(gdbus_codegen_path)/tizne_srs_gen.h',
76       ],
77       'includes': [
78         '../common/pkg-config.gypi',
79       ],
80     },
81   ],
82 }