{
'includes': [
- 'toolchain.gypi',
'vendor/brightray/brightray.gypi',
'efl/features.gypi',
],
+ 'conditions': [
+ ['use_efl!=1', {
+ 'includes': [
+ 'toolchain.gypi',
+ ],
+ }]
+ ],
+
'variables': {
# Tell crashpad to build as external project.
'crashpad_dependencies': 'external',
'<@(lib_sources_linux)',
'<@(lib_sources_nss)',
],
- 'link_settings': {
- 'ldflags': [
- # Make binary search for libraries under current directory, so we
- # don't have to manually set $LD_LIBRARY_PATH:
- # http://serverfault.com/questions/279068/cant-find-so-in-the-same-directory-as-the-executable
- '-rpath \$$ORIGIN',
- # Make native module dynamic loading work.
- '-rdynamic',
- ],
- },
# Required settings of using breakpad.
'cflags_cc': [
'-Wno-empty-body',
'vendor/breakpad/breakpad.gyp:breakpad_client',
],
}], # OS=="linux"
+ ['use_efl!=1', {
+ 'link_settings': {
+ 'ldflags': [
+ # Make binary search for libraries under current directory, so we
+ # don't have to manually set $LD_LIBRARY_PATH:
+ # http://serverfault.com/questions/279068/cant-find-so-in-the-same-directory-as-the-executable
+ '-rpath \$$ORIGIN',
+ # Make native module dynamic loading work.
+ '-rdynamic',
+ ],
+ },
+ }], # use_efl!=1
],
}, # target <(product_name)_lib
{