internal/glfw: rename files

Updates #2703
This commit is contained in:
Hajime Hoshi 2023-10-07 17:20:02 +09:00
parent a971e32ec1
commit aef7b0dd38
6 changed files with 6 additions and 6 deletions

View File

@ -874,7 +874,7 @@ func main() {
buildTag := "" buildTag := ""
switch path { switch path {
case filepath.Join("internal", "glfw", "keys.go"): case filepath.Join("internal", "glfw", "keys.go"):
buildTag = "//go:build !js" buildTag = "//go:build darwin || freebsd || linux || netbsd || openbsd || windows"
case filepath.Join("internal", "ui", "keys_mobile.go"): case filepath.Join("internal", "ui", "keys_mobile.go"):
buildTag = "//go:build android || ios" buildTag = "//go:build android || ios"
case filepath.Join("internal", "ui", "keys_glfw.go"): case filepath.Join("internal", "ui", "keys_glfw.go"):

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 !js && !windows //go:build darwin || freebsd || linux || netbsd || openbsd
package glfw package glfw

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 !js //go:build darwin || freebsd || linux || netbsd || openbsd || windows
package glfw package glfw

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 !windows && !js //go:build darwin || freebsd || linux || netbsd || openbsd
package glfw package glfw

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 !js //go:build darwin || freebsd || linux || netbsd || openbsd || windows
package glfw package glfw

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 !windows && !js //go:build darwin || freebsd || linux || netbsd || openbsd
package glfw package glfw