Added NetworkBerearSelection API stub
[platform/framework/web/tizen-extensions-crosswalk.git] / tizen-wrt.gyp
1 {
2   'target_defaults': {
3     'conditions': [
4       ['type != "mobile"', {
5         'sources/': [['exclude', '_mobile\\.cc$|mobile/']],
6         'includes/': [['exclude', '_mobile\\.gypi$|mobile/']],
7       }],
8       ['type != "desktop"', {
9         'sources/': [['exclude', '_desktop\\.cc$|desktop/']],
10         'includes/': [['exclude', '_desktop\\.gypi$|desktop/']],
11       }],
12       ['type == "mobile"', { 'defines': ['TIZEN_MOBILE'] } ],
13       ['type == "desktop"', { 'defines': ['GENERIC_DESKTOP'] } ],
14       ['build == "Debug"', {
15         'defines': ['_DEBUG', ],
16         'cflags': [ '-O0', '-g', ],
17       }],
18       ['build == "Release"', {
19         'defines': ['NDEBUG', ],
20         'cflags': [
21           '-O2',
22           # Don't emit the GCC version ident directives, they just end up
23           # in the .comment section taking up binary size.
24           '-fno-ident',
25           # Put data and code in their own sections, so that unused symbols
26           # can be removed at link time with --gc-sections.
27           '-fdata-sections',
28           '-ffunction-sections',
29         ],
30       }],
31     ],
32     'includes': [
33       'xwalk_js2c.gypi',
34     ],
35     'include_dirs': [
36       '.',
37       '<(SHARED_INTERMEDIATE_DIR)',
38     ],
39     'sources': [
40       '../common/extension_adapter.h',
41       '../common/picojson.h',
42       '../common/utils.h',
43     ],
44     'cflags': [
45       '-fPIC',
46       '-fvisibility=hidden',
47     ],
48   },
49   'includes': {
50     'common/tizen_mobile.gypi',
51     'bluetooth/bluetooth.gypi',
52     'notification/notification.gypi',
53     'power/power.gypi',
54     'system_info/system_info.gypi',
55     'tizen/tizen.gypi',
56     'networkbearerselection/networkbearerselection.gypi',
57     'time/time.gypi',
58   },
59 }