mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
1abb461329
commit
dac6548c0c
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ebitenginecbackend || ebitencbackend
|
||||
// +build ebitenginecbackend ebitencbackend
|
||||
//go:build nintendosdk || ebitencbackend
|
||||
// +build nintendosdk ebitencbackend
|
||||
|
||||
package audio
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package audio
|
||||
|
||||
|
@ -825,12 +825,12 @@ func main() {
|
||||
buildTag = "//go:build !js" +
|
||||
"\n// +build !js"
|
||||
case filepath.Join("internal", "ui", "keys_mobile.go"):
|
||||
buildTag = "//go:build (android || ios) && !ebitenginecbackend && !ebitencbackend" +
|
||||
buildTag = "//go:build (android || ios) && !nintendosdk && !ebitencbackend" +
|
||||
"\n// +build android ios" +
|
||||
"\n// +build !ebitenginecbackend && !ebitencbackend"
|
||||
"\n// +build !nintendosdk && !ebitencbackend"
|
||||
case filepath.Join("internal", "ui", "keys_glfw.go"):
|
||||
buildTag = "//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend" +
|
||||
"\n// +build !android,!ios,!js,!ebitenginecbackend && !ebitencbackend"
|
||||
buildTag = "//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend" +
|
||||
"\n// +build !android,!ios,!js,!nintendosdk && !ebitencbackend"
|
||||
}
|
||||
// NOTE: According to godoc, maps are automatically sorted by key.
|
||||
if err := tmpl.Execute(f, struct {
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ebitenginecbackend || ebitencbackend
|
||||
// +build ebitenginecbackend ebitencbackend
|
||||
//go:build nintendosdk || ebitencbackend
|
||||
// +build nintendosdk ebitencbackend
|
||||
|
||||
package cbackend
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ios && !ebitenginecbackend && !ebitencbackend
|
||||
// +build ios,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build ios && !nintendosdk && !ebitencbackend
|
||||
// +build ios,!nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ebitenginecbackend || ebitencbackend
|
||||
// +build ebitenginecbackend ebitencbackend
|
||||
//go:build nintendosdk || ebitencbackend
|
||||
// +build nintendosdk ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ios && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ios,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !ios && !nintendosdk && !ebitencbackend
|
||||
// +build !ios,!nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ios && !ebitenginecbackend && !ebitencbackend
|
||||
// +build ios,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build ios && !nintendosdk && !ebitencbackend
|
||||
// +build ios,!nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package gamepad
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
package gl
|
||||
|
||||
// #cgo linux,!ebitenginecbackend,!ebitencbackend freebsd,!ebitenginecbackend,!ebitencbackend openbsd,!ebitenginecbackend,!ebitencbackend pkg-config: gl
|
||||
// #cgo linux,!nintendosdk,!ebitencbackend freebsd,!nintendosdk,!ebitencbackend openbsd,!nintendosdk,!ebitencbackend pkg-config: gl
|
||||
//
|
||||
// #ifndef APIENTRY
|
||||
// #define APIENTRY
|
||||
|
@ -19,10 +19,10 @@ package gl
|
||||
|
||||
/*
|
||||
#cgo linux freebsd openbsd CFLAGS: -DTAG_POSIX
|
||||
#cgo linux,!ebitenginecbackend,!ebitencbackend freebsd,!ebitenginecbackend,!ebitencbackend openbsd,!ebitenginecbackend,!ebitencbackend pkg-config: gl
|
||||
#cgo linux,!nintendosdk,!ebitencbackend freebsd,!nintendosdk,!ebitencbackend openbsd,!nintendosdk,!ebitencbackend pkg-config: gl
|
||||
#cgo egl CFLAGS: -DTAG_EGL
|
||||
#cgo egl,!ebitenginecbackend,!ebitencbackend pkg-config: egl
|
||||
#cgo ebitenginecbackend ebitencbackend LDFLAGS: -Wl,-unresolved-symbols=ignore-all
|
||||
#cgo egl,!nintendosdk,!ebitencbackend pkg-config: egl
|
||||
#cgo nintendosdk ebitencbackend LDFLAGS: -Wl,-unresolved-symbols=ignore-all
|
||||
|
||||
// Check the EGL tag first as it takes priority over the platform's default
|
||||
// configuration of WGL/GLX/CGL.
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !windows || ebitenginecbackend || ebitencbackend
|
||||
// +build !windows ebitenginecbackend ebitencbackend
|
||||
//go:build !windows || nintendosdk || ebitencbackend
|
||||
// +build !windows nintendosdk ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ebitenginecbackend || ebitencbackend
|
||||
// +build ebitenginecbackend ebitencbackend
|
||||
//go:build nintendosdk || ebitencbackend
|
||||
// +build nintendosdk ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!ios,!js,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!ios,!js,!nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build (android || ios) && !ebitenginecbackend && !ebitencbackend
|
||||
//go:build (android || ios) && !nintendosdk && !ebitencbackend
|
||||
// +build android ios
|
||||
// +build !ebitenginecbackend
|
||||
// +build !nintendosdk
|
||||
// +build !ebitencbackend
|
||||
|
||||
package ui
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
|
||||
|
||||
//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!ios,!js,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!ios,!js,!nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
|
||||
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
|
||||
|
||||
//go:build (android || ios) && !ebitenginecbackend && !ebitencbackend
|
||||
//go:build (android || ios) && !nintendosdk && !ebitencbackend
|
||||
// +build android ios
|
||||
// +build !ebitenginecbackend
|
||||
// +build !nintendosdk
|
||||
// +build !ebitencbackend
|
||||
|
||||
package ui
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend && !ebitenginesinglethread && !ebitensinglethread
|
||||
// +build !android,!ios,!js,!ebitenginecbackend,!ebitencbackend,!ebitenginesinglethread,!ebitensinglethread
|
||||
//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend && !ebitenginesinglethread && !ebitensinglethread
|
||||
// +build !android,!ios,!js,!nintendosdk,!ebitencbackend,!ebitenginesinglethread,!ebitensinglethread
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,11 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend && (ebitenginesinglethread || ebitensinglethread)
|
||||
//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend && (ebitenginesinglethread || ebitensinglethread)
|
||||
// +build !android
|
||||
// +build !ios
|
||||
// +build !js
|
||||
// +build !ebitenginecbackend
|
||||
// +build !nintendosdk
|
||||
// +build !ebitencbackend
|
||||
// +build ebitenginesinglethread ebitensinglethread
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ebitenginecbackend || ebitencbackend
|
||||
// +build ebitenginecbackend ebitencbackend
|
||||
//go:build nintendosdk || ebitencbackend
|
||||
// +build nintendosdk ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!ios,!js,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!ios,!js,!nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ios && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ios,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !ios && !nintendosdk && !ebitencbackend
|
||||
// +build !ios,!nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !darwin && !js && !windows && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!darwin,!js,!windows,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !darwin && !js && !windows && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!darwin,!js,!windows,!nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build (android || ios) && !ebitenginecbackend && !ebitencbackend
|
||||
//go:build (android || ios) && !nintendosdk && !ebitencbackend
|
||||
// +build android ios
|
||||
// +build !ebitenginecbackend
|
||||
// +build !nintendosdk
|
||||
// +build !ebitencbackend
|
||||
|
||||
package ui
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !android && !ios && !js && !ebitenginecbackend && !ebitencbackend
|
||||
// +build !android,!ios,!js,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend
|
||||
// +build !android,!ios,!js,!nintendosdk,!ebitencbackend
|
||||
|
||||
package ui
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ebitenginecbackend && !ebitencbackend
|
||||
// +build !ebitenginecbackend,!ebitencbackend
|
||||
//go:build !nintendosdk && !ebitencbackend
|
||||
// +build !nintendosdk,!ebitencbackend
|
||||
|
||||
package vibrate
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build ios && !ebitenginecbackend && !ebitencbackend
|
||||
// +build ios,!ebitenginecbackend,!ebitencbackend
|
||||
//go:build ios && !nintendosdk && !ebitencbackend
|
||||
// +build ios,!nintendosdk,!ebitencbackend
|
||||
|
||||
package vibrate
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build (!android && !ios && !js) || ebitenginecbackend || ebitencbackend
|
||||
// +build !android,!ios,!js ebitenginecbackend ebitencbackend
|
||||
//go:build (!android && !ios && !js) || nintendosdk || ebitencbackend
|
||||
// +build !android,!ios,!js nintendosdk ebitencbackend
|
||||
|
||||
package vibrate
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user