OLD | NEW |
1 { | 1 { |
| 2 'variables': { |
| 3 'have_curl': '<!(python check_curl.py)' |
| 4 }, |
2 'includes': ['third_party/v8/build/common.gypi', | 5 'includes': ['third_party/v8/build/common.gypi', |
3 'shell/shell.gyp'], | 6 'shell/shell.gyp'], |
4 'targets': [{ | 7 'targets': [{ |
5 'target_name': 'libadblockplus', | 8 'target_name': 'libadblockplus', |
6 'type': '<(library)', | 9 'type': '<(library)', |
7 'include_dirs': [ | 10 'include_dirs': [ |
8 'include', | 11 'include', |
9 'third_party/v8/include' | 12 'third_party/v8/include' |
10 ], | 13 ], |
11 'defines': ['FILTER_ENGINE_STUBS=1'], | 14 'defines': ['FILTER_ENGINE_STUBS=1'], |
(...skipping 10 matching lines...) Expand all Loading... |
22 'src/JsEngine.cpp', | 25 'src/JsEngine.cpp', |
23 'src/Thread.cpp', | 26 'src/Thread.cpp', |
24 'src/WebRequest.cpp', | 27 'src/WebRequest.cpp', |
25 'src/WebRequestJsObject.cpp', | 28 'src/WebRequestJsObject.cpp', |
26 '<(INTERMEDIATE_DIR)/adblockplus.js.cc' | 29 '<(INTERMEDIATE_DIR)/adblockplus.js.cc' |
27 ], | 30 ], |
28 'direct_dependent_settings': { | 31 'direct_dependent_settings': { |
29 'include_dirs': ['include'] | 32 'include_dirs': ['include'] |
30 }, | 33 }, |
31 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'], | 34 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'], |
| 35 'conditions': [ |
| 36 ['have_curl==1', |
| 37 { |
| 38 'defines': ['HAVE_CURL'], |
| 39 'all_dependent_settings': { |
| 40 'defines': ['HAVE_CURL'], |
| 41 'libraries': ['-lcurl'] |
| 42 } |
| 43 } |
| 44 ] |
| 45 ], |
32 'actions': [{ | 46 'actions': [{ |
33 'action_name': 'convert_js', | 47 'action_name': 'convert_js', |
34 'variables': { | 48 'variables': { |
35 'core_library_files': [ | 49 'core_library_files': [ |
36 'lib/info.js', | 50 'lib/info.js', |
37 'lib/io.js', | 51 'lib/io.js', |
38 'lib/prefs.js', | 52 'lib/prefs.js', |
39 'lib/utils.js', | 53 'lib/utils.js', |
40 'lib/elemHideHitRegistration.js', | 54 'lib/elemHideHitRegistration.js', |
41 'adblockplus/lib/filterNotifier.js', | 55 'adblockplus/lib/filterNotifier.js', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 'sources': [ | 93 'sources': [ |
80 'test/ConsoleJsObject.cpp', | 94 'test/ConsoleJsObject.cpp', |
81 'test/FilterEngineStubs.cpp', | 95 'test/FilterEngineStubs.cpp', |
82 'test/GlobalJsObject.cpp', | 96 'test/GlobalJsObject.cpp', |
83 'test/JsEngine.cpp', | 97 'test/JsEngine.cpp', |
84 'test/Thread.cpp', | 98 'test/Thread.cpp', |
85 'test/WebRequest.cpp' | 99 'test/WebRequest.cpp' |
86 ] | 100 ] |
87 }] | 101 }] |
88 } | 102 } |
OLD | NEW |