3 'extension_host_os%': 'desktop',
5 'telephony_sim_available%': '<!(pkg-config --exists capi-telephony-sim; if [ $? = 0 ]; then echo true; else echo false; fi)',
6 'extension_build_type%': '<(extension_build_type)',
7 'extension_build_type%': 'Debug',
8 'display_type%': 'x11',
12 ['extension_host_os != "mobile"', {
13 'sources/': [['exclude', '_mobile\\.cc$|mobile/']],
14 'includes/': [['exclude', '_mobile\\.gypi$|mobile/']],
16 ['extension_host_os != "desktop"', {
17 'sources/': [['exclude', '_desktop\\.cc$|desktop/']],
18 'includes/': [['exclude', '_desktop\\.gypi$|desktop/']],
21 'libtzplatform-config',
28 'sources/': [['exclude', '_tizen\\.cc$|tizen/']],
29 'includes/': [['exclude', '_tizen\\.gypi$|tizen/']],
31 ['extension_host_os == "mobile"', { 'defines': ['TIZEN_MOBILE'] } ],
32 ['extension_host_os == "ivi"', { 'defines': ['TIZEN_IVI'] } ],
33 ['extension_host_os == "desktop"', { 'defines': ['GENERIC_DESKTOP'] } ],
34 ['telephony_sim_available == "true"', { 'defines': ['SYSTEMINFO_SIM_ACCESS'] } ],
35 ['extension_build_type== "Debug"', {
36 'defines': ['_DEBUG', ],
37 'cflags': [ '-O0', '-g', ],
39 ['extension_build_type == "Release"', {
40 'defines': ['NDEBUG', ],
43 # Don't emit the GCC version ident directives, they just end up
44 # in the .comment section taking up binary size.
46 # Put data and code in their own sections, so that unused symbols
47 # can be removed at link time with --gc-sections.
49 '-ffunction-sections',
52 [ 'display_type != "wayland"', {
53 'sources/': [['exclude', '_wayland\\.cc$|wayland/']],
55 [ 'display_type != "x11"', {
56 'sources/': [['exclude', '_x11\\.cc$|x11/']],
64 '<(SHARED_INTERMEDIATE_DIR)',
67 'extension_adapter.cc',
68 'extension_adapter.h',
72 'XW_Extension_EntryPoints.h',
73 'XW_Extension_Permissions.h',
74 'XW_Extension_Runtime.h',
75 'XW_Extension_SyncMessage.h',
80 '-fvisibility=hidden',