all: remove unnecessary build tag restrictions

This commit is contained in:
Hajime Hoshi 2023-10-01 23:24:42 +09:00
parent 49ff4df890
commit 95b4eeafce
20 changed files with 6 additions and 34 deletions

View File

@ -866,7 +866,7 @@ func main() {
case filepath.Join("internal", "glfw", "keys.go"): case filepath.Join("internal", "glfw", "keys.go"):
buildTag = "//go:build !js" buildTag = "//go:build !js"
case filepath.Join("internal", "ui", "keys_mobile.go"): case filepath.Join("internal", "ui", "keys_mobile.go"):
buildTag = "//go:build (android || ios) && !nintendosdk" buildTag = "//go:build android || ios"
case filepath.Join("internal", "ui", "keys_glfw.go"): case filepath.Join("internal", "ui", "keys_glfw.go"):
buildTag = "//go:build !android && !ios && !js && !nintendosdk" buildTag = "//go:build !android && !ios && !js && !nintendosdk"
} }

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
// #cgo CFLAGS: -x objective-c // #cgo CFLAGS: -x objective-c

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !ios && !nintendosdk //go:build !ios
package gamepad package gamepad

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package gamepad package gamepad
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package ui package ui
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package ui package ui
import ( import (

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build (android || ios) && !nintendosdk //go:build android || ios
package ui package ui

View File

@ -14,7 +14,7 @@
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT. // Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
//go:build (android || ios) && !nintendosdk //go:build android || ios
package ui package ui

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !ios && !nintendosdk //go:build !ios
package ui package ui

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package ui package ui
import ( import (

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build (android || ios) && !nintendosdk //go:build android || ios
package ui package ui

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package vibrate package vibrate
import ( import (

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !nintendosdk
package vibrate package vibrate
// #cgo CFLAGS: -x objective-c // #cgo CFLAGS: -x objective-c