From 2906581f1051175d39df473545827bc15dbf53b6 Mon Sep 17 00:00:00 2001 From: Mark Mentovai Date: Wed, 8 Aug 2018 10:46:21 -0400 Subject: [PATCH] win: Fix GYP build of http_transport_test_server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The C++ http_transport_test_server was added in 439ba730c5ae and the missing GYP build description was corrected in 0e144fb9aeff, but this wasn’t complete for Windows. ws2_32.lib was missing. Bug: crashpad:227 Change-Id: I2a0810468f857a02ad1a997c569eee6d9c05c7da Reviewed-on: https://chromium-review.googlesource.com/1167210 Reviewed-by: Joshua Peraza Commit-Queue: Mark Mentovai --- util/util_test.gyp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/util/util_test.gyp b/util/util_test.gyp index ff3559e3..485ed663 100644 --- a/util/util_test.gyp +++ b/util/util_test.gyp @@ -193,6 +193,15 @@ 'cflags!': [ '-Wexit-time-destructors', ], + 'conditions': [ + ['OS=="win"', { + 'link_settings': { + 'libraries': [ + '-lws2_32.lib', + ], + }, + }], + ], }, ], }],