Build and link microhttpd from gyp
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1628363002
Review URL: https://codereview.chromium.org/1628363002
diff --git a/gyp/skiaserve.gyp b/gyp/skiaserve.gyp
index 806d72f..e5d125c 100644
--- a/gyp/skiaserve.gyp
+++ b/gyp/skiaserve.gyp
@@ -12,11 +12,6 @@
{
'target_name': 'skiaserve',
'type': 'executable',
- 'include_dirs': [
- '../src/core',
- #TODO make this a real project
- '../third_party/externals/microhttpd/src/include',
- ],
'sources': [
'<!@(python find.py ../tools/skiaserve "*.cpp")',
],
@@ -24,20 +19,12 @@
'flags.gyp:flags',
'gputest.gyp:skgputest',
'jsoncpp.gyp:jsoncpp',
+ 'microhttpd.gyp:microhttpd',
'skia_lib.gyp:skia_lib',
'tools.gyp:crash_handler',
'tools.gyp:proc_stats',
'tools.gyp:resources',
],
- #TODO real libmicrohttpd gyp
- 'link_settings': {
- 'ldflags': [
- '-L../../third_party/externals/microhttpd/src/microhttpd/.libs',
- ],
- 'libraries': [
- '-lmicrohttpd',
- ],
- },
},
],
}