Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: gyp/microhttpd.gyp

Issue 1903203003: Get skiaserve working on Windows. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix ws2_32 dependency, build skiaserve w/most on windows Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gyp/most.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 'all_dependent_settings': {
189 'msvs_settings': {
190 'VCLinkerTool': {
191 'AdditionalDependencies': [ 'ws2_32.lib' ],
192 },
193 },
194 },
195 'defines=': [ # equals sign throws away most Skia defines (j ust noise)
196 "_GNU_SOURCE=1",
197 "BAUTH_SUPPORT=1",
198 "DAUTH_SUPPORT=1",
199 "EPOLL_SUPPORT=0",
200 "HAVE_DECL_SOCK_NONBLOCK=0",
201 "HAVE_DECL_TCP_CORK=0",
202 "HAVE_DECL_TCP_NOPUSH=0",
203 "HAVE_ERRNO_H=1",
204 "HAVE_FCNTL_H=1",
205 "HAVE_INET6=1",
206 "HAVE_INTTYPES_H=1",
207 "HAVE_LIMITS_H=1",
208 "HAVE_LOCALE_H=1",
209 "HAVE_MATH_H=1",
210 "HAVE_MEMORY_H=1",
211 "HAVE_MESSAGES=1",
212 # "HAVE_POLL=0",
213 "HAVE_POSTPROCESSOR=1",
214 "HAVE_PTHREAD_H=0",
215 "HAVE_STDINT_H=1",
216 "HAVE_STDIO_H=1",
217 "HAVE_STDLIB_H=1",
218 "HAVE_STRINGS_H=1",
219 "HAVE_STRING_H=1",
220 "HAVE_SYS_STAT_H=1",
221 "HAVE_SYS_TYPES_H=1",
222 "HAVE_TIME_H=1",
223 "HAVE_WINSOCK2_H=1",
224 "HAVE_WS2TCPIP_H=1",
225 "HTTPS_SUPPORT=0",
226 "MSVC=1",
227 "WINDOWS=1",
228 'LT_OBJDIR=".libs/"',
229 "MHD_DONT_USE_PIPES=1",
230 "MHD_USE_W32_THREADS=1",
231 'PACKAGE="libmicrohttpd"',
232 'PACKAGE_BUGREPORT="libmicrohttpd@gnu.org"',
233 'PACKAGE_NAME="libmicrohttp"',
234 'PACKAGE_STRING="libmicrohttpd 0.9.42"',
235 'PACKAGE_TARNAME="libmicrohttpd"',
236 'PACKAGE_URL=""',
237 'PACKAGE_VERSION="0.9.42"',
238 "SPDY_SUPPORT=0",
239 "STDC_HEADERS=1",
240 'VERSION="0.9.42"',
241 '_MHD_EXTERN=extern',
242 ],
243 }],
183 ] 244 ]
184 }] 245 }]
185 } 246 }
OLDNEW
« no previous file with comments | « no previous file | gyp/most.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698