aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skiaserve/Request.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-09-22 11:51:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-22 11:51:24 -0700
commitecbc526418414f6f9d29b176ea0ad8037fff2e2d (patch)
treed30b81603e03e85738aa4faa867a4cc165908ae4 /tools/skiaserve/Request.h
parentbac104605ef3d9a8ed0022694990f00518b809e9 (diff)
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
Diffstat (limited to 'tools/skiaserve/Request.h')
-rw-r--r--tools/skiaserve/Request.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h
index 7a5daf55d1..0b6ed3b467 100644
--- a/tools/skiaserve/Request.h
+++ b/tools/skiaserve/Request.h
@@ -8,6 +8,8 @@
#ifndef Request_DEFINED
#define Request_DEFINED
+#include "SkTypes.h"
+
#if SK_SUPPORT_GPU
#include "GrContextFactory.h"
#endif