2
0
mirror of synced 2025-02-20 13:38:20 +00:00

mobile: limit app/font/gl packages to linux/darwin.

They don't make sense for other platforms yet.

See golang/go#9603

Change-Id: I2ed269a00b1e1961aadf0a47fc95bbe3cd230113
Reviewed-on: https://go-review.googlesource.com/2902
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Hyang-Ah Hana Kim 2015-01-15 14:32:55 -05:00 committed by Hyang-Ah Hana Kim
parent bf371f421b
commit a8fcf739b9
8 changed files with 12 additions and 1 deletions

View File

@ -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 linux darwin
package app
import (

View File

@ -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 linux darwin
// Package font provides platform independent access to system fonts.
package font

View File

@ -11,8 +11,8 @@ package main
import (
"bytes"
"fmt"
"flag"
"fmt"
"go/ast"
"go/format"
"go/parser"
@ -221,6 +221,7 @@ const preamble = `// Copyright 2014 The Go Authors. All rights reserved.
// Generated from gl.go using go generate. DO NOT EDIT.
// See doc.go for details.
// +build linux darwin
// +build gldebug
package gl

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux darwin
// +build !gldebug
package gl

View File

@ -5,6 +5,7 @@
// Generated from gl.go using go generate. DO NOT EDIT.
// See doc.go for details.
// +build linux darwin
// +build gldebug
package gl

View File

@ -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 linux darwin
package gl
// This file contains GL Types and their methods that are independent of the

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux darwin
// +build gldebug
package gl

View File

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux darwin
// +build !gldebug
package gl