| Index: libadblockplus.gyp | 
| =================================================================== | 
| --- a/libadblockplus.gyp | 
| +++ b/libadblockplus.gyp | 
| @@ -1,9 +1,12 @@ | 
| { | 
| +  'variables': { | 
| +    'have_curl': '<!(python check_curl.py)' | 
| +  }, | 
| 'includes': ['third_party/v8/build/common.gypi', | 
| 'shell/shell.gyp'], | 
| 'targets': [{ | 
| 'target_name': 'libadblockplus', | 
| 'type': '<(library)', | 
| 'include_dirs': [ | 
| 'include', | 
| 'third_party/v8/include' | 
| @@ -24,16 +27,27 @@ | 
| 'src/WebRequest.cpp', | 
| 'src/WebRequestJsObject.cpp', | 
| '<(INTERMEDIATE_DIR)/adblockplus.js.cc' | 
| ], | 
| 'direct_dependent_settings': { | 
| 'include_dirs': ['include'] | 
| }, | 
| 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'], | 
| +    'conditions': [ | 
| +      ['have_curl==1', | 
| +        { | 
| +          'defines': ['HAVE_CURL'], | 
| +          'all_dependent_settings': { | 
| +            'defines': ['HAVE_CURL'], | 
| +            'libraries': ['-lcurl'] | 
| +          } | 
| +        } | 
| +      ] | 
| +    ], | 
| 'actions': [{ | 
| 'action_name': 'convert_js', | 
| 'variables': { | 
| 'core_library_files': [ | 
| 'lib/info.js', | 
| 'lib/io.js', | 
| 'lib/prefs.js', | 
| 'lib/utils.js', | 
|  |