Remove deperacated wrapper ExtensionAdapter
[platform/framework/web/tizen-extensions-crosswalk.git] / bluetooth / bluetooth.gyp
1 {
2   'includes':[
3     '../common/common.gypi',
4   ],
5   'targets': [
6     {
7       'target_name': 'tizen_bluetooth',
8       'type': 'loadable_module',
9       'variables': {
10         'packages': [
11           'gio-2.0',
12           'bluez',
13         ],
14         'bluetooth%': 'bluez4',
15       },
16       'includes': [
17         '../common/pkg-config.gypi',
18       ],
19       'sources': [
20         'bluetooth_api.js',
21         'bluetooth_extension.cc',
22         'bluetooth_extension.h',
23         'bluetooth_instance.cc',
24         'bluetooth_instance.h',
25       ],
26       'conditions': [
27         [ 'bluetooth == "bluez5"', {
28             'sources': ['bluetooth_instance_bluez5.cc'],
29             'defines': ['BLUEZ_5'],
30           }
31         ],
32         [ 'bluetooth == "bluez4"', {
33             'sources': ['bluetooth_instance_bluez4.cc'],
34             'defines': ['BLUEZ_4'],
35           }
36         ],
37         [ 'tizen == 1', {
38             'variables': { 'packages': ['capi-network-bluetooth'] },
39         }],
40       ],
41     },
42   ],
43 }