[Common] Changed configuration for common profile build
[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               'alarm-service',
30               'capi-appfw-application',
31               'notification',
32             ]
33           },
34         }],
35         ['extension_host_os == "mobile" or extension_host_os == "wearable" or extension_host_os == "common"', {
36             'dependencies': [
37               '../notification/notification.gyp:tizen_notification',
38             ],
39         }]
40       ],
41     },
42   ],
43 }