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

View File

@ -12,7 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !js,!windows,!android
// +build darwin,!arm,!arm64 linux
// +build !js
// +build !android
// +build !ios
package driver

View File

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

View File

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

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build android darwin,arm darwin,arm64
// +build android ios darwin,arm darwin,arm64
package opengl

View File

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

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build android darwin,arm darwin,arm64
// +build android ios darwin,arm darwin,arm64
package ui

View File

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

View File

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

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build android darwin,arm darwin,arm64
// +build android ios darwin,arm darwin,arm64
package ui

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build android darwin,arm darwin,arm64
// +build android ios darwin,arm darwin,arm64
package mobile