| Index: tools/fiddle/fiddle_main.cpp
|
| diff --git a/tools/fiddle/fiddle_main.cpp b/tools/fiddle/fiddle_main.cpp
|
| index 49ce50b45923d6164e9ecca3381fcddcef4c4bc6..bf6a8c27d5fae86f43a0b8bd46626d7a1e694449 100644
|
| --- a/tools/fiddle/fiddle_main.cpp
|
| +++ b/tools/fiddle/fiddle_main.cpp
|
| @@ -64,7 +64,7 @@ static SkData* encode_snapshot(const sk_sp<SkSurface>& surface) {
|
| return img ? img->encode() : nullptr;
|
| }
|
|
|
| -#if defined(__linux)
|
| +#if defined(__linux) && !defined(__ANDROID__)
|
| #include <GL/osmesa.h>
|
| static sk_sp<GrContext> create_grcontext() {
|
| // We just leak the OSMesaContext... the process will die soon anyway.
|
|
|