]> Cypherpunks repositories - gostls13.git/commitdiff
more tags for go/build
authorRuss Cox <rsc@golang.org>
Thu, 15 Dec 2011 18:35:59 +0000 (13:35 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 15 Dec 2011 18:35:59 +0000 (13:35 -0500)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5490047

src/cmd/godoc/appinit.go
src/pkg/exp/terminal/terminal.go
src/pkg/exp/terminal/terminal_test.go
src/pkg/exp/terminal/util.go
src/pkg/exp/winfsnotify/winfsnotify.go
src/pkg/exp/winfsnotify/winfsnotify_test.go
src/pkg/exp/wingui/Makefile
src/pkg/exp/wingui/gui.go
src/pkg/exp/wingui/winapi.go
src/pkg/exp/wingui/zwinapi.go

index 2b3f41e16018aa7b2e464acacf3df3217baac045..3113498c8413267fa633ac7e54ebf52898a39df5 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build ignore
+
 package main
 
 // This file replaces main.go when running godoc under app-engine.
index 18d76cd6b902769d709afc54dac26871c6918662..99def1b1dc4b4740745bf4cc7d63cf44da0bffbb 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build linux
+
 package terminal
 
 import "io"
index a2197210e2a8d4da5720b2c797afccd21156011d..75628f695e989e41fe5f6e8d48b24955f975dcfe 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build linux
+
 package terminal
 
 import (
index 5b5327f1025138198721db49a489990eede6bf1b..c11f08ee6630d2b8edd72b429b51282c7d298bc3 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build linux
+
 // Package terminal provides support functions for dealing with terminals, as
 // commonly found on UNIX systems.
 //
index d47ffd139216bc09abbbe5273b5768f4bac65f77..a6e3a6a8fb75e2428bda27cedda9dfd5bbe1d719 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build windows
+
 // Package winfsnotify allows the user to receive
 // file system event notifications on Windows.
 package winfsnotify
index b9c43d9c006705bb7a1efc1cd80973cdae455ff1..59ac1624a265c81b319f6eccb8a7cd420be11914 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build windows
+
 package winfsnotify
 
 import (
index 18fd30f3a667cbc003f1a027fc9ed3723d8d7330..bf69c98a5128cfd84c8d298205f1df367c128cc7 100644 (file)
@@ -18,6 +18,7 @@ GOFILES=\
 include ../../../Make.cmd
 
 zwinapi.go: winapi.go
-       $(GOROOT)/src/pkg/syscall/mksyscall_windows.pl $< \
+       (echo '// +build windows'; \
+       $(GOROOT)/src/pkg/syscall/mksyscall_windows.pl $<) \
                | gofmt \
                > $@
index d58421bcfa740665255de8113261bfdf310d331f..3b79873fa2bda394dda1456f83c074cbae980030 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build windows
+
 package main
 
 import (
index 24f3dd4d723e783d58d13fffd67d8c916b825d6c..f876088e91fc893dac2ea6b634301358aad0fbf6 100644 (file)
@@ -2,6 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build windows
+
 package main
 
 import (
index b062ca3372e1bdca2dd19bcd8c3d918970c757fb..5666c6de5308f95d424ea21f8f5fb2999e4e150b 100644 (file)
@@ -1,3 +1,4 @@
+// +build windows
 // mksyscall_windows.pl winapi.go
 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT