all: rename ebitenginecbackend to nintendosdk

Updates #2242
This commit is contained in:
Hajime Hoshi 2022-08-12 02:03:21 +09:00
parent 1abb461329
commit dac6548c0c
39 changed files with 80 additions and 80 deletions

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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