Fix for iOS

This commit is contained in:
Hajime Hoshi 2016-06-16 00:49:22 +09:00
parent 10ebe3274c
commit dfe4db67be
11 changed files with 15 additions and 8 deletions

View File

@ -12,8 +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.
// This is not used anywhere so far. I plan to use this for iOS. // +build ios darwin,arm darwin,arm64
// +build ignore
package driver package driver

View File

@ -12,7 +12,10 @@
// 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,!windows,!android // +build darwin,!arm,!arm64 linux
// +build !js
// +build !android
// +build !ios
package driver package driver

View File

@ -266,7 +266,8 @@ func main() {
case "internal/ui/keys_glfw.go": case "internal/ui/keys_glfw.go":
buildTag = `// +build darwin,!arm,!arm64 linux windows buildTag = `// +build darwin,!arm,!arm64 linux windows
// +build !js // +build !js
// +build !android` // +build !android
// +build !ios`
case "internal/ui/keys_js.go": case "internal/ui/keys_js.go":
buildTag = "// +build js" buildTag = "// +build js"
} }

View File

@ -15,6 +15,7 @@
// +build darwin,!arm,!arm64 linux windows // +build darwin,!arm,!arm64 linux windows
// +build !js // +build !js
// +build !android // +build !android
// +build !ios
package opengl package opengl

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.
// +build android darwin,arm darwin,arm64 // +build android ios darwin,arm darwin,arm64
package opengl package opengl

View File

@ -15,6 +15,7 @@
// +build darwin,!arm,!arm64 linux windows // +build darwin,!arm,!arm64 linux windows
// +build !js // +build !js
// +build !android // +build !android
// +build !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.
// +build android darwin,arm darwin,arm64 // +build android ios darwin,arm darwin,arm64
package ui package ui

View File

@ -17,6 +17,7 @@
// +build darwin,!arm,!arm64 linux windows // +build darwin,!arm,!arm64 linux windows
// +build !js // +build !js
// +build !android // +build !android
// +build !ios
package ui package ui

View File

@ -15,6 +15,7 @@
// +build darwin,!arm,!arm64 linux windows // +build darwin,!arm,!arm64 linux windows
// +build !js // +build !js
// +build !android // +build !android
// +build !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.
// +build android darwin,arm darwin,arm64 // +build android ios darwin,arm darwin,arm64
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.
// +build android darwin,arm darwin,arm64 // +build android ios darwin,arm darwin,arm64
package mobile package mobile