Add FreeBSD support (#352)

This commit is contained in:
Hajime Hoshi 2017-05-11 19:09:13 +09:00
parent 64862929a9
commit b409631515
10 changed files with 10 additions and 9 deletions

View File

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

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build darwin linux windows
// +build darwin freebsd linux windows
// +build !android
// +build !ios

View File

@ -340,7 +340,7 @@ func main() {
buildTag := ""
switch path {
case "internal/ui/keys_glfw.go":
buildTag = "// +build darwin linux windows" +
buildTag = "// +build darwin freebsd linux windows" +
"\n// +build !js" +
"\n// +build !android" +
"\n// +build !ios"

View File

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

View File

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

View File

@ -14,7 +14,7 @@
// DO NOT EDIT: This file is auto-generated by genkeys.go.
// +build darwin linux windows
// +build darwin freebsd linux windows
// +build !js
// +build !android
// +build !ios

View File

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

View File

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

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build darwin linux windows
// +build darwin freebsd linux windows
// +build !android
// +build !ios

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build darwin linux windows
// +build darwin freebsd linux windows
// +build !android
// +build !ios