shiny/driver/gldriver: skip on GOOS=android

gldriver doesn't build on android.

Change-Id: Ifc5d9e54b196e82cd958e773b93ad01a38f028e4
Reviewed-on: https://go-review.googlesource.com/c/exp/+/165658
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/shiny/driver/gldriver/context.go b/shiny/driver/gldriver/context.go
index 63fb170..197be35 100644
--- a/shiny/driver/gldriver/context.go
+++ b/shiny/driver/gldriver/context.go
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !android
+
 package gldriver
 
 import (
diff --git a/shiny/driver/gldriver/other.go b/shiny/driver/gldriver/other.go
index 6da5133..bbfc034 100644
--- a/shiny/driver/gldriver/other.go
+++ b/shiny/driver/gldriver/other.go
@@ -16,6 +16,9 @@
 	"golang.org/x/exp/shiny/screen"
 )
 
+const useLifecycler = true
+const handleSizeEventsAtChannelReceive = true
+
 func newWindow(opts *screen.NewWindowOptions) (uintptr, error) { return 0, nil }
 
 func initWindow(id *windowImpl) {}
diff --git a/shiny/widget/glwidget/glwidget.go b/shiny/widget/glwidget/glwidget.go
index b63677b..cfbacbe 100644
--- a/shiny/widget/glwidget/glwidget.go
+++ b/shiny/widget/glwidget/glwidget.go
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build !android
+
 // Package glwidget provides a widget containing a GL ES framebuffer.
 package glwidget