OLD | NEW |
1 { | 1 { |
2 'conditions': [[ | 2 'conditions': [[ |
3 # We don't want to use curl on Windows and Android, skip the check there | 3 # We don't want to use curl on Windows and Android, skip the check there |
4 'OS=="win" or OS=="android"', | 4 'OS=="win" or OS=="android"', |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'have_curl': 0 | 7 'have_curl': 0 |
8 } | 8 } |
9 }, | 9 }, |
10 { | 10 { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 'defines': ['HAVE_CURL'], | 66 'defines': ['HAVE_CURL'], |
67 } | 67 } |
68 } | 68 } |
69 ], | 69 ], |
70 ['OS=="win"', | 70 ['OS=="win"', |
71 { | 71 { |
72 'sources': [ | 72 'sources': [ |
73 'src/DefaultWebRequestWinInet.cpp', | 73 'src/DefaultWebRequestWinInet.cpp', |
74 ], | 74 ], |
75 'link_settings': { | 75 'link_settings': { |
76 'libraries': [ '-lshlwapi.lib', '-lwinhttp.lib' ] | 76 'libraries': [ '-lshlwapi.lib', '-lwininet.lib' ] |
77 } | 77 } |
78 } | 78 } |
79 ], | 79 ], |
80 ['have_curl!=1 and OS!="win"', | 80 ['have_curl!=1 and OS!="win"', |
81 { | 81 { |
82 'sources': [ | 82 'sources': [ |
83 'src/DefaultWebRequestDummy.cpp', | 83 'src/DefaultWebRequestDummy.cpp', |
84 ] | 84 ] |
85 } | 85 } |
86 ], | 86 ], |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 'test/WebRequest.cpp' | 158 'test/WebRequest.cpp' |
159 ], | 159 ], |
160 'msvs_settings': { | 160 'msvs_settings': { |
161 'VCLinkerTool': { | 161 'VCLinkerTool': { |
162 'SubSystem': '1', # Console | 162 'SubSystem': '1', # Console |
163 'EntryPointSymbol': 'mainCRTStartup', | 163 'EntryPointSymbol': 'mainCRTStartup', |
164 }, | 164 }, |
165 }, | 165 }, |
166 }] | 166 }] |
167 } | 167 } |
OLD | NEW |