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 { switch path {
case "internal/uidriver/glfw/keys.go": case "internal/uidriver/glfw/keys.go":
buildTag = "// +build darwin freebsd linux windows" + buildTag = "// +build darwin freebsd linux windows" +
"\n// +build !js" +
"\n// +build !android" + "\n// +build !android" +
"\n// +build !ios" "\n// +build !ios"
} }

View File

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

View File

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

View File

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

View File

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

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.
// +build !js
package glfw package glfw
type ( type (

View File

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

View File

@ -12,9 +12,8 @@
// 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.
// +build !android
// +build !js
// +build freebsd linux // +build freebsd linux
// +build !android
package opengl package opengl

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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