Upstream version 5.34.97.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 or tizen_mobile == 1', {
8       'targets': [
9         {
10           'target_name': 'tizen_geolocation',
11           'type': 'none',
12           'variables': {
13             'packages': [
14               'capi-location-manager',
15             ],
16           },
17           'direct_dependent_settings': {
18             'cflags': [
19               '<!@(pkg-config --cflags <@(packages))',
20             ],
21           },
22           'link_settings': {
23             'ldflags': [
24               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
25             ],
26             'libraries': [
27               '<!@(pkg-config --libs-only-l <@(packages))',
28             ],
29           },
30         },
31         {
32           'target_name': 'tizen',
33           'type': 'none',
34           'variables': {
35             'packages': [
36               'pkgmgr-parser',
37               'pkgmgr-info',
38             ],
39           },
40           'direct_dependent_settings': {
41             'cflags': [
42               '<!@(pkg-config --cflags <@(packages))',
43             ],
44           },
45           'link_settings': {
46             'ldflags': [
47               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
48             ],
49             'libraries': [
50               '<!@(pkg-config --libs-only-l <@(packages))',
51             ],
52           },
53         },
54         {
55           'target_name': 'tizen_sensor',
56           'type': 'none',
57           'variables': {
58             'packages': [
59               'sensor',
60               'vconf',
61             ],
62           },
63           'direct_dependent_settings': {
64             'cflags': [
65               '<!@(pkg-config --cflags <@(packages))',
66             ],
67           },
68           'link_settings': {
69             'ldflags': [
70               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
71             ],
72             'libraries': [
73               '<!@(pkg-config --libs-only-l <@(packages))',
74             ],
75           },
76         },
77         {
78           'target_name': 'tizen_sysapps',
79           'type': 'none',
80           'variables': {
81             'packages': [
82               'vconf',
83             ],
84           },
85           'direct_dependent_settings': {
86             'cflags': [
87               '<!@(pkg-config --cflags <@(packages))',
88             ],
89           },
90           'link_settings': {
91             'ldflags': [
92               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
93             ],
94             'libraries': [
95               '<!@(pkg-config --libs-only-l <@(packages))',
96             ],
97           },
98         },
99         {
100           'target_name': 'tizen_appcore_common',
101           'type': 'none',
102           'variables': {
103             'packages': [
104               'appcore-common',
105             ],
106           },
107           'direct_dependent_settings': {
108             'cflags': [
109               '<!@(pkg-config --cflags <@(packages))',
110             ],
111           },
112           'link_settings': {
113             'ldflags': [
114               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
115             ],
116             'libraries': [
117               '<!@(pkg-config --libs-only-l <@(packages))',
118             ],
119           },
120         },
121         {
122           'target_name': 'tizen_vibration',
123           'type': 'none',
124           'variables': {
125             'packages': [
126               'haptic',
127             ],
128           },
129           'direct_dependent_settings': {
130             'cflags': [
131               '<!@(pkg-config --cflags <@(packages))',
132             ],
133           },
134           'link_settings': {
135             'ldflags': [
136               '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
137             ],
138             'libraries': [
139               '<!@(pkg-config --libs-only-l <@(packages))',
140             ],
141           },
142         },
143       ],  # targets
144     }],
145   ],  # conditions
146 }