1 # Copyright (c) 2015 Samsung Electronics. 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.
7 'pkg-config': 'pkg-config',
11 'target_name': 'evas',
13 'direct_dependent_settings': {
15 '<!@(<(pkg-config) --cflags evas)',
20 '<!@(<(pkg-config) --libs-only-L --libs-only-other evas)',
23 '<!@(<(pkg-config) --libs-only-l evas)',
28 'target_name': 'ecore',
30 'toolsets': ['host', 'target'],
31 'direct_dependent_settings': {
33 '<!@(<(pkg-config) --cflags ecore)',
38 '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore)',
41 '<!@(<(pkg-config) --libs-only-l ecore)',
46 'target_name': 'ecore-imf-evas',
48 'direct_dependent_settings': {
50 '<!@(<(pkg-config) --cflags ecore-imf-evas)',
55 '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-imf-evas)',
58 '<!@(<(pkg-config) --libs-only-l ecore-imf-evas)',
63 'target_name': 'ecore-x',
67 'direct_dependent_settings': {
69 '<!@(<(pkg-config) --cflags ecore-x)',
74 '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-x)',
77 '<!@(<(pkg-config) --libs-only-l ecore-x)',
84 'target_name': 'ecore-wayland',
87 ['building_for_tizen==1 and use_wayland==1', {
88 'direct_dependent_settings': {
90 '<!@(<(pkg-config) --cflags ecore-wayland)',
95 '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-wayland)',
98 '<!@(<(pkg-config) --libs-only-l ecore-wayland)',
105 'target_name': 'ecore-evas',
107 'direct_dependent_settings': {
109 '<!@(<(pkg-config) --cflags ecore-evas)',
114 '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-evas)',
117 '<!@(<(pkg-config) --libs-only-l ecore-evas)',
122 'target_name': 'ecore-input',
124 'direct_dependent_settings': {
126 '<!@(<(pkg-config) --cflags ecore-input)',
131 '<!@(<(pkg-config) --libs-only-L --libs-only-other ecore-input)',
134 '<!@(<(pkg-config) --libs-only-l ecore-input)',
139 'target_name': 'elementary',
141 'direct_dependent_settings': {
143 '<!@(<(pkg-config) --cflags elementary)',
148 '<!@(<(pkg-config) --libs-only-L --libs-only-other elementary)',
151 '<!@(<(pkg-config) --libs-only-l elementary)',
156 'direct_dependent_settings': {
158 # Fix: elm_prefs_common.h:27:9: warning: empty struct has size 0 in C, size 1 in C++
159 '-Wno-extern-c-compat',
166 'target_name': 'edje',
168 'direct_dependent_settings': {
170 '<!@(<(pkg-config) --cflags edje)',
175 '<!@(<(pkg-config) --libs-only-L --libs-only-other edje)',
178 '<!@(<(pkg-config) --libs-only-l edje)',
183 'target_name': 'efl-extension',
186 ['building_for_tizen==1', {
187 'direct_dependent_settings': {
189 '<!@(<(pkg-config) --cflags efl-extension)',
194 '<!@(<(pkg-config) --libs-only-L --libs-only-other efl-extension)',
197 '<!@(<(pkg-config) --libs-only-l efl-extension)',
204 'target_name': 'ui-gadget',
207 ['building_for_tizen==1 and building_strategy=="ewk"', {
208 'direct_dependent_settings': {
210 '<!@(<(pkg-config) --cflags ui-gadget-1)',
215 '<!@(<(pkg-config) --libs-only-L --libs-only-other ui-gadget-1)',
218 '<!@(<(pkg-config) --libs-only-l ui-gadget-1)',
225 'target_name': 'capi-appfw-application',
228 ['building_for_tizen==1', {
229 'direct_dependent_settings': {
231 '<!@(<(pkg-config) --cflags capi-appfw-application)',
236 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-appfw-application)',
239 '<!@(<(pkg-config) --libs-only-l capi-appfw-application)',
244 }, # capi-appfw-application
246 'target_name': 'capi-location-manager',
249 ['building_for_tizen==1 and building_strategy=="ewk"', {
250 'direct_dependent_settings': {
252 '<!@(<(pkg-config) --cflags capi-location-manager)',
257 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-location-manager)',
260 '<!@(<(pkg-config) --libs-only-l capi-location-manager)',
265 }, # capi-location-manager
267 'target_name': 'capi-system-info',
270 ['building_for_tizen==1 and building_strategy=="ewk"', {
271 'direct_dependent_settings': {
273 '<!@(<(pkg-config) --cflags capi-system-info)',
278 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-info)',
281 '<!@(<(pkg-config) --libs-only-l capi-system-info)',
286 }, # capi-system-info
288 'target_name': 'capi-system-device',
291 ['building_for_tizen_mobile==1', {
292 'direct_dependent_settings': {
294 '<!@(<(pkg-config) --cflags capi-system-device)',
299 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-device)',
302 '<!@(<(pkg-config) --libs-only-l capi-system-device)',
307 }, # capi-system-device
309 'target_name': 'capi-system-sensor',
312 ['building_for_tizen_mobile==1', {
313 'direct_dependent_settings': {
315 '<!@(<(pkg-config) --cflags capi-system-sensor)',
320 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-sensor)',
323 '<!@(<(pkg-config) --libs-only-l capi-system-sensor)',
328 }, # capi-system-sensor
330 'target_name': 'capi-system-system-settings',
333 ['building_for_tizen==1', {
334 'direct_dependent_settings': {
336 '<!@(<(pkg-config) --cflags capi-system-system-settings)',
341 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-system-system-settings)',
344 '<!@(<(pkg-config) --libs-only-l capi-system-system-settings)',
349 }, # capi-system-system-settings
351 'target_name': 'libdri2',
354 ['building_for_tizen==1 and use_wayland==0', {
355 'direct_dependent_settings': {
357 '<!@(<(pkg-config) --cflags libdri2)',
362 '<!@(<(pkg-config) --libs-only-L --libs-only-other libdri2)',
365 '<!@(<(pkg-config) --libs-only-l libdri2)',
372 'target_name': 'libdrm',
375 ['building_for_tizen==1', {
376 'direct_dependent_settings': {
378 '<!@(<(pkg-config) --cflags libdrm)',
383 '<!@(<(pkg-config) --libs-only-L --libs-only-other libdrm)',
386 '<!@(<(pkg-config) --libs-only-l libdrm)',
393 'target_name': 'libtbm',
396 ['building_for_tizen==1', {
397 'direct_dependent_settings': {
399 '<!@(<(pkg-config) --cflags libtbm)',
404 '<!@(<(pkg-config) --libs-only-L --libs-only-other libtbm)',
407 '<!@(<(pkg-config) --libs-only-l libtbm)',
414 'target_name': 'x11',
418 'direct_dependent_settings': {
420 '<!@(<(pkg-config) --cflags x11)',
425 '<!@(<(pkg-config) --libs-only-L --libs-only-other x11)',
428 '<!@(<(pkg-config) --libs-only-l x11)',
435 'target_name': 'gstreamer',
438 ['chromium_efl_tizen_version >= "2.4"', {
442 'gstreamer-base-1.0',
444 'gstreamer-pbutils-1.0',
445 'gstreamer-video-1.0',
448 }, { # for Tizen v2.X
452 'gstreamer-base-0.10',
453 'gstreamer-app-0.10',
454 'gstreamer-pbutils-0.10',
455 'gstreamer-interfaces-0.10',
456 'gstreamer-video-0.10',
461 'direct_dependent_settings': {
463 '<!@(<(pkg-config) --cflags <(dependent_pkgs))',
468 '<!@(<(pkg-config) --libs-only-L --libs-only-other <(dependent_pkgs))',
471 '<!@(<(pkg-config) --libs-only-l <(dependent_pkgs))',
476 'target_name': 'gstreamer-fft',
478 'direct_dependent_settings': {
480 '<!@(<(pkg-config) --cflags gstreamer-fft-1.0)',
485 '<!@(<(pkg-config) --libs-only-L --libs-only-other gstreamer-fft-1.0)',
488 '<!@(<(pkg-config) --libs-only-l gstreamer-fft-1.0)',
493 'target_name': 'capi-media-camera',
496 ['building_for_tizen==1', {
497 'direct_dependent_settings': {
499 '<!@(<(pkg-config) --cflags capi-media-camera)',
504 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-camera)',
507 '<!@(<(pkg-config) --libs-only-l capi-media-camera)',
512 }, # capi-media-camera
514 'target_name': 'capi-media-audio-io',
517 ['building_for_tizen==1', {
518 'direct_dependent_settings': {
520 '<!@(<(pkg-config) --cflags capi-media-audio-io)',
525 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-audio-io)',
528 '<!@(<(pkg-config) --libs-only-l capi-media-audio-io)',
533 }, # capi-media-audio-io
535 'target_name': 'capi-media-player',
538 ['building_for_tizen==1', {
539 'direct_dependent_settings': {
541 '<!@(<(pkg-config) --cflags capi-media-player)',
546 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-player)',
549 '<!@(<(pkg-config) --libs-only-l capi-media-player)',
554 }, # capi-media-player
556 'target_name': 'capi-media-tool',
559 ['building_for_tizen==1', {
560 'direct_dependent_settings': {
562 '<!@(<(pkg-config) --cflags capi-media-tool)',
567 '<!@(<(pkg-config) --libs-only-L --libs-only-other capi-media-tool)',
570 '<!@(<(pkg-config) --libs-only-l capi-media-tool)',
577 'target_name': 'mm-player',
580 ['building_for_tizen==1', {
581 'direct_dependent_settings': {
583 '<!@(<(pkg-config) --cflags mm-player)',
588 '<!@(<(pkg-config) --libs-only-L --libs-only-other mm-player)',
591 '<!@(<(pkg-config) --libs-only-l mm-player)',
598 'target_name': 'tts',
601 ['building_for_tizen==1', {
602 'direct_dependent_settings': {
604 '<!@(<(pkg-config) --cflags tts)',
609 '<!@(<(pkg-config) --libs-only-L --libs-only-other tts)',
612 '<!@(<(pkg-config) --libs-only-l tts)',
619 'target_name': 'vconf',
622 ['building_for_tizen==1', {
623 'direct_dependent_settings': {
625 '<!@(<(pkg-config) --cflags vconf)',
630 '<!@(<(pkg-config) --libs-only-L --libs-only-other vconf)',
633 '<!@(<(pkg-config) --libs-only-l vconf)',
640 'target_name': 'feedback',
643 ['building_for_tizen==1 and building_strategy=="ewk"', {
644 'direct_dependent_settings': {
646 '<!@(<(pkg-config) --cflags feedback)',
651 '<!@(<(pkg-config) --libs-only-L --libs-only-other feedback)',
654 '<!@(<(pkg-config) --libs-only-l feedback)',
661 'target_name': 'tizen_tzplatform_config',
665 'libtzplatform-config',
669 ['chromium_efl_tizen_version >= "3.0"', {
670 'direct_dependent_settings': {
672 '<!@(pkg-config --cflags <@(packages))',
677 '<!@(pkg-config --libs-only-L --libs-only-other <@(packages))',
680 '<!@(pkg-config --libs-only-l <@(packages))',
686 }, # tizen_tzplatform_config