GN: build skiaserve
authormtklein <mtklein@chromium.org>
Thu, 22 Sep 2016 18:51:24 +0000 (11:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 22 Sep 2016 18:51:24 +0000 (11:51 -0700)
commitecbc526418414f6f9d29b176ea0ad8037fff2e2d
treed30b81603e03e85738aa4faa867a4cc165908ae4
parentbac104605ef3d9a8ed0022694990f00518b809e9
GN: build skiaserve

I trimmed the libmicrohttpd sources and defines down to the minimum needed to build and run.  This builds and runs on Linux and Android for me.

Request.h was missing an include for SkTypes.h, which supplies the default for SK_GPU_SUPPORTED if not otherwise defined.

To build on Android, exit() -> _exit().

build.py was unused.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2367513002

NOTREECHECKS=true

Review-Url: https://codereview.chromium.org/2367513002
BUILD.gn
third_party/libmicrohttpd/BUILD.gn [new file with mode: 0644]
third_party/libmicrohttpd/build.py [deleted file]
tools/skiaserve/Request.h
tools/skiaserve/urlhandlers/QuitHandler.cpp