Upstream version 8.37.183.0
[platform/framework/web/crosswalk.git] / src / xwalk / build / system.gyp
1 # Copyright (c) 2013 Intel Corporation. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'conditions': [
7     ['tizen==1', {
8       'targets': [
9         {
10           'target_name': 'tizen_geolocation',
11           'type': 'none',
12           'variables': {
13             'packages': [
14               'capi-location-manager',
15               'vconf',
16             ],
17           },
18           'direct_dependent_settings': {
19             'cflags': [
20               '<!@(pkg-config --cflags <@(packages))',
21             ],
22           },
23           'link_settings': {
24             'ldflags': [
25               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
26             ],
27             'libraries': [
28               '<!@(pkg-config --libs-only-l <@(packages))',
29             ],
30           },
31         },
32         {
33           'target_name': 'tizen',
34           'type': 'none',
35           'variables': {
36             'packages': [
37               'ail',
38               'dlog',
39               'pkgmgr-parser',
40               'pkgmgr-info',
41               'pkgmgr-installer',
42               'vconf',
43             ],
44           },
45           'direct_dependent_settings': {
46             'cflags': [
47               '<!@(pkg-config --cflags <@(packages))',
48             ],
49           },
50           'link_settings': {
51             'ldflags': [
52               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
53             ],
54             'libraries': [
55               '<!@(pkg-config --libs-only-l <@(packages))',
56             ],
57           },
58         },
59         {
60           'target_name': 'tizen_sensor',
61           'type': 'none',
62           'variables': {
63             'packages': [
64               'sensor',
65               'vconf',
66             ],
67           },
68           'direct_dependent_settings': {
69             'cflags': [
70               '<!@(pkg-config --cflags <@(packages))',
71             ],
72           },
73           'link_settings': {
74             'ldflags': [
75               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
76             ],
77             'libraries': [
78               '<!@(pkg-config --libs-only-l <@(packages))',
79             ],
80           },
81         },
82         {
83           'target_name': 'tizen_sysapps',
84           'type': 'none',
85           'variables': {
86             'packages': [
87               'vconf',
88             ],
89           },
90           'direct_dependent_settings': {
91             'cflags': [
92               '<!@(pkg-config --cflags <@(packages))',
93             ],
94           },
95           'link_settings': {
96             'ldflags': [
97               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
98             ],
99             'libraries': [
100               '<!@(pkg-config --libs-only-l <@(packages))',
101             ],
102           },
103         },
104         {
105           'target_name': 'tizen_appcore_common',
106           'type': 'none',
107           'variables': {
108             'packages': [
109               'appcore-common',
110             ],
111           },
112           'direct_dependent_settings': {
113             'cflags': [
114               '<!@(pkg-config --cflags <@(packages))',
115             ],
116           },
117           'link_settings': {
118             'ldflags': [
119               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
120             ],
121             'libraries': [
122               '<!@(pkg-config --libs-only-l <@(packages))',
123             ],
124           },
125         },
126         {
127           'target_name': 'tizen_vibration',
128           'type': 'none',
129           'variables': {
130             'packages': [
131               'haptic',
132             ],
133           },
134           'direct_dependent_settings': {
135             'cflags': [
136               '<!@(pkg-config --cflags <@(packages))',
137             ],
138           },
139           'link_settings': {
140             'ldflags': [
141               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
142             ],
143             'libraries': [
144               '<!@(pkg-config --libs-only-l <@(packages))',
145             ],
146           },
147         },
148       ],  # targets
149     }],
150   ],  # conditions
151 }