Merge branch 'tizen_3.0' into tizen_4.0
[platform/core/api/webapi-plugins.git] / src / alarm / alarm.gyp
1 {
2   'includes':[
3     '../common/common.gypi',
4   ],
5   'targets': [
6     {
7       'target_name': 'tizen_alarm',
8       'type': 'loadable_module',
9       'dependencies': [
10         '../common/common.gyp:tizen_common',
11       ],
12       'sources': [
13         'alarm_api.js',
14         'alarm_extension.cc',
15         'alarm_extension.h',
16         'alarm_instance.cc',
17         'alarm_instance.h',
18         'alarm_manager.cc',
19         'alarm_manager.h',
20         'alarm_utils.cc',
21         'alarm_utils.h',
22       ],
23       'conditions': [
24         ['tizen == 1', {
25           'variables': {
26             'packages': [
27               'capi-appfw-alarm',
28               'capi-appfw-app-control',
29               'capi-appfw-application',
30             ]
31           },
32         }],
33         ['extension_host_os == "mobile"', {
34             'dependencies': [
35               '../notification/notification.gyp:tizen_notification',
36             ],
37         }],
38         ['extension_host_os == "wearable"', {
39             'dependencies': [
40              '../notification/notification.gyp:tizen_notification',
41             ],
42         }]
43       ],
44     },
45   ],
46 }