diff --git a/shiny/driver/gldriver/context.go b/shiny/driver/gldriver/context.go index 63fb17065..197be350a 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 6da51331e..bbfc03418 100644 --- a/shiny/driver/gldriver/other.go +++ b/shiny/driver/gldriver/other.go @@ -16,6 +16,9 @@ import ( "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 b63677b26..cfbacbed7 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