OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'skia_warnings_as_errors': 0, | 7 'skia_warnings_as_errors': 0, |
8 }, | 8 }, |
9 'targets': [{ | 9 'targets': [{ |
10 'target_name': 'microhttpd', | 10 'target_name': 'microhttpd', |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 'PACKAGE_STRING="libmicrohttpd 0.9.42"', | 173 'PACKAGE_STRING="libmicrohttpd 0.9.42"', |
174 'PACKAGE_TARNAME="libmicrohttpd"', | 174 'PACKAGE_TARNAME="libmicrohttpd"', |
175 'PACKAGE_URL=""', | 175 'PACKAGE_URL=""', |
176 'PACKAGE_VERSION="0.9.42"', | 176 'PACKAGE_VERSION="0.9.42"', |
177 "SPDY_SUPPORT=0", | 177 "SPDY_SUPPORT=0", |
178 "STDC_HEADERS=1", | 178 "STDC_HEADERS=1", |
179 'VERSION="0.9.42"', | 179 'VERSION="0.9.42"', |
180 '_MHD_EXTERN=__attribute__((visibility("default"))) extern', | 180 '_MHD_EXTERN=__attribute__((visibility("default"))) extern', |
181 ], | 181 ], |
182 }], | 182 }], |
| 183 ['skia_os == "win"', { |
| 184 'sources': [ |
| 185 '../third_party/externals/microhttpd/src/platform/w32functions.c', |
| 186 ], |
| 187 'msvs_disabled_warnings': [4244, 4996], |
| 188 'defines=': [ # equals sign throws away most Skia defines (j
ust noise) |
| 189 "_GNU_SOURCE=1", |
| 190 "BAUTH_SUPPORT=1", |
| 191 "DAUTH_SUPPORT=1", |
| 192 "EPOLL_SUPPORT=0", |
| 193 "HAVE_DECL_SOCK_NONBLOCK=0", |
| 194 "HAVE_DECL_TCP_CORK=0", |
| 195 "HAVE_DECL_TCP_NOPUSH=0", |
| 196 "HAVE_ERRNO_H=1", |
| 197 "HAVE_FCNTL_H=1", |
| 198 "HAVE_INET6=1", |
| 199 "HAVE_INTTYPES_H=1", |
| 200 "HAVE_LIMITS_H=1", |
| 201 "HAVE_LOCALE_H=1", |
| 202 "HAVE_MATH_H=1", |
| 203 "HAVE_MEMORY_H=1", |
| 204 "HAVE_MESSAGES=1", |
| 205 # "HAVE_POLL=0", |
| 206 "HAVE_POSTPROCESSOR=1", |
| 207 "HAVE_PTHREAD_H=0", |
| 208 "HAVE_STDINT_H=1", |
| 209 "HAVE_STDIO_H=1", |
| 210 "HAVE_STDLIB_H=1", |
| 211 "HAVE_STRINGS_H=1", |
| 212 "HAVE_STRING_H=1", |
| 213 "HAVE_SYS_STAT_H=1", |
| 214 "HAVE_SYS_TYPES_H=1", |
| 215 "HAVE_TIME_H=1", |
| 216 "HAVE_WINSOCK2_H=1", |
| 217 "HAVE_WS2TCPIP_H=1", |
| 218 "HTTPS_SUPPORT=0", |
| 219 "MSVC=1", |
| 220 "WINDOWS=1", |
| 221 'LT_OBJDIR=".libs/"', |
| 222 "MHD_DONT_USE_PIPES=1", |
| 223 "MHD_USE_W32_THREADS=1", |
| 224 'PACKAGE="libmicrohttpd"', |
| 225 'PACKAGE_BUGREPORT="libmicrohttpd@gnu.org"', |
| 226 'PACKAGE_NAME="libmicrohttp"', |
| 227 'PACKAGE_STRING="libmicrohttpd 0.9.42"', |
| 228 'PACKAGE_TARNAME="libmicrohttpd"', |
| 229 'PACKAGE_URL=""', |
| 230 'PACKAGE_VERSION="0.9.42"', |
| 231 "SPDY_SUPPORT=0", |
| 232 "STDC_HEADERS=1", |
| 233 'VERSION="0.9.42"', |
| 234 '_MHD_EXTERN=extern', |
| 235 ], |
| 236 }], |
183 ] | 237 ] |
184 }] | 238 }] |
185 } | 239 } |
OLD | NEW |