From 2b194db8e7de7d499e200b9efd64ddfbabe05d8a Mon Sep 17 00:00:00 2001 From: Matt LaPlante Date: Fri, 30 Jul 2021 14:45:31 -0700 Subject: [PATCH] Adding build constraints for Windows libraries. PiperOrigin-RevId: 387886701 --- go/bitlocker/bitlocker.go | 2 ++ go/device/device.go | 2 ++ go/eventlog/eventlog.go | 2 ++ go/identity/identity.go | 2 ++ go/power/power.go | 2 ++ go/registry/registry.go | 2 ++ go/storage/storage.go | 2 ++ 7 files changed, 14 insertions(+) diff --git a/go/bitlocker/bitlocker.go b/go/bitlocker/bitlocker.go index 1556bc3..fa086ca 100644 --- a/go/bitlocker/bitlocker.go +++ b/go/bitlocker/bitlocker.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package bitlocker provides functionality for managing Bitlocker. package bitlocker diff --git a/go/device/device.go b/go/device/device.go index 19ea4ae..2c4406c 100644 --- a/go/device/device.go +++ b/go/device/device.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package device supports querying information about the local device. package device diff --git a/go/eventlog/eventlog.go b/go/eventlog/eventlog.go index 1cec112..5eca55f 100644 --- a/go/eventlog/eventlog.go +++ b/go/eventlog/eventlog.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package eventlog provides an interface to the Windows Event Log. package eventlog diff --git a/go/identity/identity.go b/go/identity/identity.go index 672d1cf..627de95 100644 --- a/go/identity/identity.go +++ b/go/identity/identity.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package identity provides helpers for managing host identity. package identity diff --git a/go/power/power.go b/go/power/power.go index 729954c..7976537 100644 --- a/go/power/power.go +++ b/go/power/power.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package power provides utilities for managing system power state. package power diff --git a/go/registry/registry.go b/go/registry/registry.go index 55acc84..afa347d 100644 --- a/go/registry/registry.go +++ b/go/registry/registry.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package registry provides registry interactions for Updater. package registry diff --git a/go/storage/storage.go b/go/storage/storage.go index 4cb6483..8024c0a 100644 --- a/go/storage/storage.go +++ b/go/storage/storage.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build windows + // Package storage provides storage management functionality. package storage