Clean up the 'js' build tags

Updates #1129
This commit is contained in:
Hajime Hoshi 2020-10-07 02:05:01 +09:00
parent 426cb5948a
commit ee4ebaaa95
19 changed files with 1 additions and 22 deletions

View File

@ -708,7 +708,6 @@ func main() {
switch path {
case "internal/uidriver/glfw/keys.go":
buildTag = "// +build darwin freebsd linux windows" +
"\n// +build !js" +
"\n// +build !android" +
"\n// +build !ios"
}

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build dragonfly freebsd linux netbsd openbsd solaris
// +build !js
// +build !android
package devicescale

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build darwin
// +build !js
// +build !ios
package devicescale

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build dragonfly freebsd linux netbsd openbsd solaris
// +build !js
// +build !android
package devicescale

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build !windows
// +build !js
package glfw

View File

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !js
package glfw
type (

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build darwin freebsd linux windows
// +build !js
// +build !android
// +build !ios

View File

@ -12,9 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !android
// +build !js
// +build freebsd linux
// +build !android
package opengl

View File

@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
// +build !js
// +build !windows
package gl

View File

@ -1,7 +1,5 @@
// SPDX-License-Identifier: MIT
// +build !js
// Copyright (c) 2010 Khronos Group.
// This material may be distributed subject to the terms and conditions
// set forth in the Open Publication License, v 1.0, 8 June 1999.

View File

@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
// +build !js
// +build !windows
package gl

View File

@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
// +build !js
// +build freebsd linux
package gl

View File

@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
// +build !js
// +build !windows
// This file implements GlowGetProcAddress for every supported platform. The

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build freebsd linux windows ebitengl
// +build !js
package glfw

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build darwin freebsd linux windows
// +build !js
// +build !android
// +build !ios

View File

@ -15,7 +15,6 @@
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
// +build darwin freebsd linux windows
// +build !js
// +build !android
// +build !ios

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build darwin freebsd linux windows
// +build !js
// +build !android
// +build !ios

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build dragonfly freebsd linux netbsd openbsd solaris
// +build !js
// +build !android
package glfw

View File

@ -13,7 +13,6 @@
// limitations under the License.
// +build darwin freebsd linux windows
// +build !js
// +build !android
// +build !ios