diff --git a/audio/internal/driver/driver_windows.go b/audio/internal/driver/driver_windows.go index 09b2972c5..1532f1314 100644 --- a/audio/internal/driver/driver_windows.go +++ b/audio/internal/driver/driver_windows.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !js + package driver // TODO: Use golang.org/x/sys/windows (NewLazyDLL) instead of cgo. diff --git a/internal/ui/hide_console_notwindows.go b/internal/ui/hide_console_notwindows.go index 0b645bc42..d5b3b81c7 100644 --- a/internal/ui/hide_console_notwindows.go +++ b/internal/ui/hide_console_notwindows.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build !windows js package ui diff --git a/internal/ui/hide_console_windows.go b/internal/ui/hide_console_windows.go index be741e09a..3adad555f 100644 --- a/internal/ui/hide_console_windows.go +++ b/internal/ui/hide_console_windows.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !js + package ui import (