Substitute type to extension_host_os, build to extension_build_type
[platform/framework/web/tizen-extensions-crosswalk.git] / networkbearerselection / networkbearerselection.gypi
1 {
2   'targets': [
3     {
4       'target_name': 'tizen_networkbearerselection',
5       'type': 'loadable_module',
6       'sources': [
7         'networkbearerselection_api.js',
8         'networkbearerselection_context.cc',
9         'networkbearerselection_context.h',
10         'networkbearerselection_context_desktop.cc',
11         'networkbearerselection_context_mobile.cc',
12       ],
13       'conditions': [
14         ['extension_host_os=="mobile"', {
15           'cflags': [
16             '<!@(pkg-config --cflags capi-network-connection)',
17           ],
18           'link_settings': {
19             'ldflags': [
20               '<!@(pkg-config --libs-only-L --libs-only-other capi-network-connection)',
21             ],
22             'libraries': [
23               '<!@(pkg-config --libs-only-l capi-network-connection)',
24             ],
25           },
26         }],
27       ],
28     },
29   ],
30 }