Chromium Code Reviews| 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 'defines=': [ # equals sign throws away most Skia defines (j ust noise) | |
| 188 "_GNU_SOURCE=1", | |
| 189 "BAUTH_SUPPORT=1", | |
| 190 "DAUTH_SUPPORT=1", | |
| 191 "EPOLL_SUPPORT=0", | |
| 192 "HAVE_DECL_SOCK_NONBLOCK=0", | |
| 193 "HAVE_DECL_TCP_CORK=0", | |
| 194 "HAVE_DECL_TCP_NOPUSH=0", | |
| 195 "HAVE_ERRNO_H=1", | |
| 196 "HAVE_FCNTL_H=1", | |
| 197 "HAVE_INET6=1", | |
| 198 "HAVE_INTTYPES_H=1", | |
| 199 "HAVE_LIMITS_H=1", | |
| 200 "HAVE_LOCALE_H=1", | |
| 201 "HAVE_MATH_H=1", | |
| 202 "HAVE_MEMORY_H=1", | |
| 203 "HAVE_MESSAGES=1", | |
| 204 # "HAVE_POLL=0", | |
|
Brian Osman
2016/04/20 14:45:07
The W32 version of MHD_Config.h that ships with th
| |
| 205 "HAVE_POSTPROCESSOR=1", | |
| 206 "HAVE_PTHREAD_H=0", | |
| 207 "HAVE_STDINT_H=1", | |
| 208 "HAVE_STDIO_H=1", | |
| 209 "HAVE_STDLIB_H=1", | |
| 210 "HAVE_STRINGS_H=1", | |
| 211 "HAVE_STRING_H=1", | |
| 212 "HAVE_SYS_STAT_H=1", | |
| 213 "HAVE_SYS_TYPES_H=1", | |
| 214 "HAVE_TIME_H=1", | |
| 215 "HAVE_WINSOCK2_H=1", | |
| 216 "HAVE_WS2TCPIP_H=1", | |
| 217 "HTTPS_SUPPORT=0", | |
| 218 "MSVC=1", | |
| 219 "WINDOWS=1", | |
| 220 'LT_OBJDIR=".libs/"', | |
| 221 "MHD_DONT_USE_PIPES=1", | |
| 222 "MHD_USE_W32_THREADS=1", | |
| 223 'PACKAGE="libmicrohttpd"', | |
| 224 'PACKAGE_BUGREPORT="libmicrohttpd@gnu.org"', | |
| 225 'PACKAGE_NAME="libmicrohttp"', | |
| 226 'PACKAGE_STRING="libmicrohttpd 0.9.42"', | |
| 227 'PACKAGE_TARNAME="libmicrohttpd"', | |
| 228 'PACKAGE_URL=""', | |
| 229 'PACKAGE_VERSION="0.9.42"', | |
| 230 "SPDY_SUPPORT=0", | |
| 231 "STDC_HEADERS=1", | |
| 232 'VERSION="0.9.42"', | |
| 233 '_MHD_EXTERN=extern', | |
| 234 ], | |
| 235 }], | |
| 183 ] | 236 ] |
| 184 }] | 237 }] |
| 185 } | 238 } |
| OLD | NEW |